org.apache.jackrabbit.spi
Interface ChildInfo

All Known Implementing Classes:
ChildInfoImpl, ChildInfoImpl

public interface ChildInfo

ChildInfo...


Method Summary
 int getIndex()
          Returns the index of the child Node.
 Name getName()
          Returns the name of the child Node.
 String getUniqueID()
          Returns the uniqueID of the child Node or null if the Node is not identified by a uniqueID.
 

Method Detail

getName

Name getName()
Returns the name of the child Node.

Returns:
The name of the child Node.

getUniqueID

String getUniqueID()
Returns the uniqueID of the child Node or null if the Node is not identified by a uniqueID.

Returns:
The uniqueID of the child Node or null.
See Also:
ItemId for a description of the uniqueID defined by the SPI item identifiers.

getIndex

int getIndex()
Returns the index of the child Node. Note, that the index is 1-based. In other words: the Node represented by this ChildInfo has same name siblings this method will always return the default value (1).

Returns:
Returns the index of the child Node.


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