Class Datasource
java.lang.Object
com.gentics.contentnode.rest.model.Datasource
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DatasourceInPackage
REST Model of a datasource
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGlobal IDgetId()
Internal IDgetName()
NamegetType()
Datasource typesetGlobalId
(String globalId) Set the global IDSet the internal IDSet the namesetType
(DatasourceType type) Set the type
-
Constructor Details
-
Datasource
public Datasource()Create empty instance
-
-
Method Details
-
getId
Internal ID- Returns:
- internal ID
-
setId
Set the internal ID- Parameters:
id
- ID- Returns:
- fluent API
-
getGlobalId
Global ID- Returns:
- global ID
-
setGlobalId
Set the global ID- Parameters:
globalId
-- Returns:
- fluent API
-
getType
Datasource type- Returns:
- type
-
setType
Set the type- Parameters:
type
- type- Returns:
- fluent API
-
getName
Name- Returns:
- name
-
setName
Set the name- Parameters:
name
- name- Returns:
- fluent API
-