Class PreferenceMO

java.lang.Object
org.openwms.core.preferences.api.messages.PreferenceMO
All Implemented Interfaces:
Serializable

public class PreferenceMO extends Object implements Serializable
A PreferenceMO.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • pKey

      private String pKey
      The persistent key of the resource.
    • key

      @NotBlank private @NotBlank String key
      The unique business key (along other identifying properties) of the resource, must not be null.
    • owner

      private String owner
      The owner of the resource.
    • description

      private String description
      A descriptive text of the Preference.
    • val

      private Serializable val
      The value of the Preference.
    • groupName

      private String groupName
      The name of the group the Preference is assigned to.
    • type

      private String type
      The type of the Preference.
  • Constructor Details

    • PreferenceMO

      PreferenceMO()
    • PreferenceMO

      public PreferenceMO(String key)
  • 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 Serializable getVal()
    • getOptionalVal

      public Optional<Serializable> getOptionalVal()
    • setVal

      public void setVal(Serializable val)
    • getGroupName

      public String getGroupName()
    • setGroupName

      public void setGroupName(String groupName)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • equals

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

      public int hashCode()
      All fields.
      Overrides:
      hashCode in class Object