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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SelectOption()
Constructor used by JAXB
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Integer
getId()
IDString
getKey()
KeyString
getValue()
Valueint
hashCode()
SelectOption
setId(Integer id)
SelectOption
setKey(String key)
SelectOption
setValue(String value)
-
-
-
Method Detail
-
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
-
-