|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.spi.commons.ChildInfoImpl
public class ChildInfoImpl
ChildInfoImpl implements a serializable ChildInfo.
| Constructor Summary | |
|---|---|
ChildInfoImpl(Name name,
java.lang.String uniqueId,
int index)
Creates a new serializable ChildInfoImpl. |
|
| Method Summary | |
|---|---|
int |
getIndex()
Returns the index of the child Node. |
Name |
getName()
Returns the name of the child Node. |
java.lang.String |
getUniqueID()
Returns the uniqueID of the child Node or null
if the Node is not identified by a uniqueID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChildInfoImpl(Name name,
java.lang.String uniqueId,
int index)
ChildInfoImpl.
name - the name of the child node.uniqueId - the unique id of the child node or null.index - the index of the child node.| Method Detail |
|---|
public Name getName()
Node.
getName in interface ChildInfoNode.public java.lang.String getUniqueID()
Node or null
if the Node is not identified by a uniqueID.
getUniqueID in interface ChildInfoNode or null.ItemId for a description of the uniqueID defined by the SPI
item identifiers.public int getIndex()
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).
getIndex in interface ChildInfoNode.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||