Class DatasourceEntryModel
- java.lang.Object
-
- com.gentics.contentnode.rest.model.DatasourceEntryModel
-
- All Implemented Interfaces:
Serializable
public class DatasourceEntryModel extends Object implements Serializable
REST Model of a datasource entry- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatasourceEntryModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getDsId()
Entry IDString
getGlobalId()
Global IDInteger
getId()
Local IDString
getKey()
Entry keyString
getValue()
Entry valueDatasourceEntryModel
setDsId(Integer dsId)
Set the entry IDDatasourceEntryModel
setGlobalId(String globalId)
Set the global IDDatasourceEntryModel
setId(Integer id)
Set the local IDDatasourceEntryModel
setKey(String key)
Set the entry keyDatasourceEntryModel
setValue(String value)
Set the entry valueString
toString()
-
-
-
Method Detail
-
getId
public Integer getId()
Local ID- Returns:
- ID
-
setId
public DatasourceEntryModel setId(Integer id)
Set the local ID- Parameters:
id
- ID- Returns:
- fluent API
-
getGlobalId
public String getGlobalId()
Global ID- Returns:
- global ID
-
setGlobalId
public DatasourceEntryModel setGlobalId(String globalId)
Set the global ID- Parameters:
globalId
- ID- Returns:
- fluent API
-
getDsId
public Integer getDsId()
Entry ID- Returns:
- entry ID
-
setDsId
public DatasourceEntryModel setDsId(Integer dsId)
Set the entry ID- Parameters:
dsId
- entry ID- Returns:
- fluent API
-
getKey
public String getKey()
Entry key- Returns:
- key
-
setKey
public DatasourceEntryModel setKey(String key)
Set the entry key- Parameters:
key
- key- Returns:
- fluent API
-
getValue
public String getValue()
Entry value- Returns:
- value
-
setValue
public DatasourceEntryModel setValue(String value)
Set the entry value- Parameters:
value
- value- Returns:
- fluent API
-
-