com.atlassian.confluence.core
Class BodyContent
java.lang.Object
com.atlassian.confluence.core.BodyContent
- All Implemented Interfaces:
- Serializable, Cloneable
public class BodyContent
- extends Object
- implements Cloneable, Serializable
- See Also:
- Serialized Form
BodyContent
public BodyContent()
BodyContent
public BodyContent(BodyContent orig)
BodyContent
public BodyContent(ContentEntityObject content,
String body,
BodyType bodyType)
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