net.ontopia.persistence.query.jdo
Class JDOCollection

java.lang.Object
  extended by net.ontopia.persistence.query.jdo.JDOCollection
All Implemented Interfaces:
JDOValueIF

public class JDOCollection
extends Object
implements JDOValueIF

INTERNAL: JDOQL value: collection. Class used to represent collections of object instances.


Field Summary
protected  Collection coll
           
protected  Class eltype
           
 
Fields inherited from interface net.ontopia.persistence.query.jdo.JDOValueIF
COLLECTION, FIELD, FUNCTION, NATIVE_VALUE, NULL, OBJECT, PARAMETER, PRIMITIVE, STRING, VARIABLE
 
Constructor Summary
JDOCollection(Collection coll, Class eltype)
           
 
Method Summary
 boolean equals(Object obj)
           
 Class getElementType()
           
 int getType()
          INTERNAL: Returns the type of JDO value indicated by one of the constants in the JDOValueIF interface.
 Collection getValue()
           
 Class getValueType()
           
 int hashCode()
           
 String toString()
           
 void visit(JDOVisitorIF visitor)
          INTERNAL: Allows the value to be visited.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

coll

protected Collection coll

eltype

protected Class eltype
Constructor Detail

JDOCollection

public JDOCollection(Collection coll,
                     Class eltype)
Method Detail

getType

public int getType()
Description copied from interface: JDOValueIF
INTERNAL: Returns the type of JDO value indicated by one of the constants in the JDOValueIF interface.

Specified by:
getType in interface JDOValueIF

getValueType

public Class getValueType()

getElementType

public Class getElementType()

getValue

public Collection getValue()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object

visit

public void visit(JDOVisitorIF visitor)
Description copied from interface: JDOValueIF
INTERNAL: Allows the value to be visited. This method is used for retrieval of nested data in expressions.

Specified by:
visit in interface JDOValueIF


Copyright © 2000-2012 Ontopia.