Class ContentLanguage
java.lang.Object
com.gentics.contentnode.rest.model.ContentLanguage
- All Implemented Interfaces:
Serializable
Rest Model of a content language
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Language codeGlobal IDgetId()
Language IDgetName()
Language nameSet the language codesetGlobalId
(String globalId) Set the global IDSet the language IDSet the language name
-
Field Details
-
id
ID -
globalId
Global ID -
code
Name -
name
Code
-
-
Constructor Details
-
ContentLanguage
public ContentLanguage()Create empty instance
-
-
Method Details
-
getId
Language ID- Returns:
- ID
-
setId
Set the language ID- Parameters:
id
- ID- Returns:
- fluent API
-
getGlobalId
Global ID- Returns:
- global ID
-
setGlobalId
Set the global ID- Parameters:
globalId
- global ID- Returns:
- fluent API
-
getCode
Language code- Returns:
- code
-
setCode
Set the language code- Parameters:
code
- code- Returns:
- fluent API
-
getName
Language name- Returns:
- name
-
setName
Set the language name- Parameters:
name
- name- Returns:
- fluent API
-