| Constructor and Description |
|---|
ChildInfoImpl(Name name,
String uniqueId,
int index)
Creates a new serializable
ChildInfoImpl. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
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. |
int |
hashCode() |
String |
toString() |
public Name getName()
Node.public 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).public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object object)
equals in class ObjectObject.equals(Object)public String toString()
toString in class ObjectObject.toString()Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.