Package org.apache.jackrabbit.spi
Interface ChildInfo
-
- All Known Implementing Classes:
ChildInfoImpl
public interface ChildInfo
ChildInfo
...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getIndex()
Returns the index of the childNode
.Name
getName()
Returns the name of the childNode
.java.lang.String
getUniqueID()
Returns the uniqueID of the childNode
ornull
if the Node is not identified by a uniqueID.
-
-
-
Method Detail
-
getName
Name getName()
Returns the name of the childNode
.- Returns:
- The name of the child
Node
.
-
getUniqueID
java.lang.String getUniqueID()
Returns the uniqueID of the childNode
ornull
if the Node is not identified by a uniqueID.- Returns:
- The uniqueID of the child
Node
ornull
. - See Also:
ItemId for a description of the uniqueID defined by the SPI item identifiers.
-
getIndex
int getIndex()
Returns the index of the childNode
. Note, that the index is 1-based. In other words: theNode
represented by thisChildInfo
has same name siblings this method will always return the default value (1).- Returns:
- Returns the index of the child
Node
.
-
-