org.apache.jackrabbit.spi
Interface ItemInfo

All Known Subinterfaces:
NodeInfo, PropertyInfo
All Known Implementing Classes:
ItemInfoImpl, NodeInfoImpl, PropertyInfoImpl

public interface ItemInfo

The ItemInfo is the base interface of NodeInfo and PropertyInfo.


Method Summary
 boolean denotesNode()
          Returns true if this ItemInfo denotes a node, false otherwise.
 Name getName()
          Returns the qualified representation of the item name.
 NodeId getParentId()
          Returns the id of the parent NodeInfo.
 Path getPath()
          Returns the Path of the item represented by this ItemInfo.
 

Method Detail

getParentId

NodeId getParentId()
Returns the id of the parent NodeInfo.

Returns:
the id of the parent item info.

getName

Name getName()
Returns the qualified representation of the item name. For the root node expected return value is {""}"".

Returns:
the qualified representation of the item name.

denotesNode

boolean denotesNode()
Returns true if this ItemInfo denotes a node, false otherwise.

Returns:
true if this ItemInfo denotes a node, false otherwise.

getPath

Path getPath()
Returns the Path of the item represented by this ItemInfo.

Returns:
the Path of the item represented by this item info.


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