Class Property

java.lang.Object
com.gentics.contentnode.rest.model.Property
All Implemented Interfaces:
Serializable

public class Property extends Object implements Serializable
Property object, representing a property of a Tag (a part of a tag in GCN)
Author:
norbert
See Also:
  • Constructor Details

    • Property

      public Property()
      Constructor of the property object
  • Method Details

    • getType

      public Property.Type getType()
      Property Type
      Returns:
      the type
    • getStringValue

      public String getStringValue()
      String value
      Returns:
      the stringValue
    • getBooleanValue

      public Boolean getBooleanValue()
      Boolean value
      Returns:
      the booleanValue
    • getFileId

      public Integer getFileId()
      File ID
      Returns:
      the fileId
    • getImageId

      public Integer getImageId()
      Image ID
      Returns:
      the imageId
    • getFolderId

      public Integer getFolderId()
      Folder ID
      Returns:
      the folderId
    • getPageId

      public Integer getPageId()
      Page ID
      Returns:
      the pageId
    • getFormId

      public Integer getFormId()
      Form ID
      Returns:
      the formId
    • getStringValues

      public List<String> getStringValues()
      String values
      Returns:
      the stringValues
    • getOptions

      public List<SelectOption> getOptions()
      Possible options
      Returns:
      the options
    • getSelectedOptions

      public List<SelectOption> getSelectedOptions()
      Selected options
      Returns:
      the selectedOptions
    • getDatasourceId

      public Integer getDatasourceId()
      Datasource ID
      Returns:
      the ID of the com.gentics.contentnode.object.Datasource
    • getOverview

      public Overview getOverview()
      Overview
      Returns:
      the overview
    • setType

      public void setType(Property.Type type)
      Parameters:
      type - the type to set
    • setStringValue

      public void setStringValue(String stringValue)
      Parameters:
      stringValue - the stringValue to set
    • setBooleanValue

      public void setBooleanValue(Boolean booleanValue)
      Parameters:
      booleanValue - the booleanValue to set
    • setFileId

      public void setFileId(Integer fileId)
      Parameters:
      fileId - the fileId to set
    • setImageId

      public void setImageId(Integer imageId)
      Parameters:
      imageId - the imageId to set
    • setFolderId

      public void setFolderId(Integer folderId)
      Parameters:
      folderId - the folderId to set
    • setPageId

      public void setPageId(Integer pageId)
      Parameters:
      pageId - the pageId to set
    • setFormId

      public void setFormId(Integer formId)
      Parameters:
      formId - the formId to set
    • setStringValues

      public void setStringValues(List<String> stringValues)
      Parameters:
      stringValues - the stringValues to set
    • setOptions

      public void setOptions(List<SelectOption> options)
      Parameters:
      options - the options to set
    • setSelectedOptions

      public void setSelectedOptions(List<SelectOption> selectedOptions)
      Parameters:
      selectedOptions - the selectedOptions to set
    • setDatasourceId

      public void setDatasourceId(Integer datasourceId)
      Parameters:
      the - ID of the com.gentics.contentnode.object.Datasource
    • setOverview

      public void setOverview(Overview overview)
      Parameters:
      overview - the overview to set
    • getTemplateId

      public Integer getTemplateId()
      Template ID
      Returns:
      the templateId
    • getContentTagId

      public Integer getContentTagId()
      ContentTag ID
      Returns:
      the contentTagId
    • getTemplateTagId

      public Integer getTemplateTagId()
      TemplateTag ID
      Returns:
      the templateTagId
    • setTemplateId

      public void setTemplateId(Integer templateId)
      Parameters:
      templateId - the templateId to set
    • setContentTagId

      public void setContentTagId(Integer contentTagId)
      Parameters:
      contentTagId - the contentTagId to set
    • setTemplateTagId

      public void setTemplateTagId(Integer templateTagId)
      Parameters:
      templateTagId - the templateTagId to set
    • getNodeId

      public Integer getNodeId()
      Get the node ID.
      Returns:
      The node ID.
    • setNodeId

      public void setNodeId(Integer nodeId)
      Set the node ID.
      Parameters:
      nodeId - The node ID to set.
    • getPartId

      public Integer getPartId()
      Get the part id
      Returns:
      part id
    • setPartId

      public void setPartId(Integer partId)
      Set the part id
      Parameters:
      partId - part id
    • getId

      public Integer getId()
      Local ID
      Returns:
      property id
    • setId

      public void setId(Integer id)
      Set the property id
      Parameters:
      id - id
    • getGlobalId

      public String getGlobalId()
      Global ID
      Returns:
      global ID
    • setGlobalId

      public void setGlobalId(String globalId)
      Set the global ID
      Parameters:
      globalId - global ID