|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 ChildInfo
Node
.public String getUniqueID()
Node
or null
if the Node is not identified by a uniqueID.
getUniqueID
in interface ChildInfo
Node
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 ChildInfo
Node
.public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object object)
equals
in class Object
Object.equals(Object)
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |