Interface ItemId

All Superinterfaces:
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


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

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.