Package com.xpn.xwiki.doc.rcs
Class XWikiRCSNodeContent
- java.lang.Object
-
- com.xpn.xwiki.util.AbstractSimpleClass
-
- com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent
-
- All Implemented Interfaces:
Comparable<XWikiRCSNodeContent>
public class XWikiRCSNodeContent extends AbstractSimpleClass implements Comparable<XWikiRCSNodeContent>
Contains differences between document versions. Mutable.- Since:
- 1.2M1
- Version:
- $Id: c835faa498667aafa6e5194988e1fd6cac5d0d9d $
-
-
Constructor Summary
Constructors Constructor Description XWikiRCSNodeContent()
default constructor used in Hibernate to load this class.XWikiRCSNodeContent(XWikiRCSNodeId id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(XWikiRCSNodeContent o)
XWikiRCSNodeId
getId()
XWikiPatch
getPatch()
void
setId(XWikiRCSNodeId id)
void
setPatch(XWikiPatch patch)
String
toString()
-
Methods inherited from class com.xpn.xwiki.util.AbstractSimpleClass
equals, hashCode
-
-
-
-
Constructor Detail
-
XWikiRCSNodeContent
public XWikiRCSNodeContent()
default constructor used in Hibernate to load this class.
-
XWikiRCSNodeContent
public XWikiRCSNodeContent(XWikiRCSNodeId id)
- Parameters:
id
- - primary key
-
-
Method Detail
-
getId
public XWikiRCSNodeId getId()
- Returns:
- primary key
-
setId
public void setId(XWikiRCSNodeId id)
- Parameters:
id
- = primary key
-
getPatch
public XWikiPatch getPatch()
- Returns:
- patch for this revision
- See Also:
XWikiPatch
-
setPatch
public void setPatch(XWikiPatch patch)
- Parameters:
patch
- - patch for this revision- See Also:
XWikiPatch
-
toString
public String toString()
- Overrides:
toString
in classAbstractSimpleClass
-
compareTo
public int compareTo(XWikiRCSNodeContent o)
- Specified by:
compareTo
in interfaceComparable<XWikiRCSNodeContent>
-
-