org.apache.jackrabbit.spi
Interface ItemInfo

All Known Subinterfaces:
NodeInfo, PropertyInfo
All Known Implementing Classes:
ItemInfoImpl, ItemInfoImpl, NodeInfoImpl, NodeInfoImpl, NodeInfoImpl, PropertyInfoImpl, PropertyInfoImpl, 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.
 ItemId getId()
           
 Path getPath()
          Returns the Path of the item represented by this ItemInfo.
 

Method Detail

getId

ItemId getId()
Returns:
identifier for the item that is based on this info object. the id can either be an absolute path or a uniqueID (+ relative path).
See Also:
RepositoryService.getNodeInfo(SessionInfo, NodeId)

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-2010 The Apache Software Foundation. All Rights Reserved.