Class Tag
java.lang.Object
com.gentics.contentnode.rest.model.Tag
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ObjectTag
,TemplateTag
Tag object representing a contenttag in the GCN
- Author:
- norbert
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTrue when the tag is activeEmbedded constructConstruct IDgetId()
IDgetName()
NameTag propertiesgetType()
Tag typevoid
void
setConstruct
(Construct construct) Set constructvoid
setConstructId
(Integer constructId) void
void
void
setProperties
(Map<String, Property> properties) void
Set the tag typetoString()
-
Constructor Details
-
Tag
public Tag()Constructor used by JAXB
-
-
Method Details
-
getId
ID- Returns:
- the id
-
getName
Name- Returns:
- the name
-
getConstructId
Construct ID- Returns:
- the constructId
-
getConstruct
Embedded construct- Returns:
- construct
-
getActive
True when the tag is active- Returns:
- the active
-
getProperties
Tag properties- Returns:
- the properties
-
getType
Tag type- Returns:
- tag type
-
setId
- Parameters:
id
- the id to set
-
setName
- Parameters:
name
- the name to set
-
setConstructId
- Parameters:
constructId
- the constructId to set
-
setConstruct
Set construct- Parameters:
construct
- construct
-
setActive
- Parameters:
active
- the active to set
-
setProperties
- Parameters:
properties
- the properties to set
-
setType
Set the tag type- Parameters:
type
- tag type
-
toString
-