Class Preference

java.lang.Object
org.openwms.core.preferences.Preference
All Implemented Interfaces:
Serializable

public class Preference extends Object implements Serializable
A Preference is the persistence-agnostic domain model representing a configuration preference.
Author:
Heiko Scherrer
See Also:
  • Field Details

  • Constructor Details

    • Preference

      public Preference()
    • Preference

      private Preference(Preference.Builder builder)
  • Method Details

    • getPKey

      public String getPKey()
    • setPKey

      public void setPKey(String pKey)
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • getOwner

      public String getOwner()
    • setOwner

      public void setOwner(String owner)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getVal

      public String getVal()
    • setVal

      public void setVal(String val)
    • getDefValue

      public String getDefValue()
    • setDefValue

      public void setDefValue(String defValue)
    • getMinValue

      public String getMinValue()
    • setMinValue

      public void setMinValue(String minValue)
    • getMaxValue

      public String getMaxValue()
    • setMaxValue

      public void setMaxValue(String maxValue)
    • getGroupName

      public String getGroupName()
    • setGroupName

      public void setGroupName(String groupName)
    • getScope

      public PropertyScope getScope()
    • setScope

      public void setScope(PropertyScope scope)
    • getType

      public PreferenceType getType()
    • setType

      public void setType(PreferenceType type)
    • isFromFile

      public boolean isFromFile()
    • setFromFile

      public void setFromFile(boolean fromFile)
    • getLastModifiedDt

      public LocalDateTime getLastModifiedDt()
    • setLastModifiedDt

      public void setLastModifiedDt(LocalDateTime lastModifiedDt)
    • getPrefKey

      public PreferenceKey getPrefKey()
    • getPersistentKey

      public String getPersistentKey()
    • hasPersistentKey

      public boolean hasPersistentKey()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • newBuilder

      public static Preference.Builder newBuilder()