org.exolab.castor.persist.spi
Class Identity

java.lang.Object
  extended by org.exolab.castor.persist.spi.Identity
All Implemented Interfaces:
Serializable

public final class Identity
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Identity(Object o)
          Creates an instance of this class, based upon the parameter passed in.
Identity(Object[] array)
           
Identity(Object o1, Object o2)
           
 
Method Summary
 boolean equals(Object other)
           
 Object get(int i)
           
 int hashCode()
           
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Identity

public Identity(Object o)
Creates an instance of this class, based upon the parameter passed in.

Parameters:
o - Either a Complex, an Identity instance, or an Object[] instance.

Identity

public Identity(Object[] array)

Identity

public Identity(Object o1,
                Object o2)
Method Detail

size

public int size()

get

public Object get(int i)

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.