com.atlassian.confluence.core
Class BodyContent

java.lang.Object
  extended by com.atlassian.confluence.core.BodyContent
All Implemented Interfaces:
Serializable, Cloneable

public class BodyContent
extends Object
implements Cloneable, Serializable

See Also:
Serialized Form

Constructor Summary
BodyContent()
           
BodyContent(BodyContent orig)
           
BodyContent(ContentEntityObject content, String body, BodyType bodyType)
           
 
Method Summary
 Object clone()
           
 boolean equals(Object o)
           
 String getBody()
           
 BodyType getBodyType()
           
 ContentEntityObject getContent()
           
 long getId()
           
 int hashCode()
           
 void setBody(String body)
           
 void setBodyType(BodyType bodyType)
           
 void setContent(ContentEntityObject content)
           
 void setId(long id)
           
 void shallowCopy(BodyContent orig)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyContent

public BodyContent()

BodyContent

public BodyContent(BodyContent orig)

BodyContent

public BodyContent(ContentEntityObject content,
                   String body,
                   BodyType bodyType)
Method Detail

shallowCopy

public void shallowCopy(BodyContent orig)

getBody

public String getBody()

setBody

public void setBody(String body)

getBodyType

public BodyType getBodyType()

setBodyType

public void setBodyType(BodyType bodyType)

getId

public long getId()

setId

public void setId(long id)

getContent

public ContentEntityObject getContent()

setContent

public void setContent(ContentEntityObject content)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException


Copyright © 2003-2013 Atlassian. All Rights Reserved.