Class OptionRepresentation

All Implemented Interfaces:
ResourceRepresentation, org.svenson.DynamicProperties

public class OptionRepresentation extends AbstractExtensibleRepresentation
  • Constructor Details

    • OptionRepresentation

      public OptionRepresentation()
  • Method Details

    • asOptionRepresentation

      public static OptionRepresentation asOptionRepresentation(String category, String key, String value)
    • getCategory

      @JSONProperty(ignoreIfNull=true) public String getCategory()
    • setCategory

      public void setCategory(String category)
    • getKey

      @JSONProperty(ignoreIfNull=true) public String getKey()
    • setKey

      public void setKey(String key)
    • getValue

      @JSONProperty(ignoreIfNull=true) public String getValue()
    • setValue

      public void setValue(String value)
    • isTrue

      @JSONProperty(ignore=true) public boolean isTrue()
    • isFalse

      @JSONProperty(ignore=true) public boolean isFalse()
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object