com.atlassian.confluence.content
Class ContentProperty

java.lang.Object
  extended by com.atlassian.confluence.content.ContentProperty
All Implemented Interfaces:
java.io.Serializable

public class ContentProperty
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ContentProperty()
           
ContentProperty(ContentProperty contentProperty)
          Copy constructor.
 
Method Summary
 CustomContentEntityObject getContent()
          Deprecated. since 5.6 use getContentEntity() instead.
 ContentEntityObject getContentEntity()
           
 java.util.Date getDateValue()
           
 long getId()
           
 java.lang.Long getLongValue()
           
 java.lang.String getName()
           
 java.lang.String getStringValue()
           
 void setContent(CustomContentEntityObject content)
          Deprecated. since 5.6 use setContentEntity(com.atlassian.confluence.core.ContentEntityObject) instead.
 void setContentEntity(ContentEntityObject content)
           
 void setDateValue(java.util.Date dateValue)
           
 void setId(long id)
           
 void setLongValue(java.lang.Long longValue)
           
 void setName(java.lang.String name)
           
 void setStringValue(java.lang.String stringValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 java.lang.String getName()

setName

public void setName(java.lang.String name)

getStringValue

public java.lang.String getStringValue()

setStringValue

public void setStringValue(java.lang.String stringValue)

getLongValue

public java.lang.Long getLongValue()

setLongValue

public void setLongValue(java.lang.Long longValue)

getDateValue

public java.util.Date getDateValue()

setDateValue

public void setDateValue(java.util.Date dateValue)

getContent

@Deprecated
public CustomContentEntityObject getContent()
Deprecated. since 5.6 use getContentEntity() instead.


getContentEntity

public ContentEntityObject getContentEntity()

setContent

@Deprecated
public void setContent(CustomContentEntityObject content)
Deprecated. since 5.6 use setContentEntity(com.atlassian.confluence.core.ContentEntityObject) instead.


setContentEntity

public void setContentEntity(ContentEntityObject content)


Copyright © 2003-2014 Atlassian. All Rights Reserved.