Class UILanguage

java.lang.Object
com.gentics.contentnode.rest.model.UILanguage
All Implemented Interfaces:
Serializable

public class UILanguage extends Object implements Serializable
REST Model for UI languages
See Also:
  • Constructor Details

    • UILanguage

      public UILanguage()
  • Method Details

    • getCode

      public String getCode()
      Language Code. This also serves as ID of the language
      Returns:
      language code
    • setCode

      public UILanguage setCode(String code)
      Set the language code
      Parameters:
      code - code
      Returns:
      fluent API
    • getName

      public String getName()
      Language name (in its own language)
      Returns:
      name
    • setName

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