Class ConstructCategory
- java.lang.Object
-
- com.gentics.contentnode.rest.model.ConstructCategory
-
public class ConstructCategory extends Object
Construct Category
-
-
Constructor Summary
Constructors Constructor Description ConstructCategory()
ConstructCategory(String name)
Creates a construct category with the given name
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConstruct(String name, Construct construct)
Adds the construct with the given name to the map of constructs of this categoryMap<String,Construct>
getConstructs()
Map of constructs for this categoryString
getGlobalId()
Global IDInteger
getId()
Internal ID of the object property categoryString
getName()
Name of this construct categoryMap<String,String>
getNameI18n()
Integer
getSortOrder()
void
setConstructs(Map<String,Construct> constructs)
Sets the map with constructs for this categoryConstructCategory
setGlobalId(String globalId)
Set the global IDConstructCategory
setId(Integer id)
Set the IDvoid
setName(String name)
Sets the name of this construct categoryConstructCategory
setName(String name, String language)
ConstructCategory
setNameI18n(Map<String,String> i18nName)
ConstructCategory
setSortOrder(Integer sortOrder)
-
-
-
Constructor Detail
-
ConstructCategory
public ConstructCategory()
-
ConstructCategory
public ConstructCategory(String name)
Creates a construct category with the given name- Parameters:
name
-
-
-
Method Detail
-
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
-
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)
-
-