com.gentics.contentnode.rest.model
Class Construct

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

public class Construct
extends java.lang.Object

Construct


Constructor Summary
Construct()
           
 
Method Summary
 java.lang.String getCategory()
          Category name of the construct
 int getCategorySortorder()
          Order for the category that was set
 int getCdate()
          Creation Date of the construct
 java.lang.Integer getConstructId()
          Deprecated. use getId() instead
 User getCreator()
          Creator of the construct
 java.lang.String getDescription()
          Description of this construct
 int getEdate()
          Last Edit Date of the construct
 java.lang.Integer getEditdo()
          Edit do
 User getEditor()
          Last Editor of the construct
 java.lang.String getIcon()
          Icon of this construct
 java.lang.Integer getId()
          ID of this construct
 java.lang.String getKeyword()
          Keyword for this construct
 boolean getMayBeSubTag()
          Whether a tag of this construct may be inserted/nested in other tags
 boolean getMayContainSubtags()
          Whether this construct may contain other tags.
 java.lang.String getName()
          Name of this construct
 java.util.List<Part> getParts()
          Parts of the construct
 boolean isVisibleInMenu()
          True if the construct shall be visible in the menu, false if not
 void setCategory(java.lang.String category)
          Set the category
 void setCategorySortorder(int categorySortorder)
          Set the order of the category
 void setCdate(int cdate)
           
 void setConstructId(java.lang.Integer constructId)
          Deprecated. use setId() instead
 void setCreator(User creator)
           
 void setDescription(java.lang.String description)
          Set the description
 void setEdate(int edate)
           
 void setEditdo(java.lang.Integer editdo)
          Set the edit do
 void setEditor(User editor)
           
 void setIcon(java.lang.String icon)
          Sets the icon for this construct
 void setId(java.lang.Integer id)
          Set the id of this construct
 void setKeyword(java.lang.String keyword)
          Sets the keyword for this construct
 void setMayBeSubtag(boolean value)
          Sets whether a tag of this construct may be a nested in another tag.
 void setMayContainSubtags(boolean value)
          Sets whether this construct may contain other tags.
 void setName(java.lang.String name)
          Sets the name for this construct
 void setParts(java.util.List<Part> parts)
          Set the parts
 void setVisibleInMenu(boolean visibleInMenu)
          Set whether the construct 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

Construct

public Construct()
Method Detail

getKeyword

public java.lang.String getKeyword()
Keyword for this construct

Returns:
keyword

setKeyword

public void setKeyword(java.lang.String keyword)
Sets the keyword for this construct


setIcon

public void setIcon(java.lang.String icon)
Sets the icon for this construct

Parameters:
icon -

setName

public void setName(java.lang.String name)
Sets the name for this construct

Parameters:
name -

getMayBeSubTag

public boolean getMayBeSubTag()
Whether a tag of this construct may be inserted/nested in other tags

Returns:

setMayBeSubtag

public void setMayBeSubtag(boolean value)
Sets whether a tag of this construct may be a nested in another tag.

Parameters:
value -

getMayContainSubtags

public boolean getMayContainSubtags()
Whether this construct may contain other tags.

Returns:

setMayContainSubtags

public void setMayContainSubtags(boolean value)
Sets whether this construct may contain other tags. This means tags can be inserted into a tag from this construct

Parameters:
value -

setDescription

public void setDescription(java.lang.String description)
Set the description

Parameters:
description -

setConstructId

public void setConstructId(java.lang.Integer constructId)
Deprecated. use setId() instead

Sets the constructId for this construct

Parameters:
constructId -

getConstructId

public java.lang.Integer getConstructId()
Deprecated. use getId() instead

Construct id of this construct

Returns:

getId

public java.lang.Integer getId()
ID of this construct

Returns:
id

setId

public void setId(java.lang.Integer id)
Set the id of this construct

Parameters:
id - id

getName

public java.lang.String getName()
Name of this construct

Returns:

getDescription

public java.lang.String getDescription()
Description of this construct

Returns:
description

getIcon

public java.lang.String getIcon()
Icon of this construct

Returns:

getCreator

public User getCreator()
Creator of the construct

Returns:
the creator

getCdate

public int getCdate()
Creation Date of the construct

Returns:
the cdate

getEditor

public User getEditor()
Last Editor of the construct

Returns:
the editor

getEdate

public int getEdate()
Last Edit Date of the construct

Returns:
the edate

setCreator

public void setCreator(User creator)
Parameters:
creator - the creator to set

setCdate

public void setCdate(int cdate)
Parameters:
cdate - the cdate to set

setEditor

public void setEditor(User editor)
Parameters:
editor - the editor to set

setEdate

public void setEdate(int edate)
Parameters:
edate - the edate to set

getEditdo

public java.lang.Integer getEditdo()
Edit do

Returns:
edit do

setEditdo

public void setEditdo(java.lang.Integer editdo)
Set the edit do

Parameters:
editdo - edit do

getCategory

public java.lang.String getCategory()
Category name of the construct

Returns:
category

setCategory

public void setCategory(java.lang.String category)
Set the category

Parameters:
category - category

getCategorySortorder

public int getCategorySortorder()
Order for the category that was set

Returns:

setCategorySortorder

public void setCategorySortorder(int categorySortorder)
Set the order of the category

Parameters:
categorySortorder -

getParts

public java.util.List<Part> getParts()
Parts of the construct

Returns:
parts

setParts

public void setParts(java.util.List<Part> parts)
Set the parts

Parameters:
parts - parts

isVisibleInMenu

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

Returns:
true for visible constructs, false for hidden

setVisibleInMenu

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

Parameters:
visibleInMenu - true for visible, false for hidden


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.