com.gentics.contentnode.rest.model
Class ConstructCategory

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

public class ConstructCategory
extends Object

Construct Category


Constructor Summary
ConstructCategory()
           
ConstructCategory(String name)
          Creates a construct category with the given name
 
Method Summary
 void addConstruct(String name, Construct construct)
          Adds the construct with the given name to the map of constructs of this category
 Map<String,Construct> getConstructs()
          Map of constructs for this category
 String getName()
          Name of this construct category
 boolean isVisibleInMenu()
          True if the construct category shall be visible in the menu, false if not
 void setConstructs(Map<String,Construct> constructs)
          Sets the map with constructs for this category
 void setName(String name)
          Sets the name of this construct category
 void setVisibleInMenu(boolean visibleInMenu)
          Set whether the construct category shall be visible in the menu
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 -

isVisibleInMenu

public boolean isVisibleInMenu()
True if the construct category shall be visible in the menu, false if not

Returns:
true for visible construct categories, false for hidden

setVisibleInMenu

public void setVisibleInMenu(boolean visibleInMenu)
Set whether the construct category shall be visible in the menu

Parameters:
visibleInMenu - true for visible, false for hidden

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 -


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.