org.apache.jackrabbit.core.id
Interface ItemId

All Superinterfaces:
Serializable
All Known Implementing Classes:
NodeId, PropertyId

public interface ItemId
extends Serializable

Node or property identifier. All content items in a Jackrabbit repository have an identifier that uniquely identifies the item in a workspace.

This interface is implemented by both the concrete node and property identifier classes in order to allow client code to determine whether an identifier refers to a node or a property.


Method Summary
 boolean denotesNode()
          Checks whether this identifier denotes a node item.
 

Method Detail

denotesNode

boolean denotesNode()
Checks whether this identifier denotes a node item.

Returns:
true if this identifier denotes a node, false if a property
See Also:
PropertyId, NodeId


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