com.gentics.contentnode.rest.model
Class Property

java.lang.Object
  extended by 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:
Serialized Form

Nested Class Summary
static class Property.Type
          Enumeration of property types
 
Constructor Summary
Property()
          Constructor of the property object
 
Method Summary
 Boolean getBooleanValue()
          Boolean value
 Integer getContentTagId()
          ContentTag ID
 Integer getDatasourceId()
          Datasource ID
 Integer getFileId()
          File ID
 Integer getFolderId()
          Folder ID
 Integer getImageId()
          Image ID
 List<SelectOption> getOptions()
          Possible options
 Overview getOverview()
          Overview
 Integer getPageId()
          Page ID
 List<SelectOption> getSelectedOptions()
          Selected options
 String getStringValue()
          String value
 List<String> getStringValues()
          String values
 Integer getTemplateId()
          Template ID
 Integer getTemplateTagId()
          TemplateTag ID
 Property.Type getType()
          Property Type
 void setBooleanValue(Boolean booleanValue)
           
 void setContentTagId(Integer contentTagId)
           
 void setDatasourceId(Integer datasourceId)
           
 void setFileId(Integer fileId)
           
 void setFolderId(Integer folderId)
           
 void setImageId(Integer imageId)
           
 void setOptions(List<SelectOption> options)
           
 void setOverview(Overview overview)
           
 void setPageId(Integer pageId)
           
 void setSelectedOptions(List<SelectOption> selectedOptions)
           
 void setStringValue(String stringValue)
           
 void setStringValues(List<String> stringValues)
           
 void setTemplateId(Integer templateId)
           
 void setTemplateTagId(Integer templateTagId)
           
 void setType(Property.Type type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property

public Property()
Constructor of the property object

Method Detail

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

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

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


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.