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:
  • Constructor Details

    • DatasourceEntryModel

      public DatasourceEntryModel()
  • Method Details

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object