com.gentics.contentnode.rest.model
Class Tag

java.lang.Object
  extended by com.gentics.contentnode.rest.model.Tag
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
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
static class Tag.Type
          Possible tag types
 
Constructor Summary
Tag()
          Constructor used by JAXB
 
Method Summary
 Boolean getActive()
          True when the tag is active
 Integer getConstructId()
          Construct ID
 Integer getId()
          ID
 String getName()
          Name
 Map<String,Property> getProperties()
          Tag properties
 Tag.Type getType()
          Tag type
 void setActive(Boolean active)
           
 void 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 type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tag

public Tag()
Constructor used by JAXB

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

getActive

public Boolean getActive()
True when the tag is active

Returns:
the active

getProperties

public Map<String,Property> getProperties()
Tag properties

Returns:
the properties

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

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


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.