Class PreferenceKey

java.lang.Object
org.openwms.core.preferences.impl.file.PreferenceKey
All Implemented Interfaces:
Serializable

public class PreferenceKey extends Object implements Serializable
A PreferenceKey can be used as a unique key object to group preference instances. Unfortunately this class cannot be implemented as a JPA embeddable, because of JPA does not support inheritance of embeddables.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • fields

      private String[] fields
  • Constructor Details

    • PreferenceKey

      public PreferenceKey(String... fields)
      Create a new PreferenceKey with a variable array of fields.
      Parameters:
      fields - The array of fields to store as keys
  • Method Details