|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.spi2davex.ChildInfoImpl
public class ChildInfoImpl
ChildInfoImpl...
| Constructor Summary | |
|---|---|
ChildInfoImpl(Name name,
String uniqueId,
int index)
Creates a new serializable ChildInfoImpl. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ChildInfoImpl(Name name,
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 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.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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||