Version object wraps an nt:version node. It * provides convenient access to version information. * * @author Markus Nix * @package phpcr * @subpackage version */ interface Version extends Node { /** * Returns the VersionHistory that contains this Version. * @return the VersionHistory that contains this Version. * @throws RepositoryException if an error occurs. */ public function getContainingHistory(); /** * Returns the date this version was created. This corresponds to the value * of the jcr:created property in the nt:version * node that represents this version. * * @return date * @throws RepositoryException if an error occurs. */ public function getCreated(); /** * Returns the successor versions of this version. This corresponds to * returning all the nt:version nodes referenced by the * jcr:successors multi-value property in the * nt:version node that represents this version. * * @return a Version array. * @throws RepositoryException if an error occurs. */ public function getSuccessors(); /** * Returns the predecessor versions of this version. This corresponds to * returning all the nt:version nodes whose * jcr:successors property includes a reference to the * nt:version node that represents this version. * * @return a Version array. * @throws RepositoryException if an error occurs. */ public function getPredecessors(); } ?>