Class Datasource

java.lang.Object
com.gentics.contentnode.rest.model.Datasource
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DatasourceInPackage

public class Datasource extends Object implements Serializable
REST Model of a datasource
See Also:
  • Constructor Details

    • Datasource

      public Datasource()
      Create empty instance
  • Method Details

    • getId

      public Integer getId()
      Internal ID
      Returns:
      internal ID
    • setId

      public Datasource setId(Integer id)
      Set the internal ID
      Parameters:
      id - ID
      Returns:
      fluent API
    • getGlobalId

      public String getGlobalId()
      Global ID
      Returns:
      global ID
    • setGlobalId

      public Datasource setGlobalId(String globalId)
      Set the global ID
      Parameters:
      globalId -
      Returns:
      fluent API
    • getType

      public DatasourceType getType()
      Datasource type
      Returns:
      type
    • setType

      public Datasource setType(DatasourceType type)
      Set the type
      Parameters:
      type - type
      Returns:
      fluent API
    • getName

      public String getName()
      Name
      Returns:
      name
    • setName

      public Datasource setName(String name)
      Set the name
      Parameters:
      name - name
      Returns:
      fluent API