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

    • id

      protected Integer id
      ID
    • globalId

      protected String globalId
      Global ID
    • code

      protected String code
      Name
    • name

      protected String name
      Code
  • Constructor Details

    • ContentLanguage

      public ContentLanguage()
      Create empty instance
  • Method Details

    • 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