Class SelectOption

java.lang.Object
com.gentics.contentnode.rest.model.SelectOption
All Implemented Interfaces:
Serializable

public class SelectOption extends Object implements Serializable
SelectOption object representing a datasource value in GCN
Author:
norbert
See Also:
  • Constructor Details

    • SelectOption

      public SelectOption()
      Constructor used by JAXB
  • Method Details

    • getId

      public Integer getId()
      ID
      Returns:
      the id
    • getKey

      public String getKey()
      Key
      Returns:
      the key
    • getValue

      public String getValue()
      Value
      Returns:
      the value
    • setId

      public SelectOption setId(Integer id)
      Parameters:
      id - the id to set
      Returns:
      fluent API
    • setKey

      public SelectOption setKey(String key)
      Parameters:
      key - the key to set
      Returns:
      fluent API
    • setValue

      public SelectOption setValue(String value)
      Parameters:
      value - the value to set
      Returns:
      fluent API
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object