Class Tag
- java.lang.Object
-
- com.gentics.contentnode.rest.model.Tag
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ObjectTag
,TemplateTag
public class Tag extends Object implements Serializable
Tag object representing a contenttag in the GCN- Author:
- norbert
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Tag.Type
Possible tag types
-
Constructor Summary
Constructors Constructor Description Tag()
Constructor used by JAXB
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getActive()
True when the tag is activeConstruct
getConstruct()
Embedded constructInteger
getConstructId()
Construct IDInteger
getId()
IDString
getName()
NameMap<String,Property>
getProperties()
Tag propertiesTag.Type
getType()
Tag typevoid
setActive(Boolean active)
void
setConstruct(Construct construct)
Set constructvoid
setConstructId(Integer constructId)
void
setId(Integer id)
void
setName(String name)
void
setProperties(Map<String,Property> properties)
void
setType(Tag.Type type)
Set the tag typeString
toString()
-
-
-
Method Detail
-
getId
public Integer getId()
ID- Returns:
- the id
-
getName
public String getName()
Name- Returns:
- the name
-
getConstructId
public Integer getConstructId()
Construct ID- Returns:
- the constructId
-
getConstruct
public Construct getConstruct()
Embedded construct- Returns:
- construct
-
getActive
public Boolean getActive()
True when the tag is active- Returns:
- the active
-
getType
public Tag.Type getType()
Tag type- Returns:
- tag type
-
setId
public void setId(Integer id)
- Parameters:
id
- the id to set
-
setName
public void setName(String name)
- Parameters:
name
- the name to set
-
setConstructId
public void setConstructId(Integer constructId)
- Parameters:
constructId
- the constructId to set
-
setConstruct
public void setConstruct(Construct construct)
Set construct- Parameters:
construct
- construct
-
setActive
public void setActive(Boolean active)
- Parameters:
active
- the active to set
-
setProperties
public void setProperties(Map<String,Property> properties)
- Parameters:
properties
- the properties to set
-
setType
public void setType(Tag.Type type)
Set the tag type- Parameters:
type
- tag type
-
-