org.apache.jackrabbit.core.version
Class VersionHistoryInfo

java.lang.Object
  extended by org.apache.jackrabbit.core.version.VersionHistoryInfo

public class VersionHistoryInfo
extends Object

Simple data object that carries the identifiers of a version history node and the related root version node.

Since:
Apache Jackrabbit 1.5
See Also:
JCR-1775

Constructor Summary
VersionHistoryInfo(NodeId versionHistoryId, NodeId rootVersionId)
          Creates an object that carries the given version history information.
 
Method Summary
 NodeId getRootVersionId()
          Returns the identifier of the root version node.
 NodeId getVersionHistoryId()
          Returns the identifier of the version history node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionHistoryInfo

public VersionHistoryInfo(NodeId versionHistoryId,
                          NodeId rootVersionId)
Creates an object that carries the given version history information.

Parameters:
versionHistoryId - identifier of the version history node
rootVersionId - identifier of the root version node
Method Detail

getVersionHistoryId

public NodeId getVersionHistoryId()
Returns the identifier of the version history node.


getRootVersionId

public NodeId getRootVersionId()
Returns the identifier of the root version node.



Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.