org.nodal.model
Interface NodeVersion

All Superinterfaces:
Node

public interface NodeVersion
extends Node

A version of a Node. All contents of these interface instances are uneditable. Created on Oct 20, 2003

Author:
leei

Nested Class Summary
static interface NodeVersion.Iterator
          Created on Oct 20, 2003
 
Method Summary
 NodeVersion newerVersion()
          The next newer version of this Node or null if most recent.
 NodeVersion olderVersion()
          The next older version of this Node or null if the creator.
 Timestamp timestamp()
          The Timestamp of this version of the Node.
 Txn txn()
          The transaction that created this version of the Node.
 User user()
          The User that modifed this Node to produce this version.
 
Methods inherited from interface org.nodal.model.Node
asAnchor, asMapNode, asRecordNode, asSequenceNode, bareNode, capability, content, edit, editMap, editRecord, editSequence, history, id, path, repository, type
 

Method Detail

user

public User user()
The User that modifed this Node to produce this version. Can also be accessed by examining the Attribution of the txn().

Returns:
the User that created this version

timestamp

public Timestamp timestamp()
The Timestamp of this version of the Node. Can also be accessed by examining the Attribution of the txn().

Returns:
the Timestamp of this version of the Node.

txn

public Txn txn()
The transaction that created this version of the Node.

Returns:
the Txn that created this version.

newerVersion

public NodeVersion newerVersion()
The next newer version of this Node or null if most recent.

Returns:
the next newer NodeVersion for this Node or null.

olderVersion

public NodeVersion olderVersion()
The next older version of this Node or null if the creator.

Returns:
the next older NodeVersion for this Node or null.