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.
 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 © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.