net.ontopia.topicmaps.impl.rdbms
Class ParameterArray

java.lang.Object
  extended by net.ontopia.topicmaps.impl.rdbms.ParameterArray
All Implemented Interfaces:
Externalizable, Serializable

public class ParameterArray
extends Object
implements Externalizable

INTERNAL: Object wrapper class for query parameter array. This wrapper class is purely used to make it possible to use arrays as map keys.

See Also:
Serialized Form

Field Summary
protected  Object[] params
           
 
Constructor Summary
ParameterArray()
           
ParameterArray(Object[] params)
           
 
Method Summary
 Object clone()
           
 boolean equals(Object other)
           
 Object[] getArray()
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

params

protected Object[] params
Constructor Detail

ParameterArray

public ParameterArray()

ParameterArray

public ParameterArray(Object[] params)
Method Detail

getArray

public Object[] getArray()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

clone

public Object clone()
Overrides:
clone in class Object


Copyright © 2000-2012 Ontopia.