org.apache.jackrabbit.spi.commons
Class ChildInfoImpl

java.lang.Object
  extended by org.apache.jackrabbit.spi.commons.ChildInfoImpl
All Implemented Interfaces:
Serializable, org.apache.jackrabbit.spi.ChildInfo

public class ChildInfoImpl
extends Object
implements org.apache.jackrabbit.spi.ChildInfo, Serializable

ChildInfoImpl implements a serializable ChildInfo.

See Also:
Serialized Form

Constructor Summary
ChildInfoImpl(org.apache.jackrabbit.spi.Name name, String uniqueId, int index)
          Creates a new serializable ChildInfoImpl.
 
Method Summary
 int getIndex()
          
 org.apache.jackrabbit.spi.Name getName()
          
 String getUniqueID()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildInfoImpl

public ChildInfoImpl(org.apache.jackrabbit.spi.Name name,
                     String uniqueId,
                     int index)
Creates a new serializable ChildInfoImpl.

Parameters:
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

getName

public org.apache.jackrabbit.spi.Name getName()

Specified by:
getName in interface org.apache.jackrabbit.spi.ChildInfo

getUniqueID

public String getUniqueID()

Specified by:
getUniqueID in interface org.apache.jackrabbit.spi.ChildInfo

getIndex

public int getIndex()

Specified by:
getIndex in interface org.apache.jackrabbit.spi.ChildInfo


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.