Class JDOCollection
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected Collectioncollprotected Classeltype-
Fields inherited from interface net.ontopia.persistence.query.jdo.JDOValueIF
COLLECTION, FIELD, FUNCTION, NATIVE_VALUE, NULL, OBJECT, PARAMETER, PRIMITIVE, STRING, VARIABLE
-
-
Constructor Summary
Constructors Constructor Description JDOCollection(Collection coll, Class eltype)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ClassgetElementType()intgetType()INTERNAL: Returns the type of JDO value indicated by one of the constants in theJDOValueIFinterface.CollectiongetValue()ClassgetValueType()inthashCode()StringtoString()voidvisit(JDOVisitorIF visitor)INTERNAL: Allows the value to be visited.
-
-
-
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:JDOValueIFINTERNAL: Returns the type of JDO value indicated by one of the constants in theJDOValueIFinterface.- Specified by:
getTypein interfaceJDOValueIF
-
getValueType
public Class getValueType()
-
getElementType
public Class getElementType()
-
getValue
public Collection getValue()
-
visit
public void visit(JDOVisitorIF visitor)
Description copied from interface:JDOValueIFINTERNAL: Allows the value to be visited. This method is used for retrieval of nested data in expressions.- Specified by:
visitin interfaceJDOValueIF
-
-