org.apache.jackrabbit.core
Class ItemId

java.lang.Object
  extended byorg.apache.jackrabbit.core.ItemId
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NodeId, PropertyId

public abstract class ItemId
extends Object
implements Serializable

ItemId serves as the base class for the concrete classes PropertyId and NodeId who uniquely identify nodes and properties in a workspace.

See Also:
Serialized Form

Constructor Summary
ItemId()
           
 
Method Summary
abstract  boolean denotesNode()
          Returns true if this id denotes a Node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemId

public ItemId()
Method Detail

denotesNode

public abstract boolean denotesNode()
Returns true if this id denotes a Node.

Returns:
true if this id denotes a Node, false if it denotes a Property
See Also:
PropertyId, NodeId


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