Class ConstructCategory

java.lang.Object
com.gentics.contentnode.rest.model.ConstructCategory

public class ConstructCategory extends Object
Construct Category
  • Constructor Details

    • ConstructCategory

      public ConstructCategory()
    • ConstructCategory

      public ConstructCategory(String name)
      Creates a construct category with the given name
      Parameters:
      name -
  • Method Details

    • getName

      public String getName()
      Name of this construct category
      Returns:
    • setName

      public void setName(String name)
      Sets the name of this construct category
      Parameters:
      name -
    • addConstruct

      public void addConstruct(String name, Construct construct)
      Adds the construct with the given name to the map of constructs of this category
      Parameters:
      name -
      construct -
    • getConstructs

      public Map<String,Construct> getConstructs()
      Map of constructs for this category
      Returns:
    • setConstructs

      public void setConstructs(Map<String,Construct> constructs)
      Sets the map with constructs for this category
      Parameters:
      constructs -
    • getId

      public Integer getId()
      Internal ID of the object property category
      Returns:
      ID
    • setId

      public ConstructCategory setId(Integer id)
      Set the ID
      Parameters:
      id - ID
      Returns:
      fluent API
    • getGlobalId

      public String getGlobalId()
      Global ID
      Returns:
      global ID
    • setGlobalId

      public ConstructCategory setGlobalId(String globalId)
      Set the global ID
      Parameters:
      globalId - global ID
      Returns:
      fluent API
    • getNameI18n

      public Map<String,String> getNameI18n()
    • setNameI18n

      public ConstructCategory setNameI18n(Map<String,String> i18nName)
    • setName

      public ConstructCategory setName(String name, String language)
    • getSortOrder

      public Integer getSortOrder()
    • setSortOrder

      public ConstructCategory setSortOrder(Integer sortOrder)