Class ContentLanguage
- java.lang.Object
-
- com.gentics.contentnode.rest.model.ContentLanguage
-
- All Implemented Interfaces:
Serializable
public class ContentLanguage extends Object implements Serializable
Rest Model of a content language- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentLanguage()
Create empty instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
Language codeString
getGlobalId()
Global IDInteger
getId()
Language IDString
getName()
Language nameContentLanguage
setCode(String code)
Set the language codeContentLanguage
setGlobalId(String globalId)
Set the global IDContentLanguage
setId(Integer id)
Set the language IDContentLanguage
setName(String name)
Set the language name
-
-
-
Method Detail
-
getId
public Integer getId()
Language ID- Returns:
- ID
-
setId
public ContentLanguage setId(Integer id)
Set the language ID- Parameters:
id
- ID- Returns:
- fluent API
-
getGlobalId
public String getGlobalId()
Global ID- Returns:
- global ID
-
setGlobalId
public ContentLanguage setGlobalId(String globalId)
Set the global ID- Parameters:
globalId
- global ID- Returns:
- fluent API
-
getCode
public String getCode()
Language code- Returns:
- code
-
setCode
public ContentLanguage setCode(String code)
Set the language code- Parameters:
code
- code- Returns:
- fluent API
-
getName
public String getName()
Language name- Returns:
- name
-
setName
public ContentLanguage setName(String name)
Set the language name- Parameters:
name
- name- Returns:
- fluent API
-
-