Class TemplateTag
java.lang.Object
com.gentics.contentnode.rest.model.Tag
com.gentics.contentnode.rest.model.TemplateTag
- All Implemented Interfaces:
Serializable
Tag object representing a templaetag in the GCN
- Author:
- johannes
- See Also:
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the flag that defines whether the tag is editable in page or notGet the flag that defines whether the tag is mandatory or notvoid
setEditableInPage
(Boolean editableInPage) Set the editable in page flag for this template tagvoid
setMandatory
(Boolean mandatory) Set the mandatory flag for this template tagMethods inherited from class com.gentics.contentnode.rest.model.Tag
getActive, getConstruct, getConstructId, getId, getName, getProperties, getType, setActive, setConstruct, setConstructId, setId, setName, setProperties, setType, toString
-
Constructor Details
-
TemplateTag
public TemplateTag()
-
-
Method Details
-
getMandatory
Get the flag that defines whether the tag is mandatory or not- Returns:
-
setMandatory
Set the mandatory flag for this template tag- Parameters:
Flag
- that defines whether the tag is mandatory
-
getEditableInPage
Get the flag that defines whether the tag is editable in page or not- Returns:
-
setEditableInPage
Set the editable in page flag for this template tag- Parameters:
Flag
- that defines whether the tag is editable in page
-