Package com.atlassian.confluence.content
Class ContentProperty
- java.lang.Object
 - 
- com.atlassian.confluence.content.ContentProperty
 
 
- 
- All Implemented Interfaces:
 Serializable
public class ContentProperty extends Object implements Serializable
- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ContentProperty()ContentProperty(ContentProperty contentProperty)Copy constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentEntityObjectgetContentEntity()DategetDateValue()longgetId()LonggetLongValue()StringgetName()StringgetStringValue()voidsetContentEntity(ContentEntityObject content)voidsetDateValue(Date dateValue)voidsetId(long id)voidsetLongValue(Long longValue)voidsetName(String name)voidsetStringValue(String stringValue) 
 - 
 
- 
- 
Constructor Detail
- 
ContentProperty
public ContentProperty()
 
- 
ContentProperty
public ContentProperty(ContentProperty contentProperty)
Copy constructor. Throws away hibernate association, including the association back to the parent content, which should be re-added by any save cascade. In other news, Hibernate is dumb.- Parameters:
 contentProperty- the property to copy.
 
 - 
 
- 
Method Detail
- 
getId
public long getId()
 
- 
setId
public void setId(long id)
 
- 
getName
public String getName()
 
- 
setName
public void setName(String name)
 
- 
getStringValue
public String getStringValue()
 
- 
setStringValue
public void setStringValue(String stringValue)
 
- 
getLongValue
public Long getLongValue()
 
- 
setLongValue
public void setLongValue(Long longValue)
 
- 
getDateValue
public Date getDateValue()
 
- 
setDateValue
public void setDateValue(Date dateValue)
 
- 
getContentEntity
public ContentEntityObject getContentEntity()
 
- 
setContentEntity
public void setContentEntity(ContentEntityObject content)
 
 - 
 
 -