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:
  • Constructor Details

    • Tag

      public Tag()
      Constructor used by JAXB
  • Method Details

    • 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
    • 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
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object