Class ChildInfoImpl
java.lang.Object
org.apache.jackrabbit.spi.commons.ChildInfoImpl
- All Implemented Interfaces:
Serializable,ChildInfo
ChildInfoImpl implements a serializable ChildInfo.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionChildInfoImpl(Name name, String uniqueId, int index) Creates a new serializableChildInfoImpl. -
Method Summary
-
Constructor Details
-
ChildInfoImpl
Creates a new serializableChildInfoImpl.- Parameters:
name- the name of the child node.uniqueId- the unique id of the child node ornull.index- the index of the child node.
-
-
Method Details
-
getName
Returns the name of the childNode. -
getUniqueID
Returns the uniqueID of the childNodeornullif the Node is not identified by a uniqueID.- Specified by:
getUniqueIDin interfaceChildInfo- Returns:
- The uniqueID of the child
Nodeornull. - See Also:
-
getIndex
public int getIndex()Returns the index of the childNode. Note, that the index is 1-based. In other words: theNoderepresented by thisChildInfohas same name siblings this method will always return the default value (1).
-