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 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
Constructors Constructor Description JDOCollection(Collection coll, Class eltype)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Class
getElementType()
int
getType()
INTERNAL: Returns the type of JDO value indicated by one of the constants in theJDOValueIF
interface.Collection
getValue()
Class
getValueType()
int
hashCode()
String
toString()
void
visit(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:JDOValueIF
INTERNAL: Returns the type of JDO value indicated by one of the constants in theJDOValueIF
interface.- Specified by:
getType
in interfaceJDOValueIF
-
getValueType
public Class getValueType()
-
getElementType
public Class getElementType()
-
getValue
public Collection getValue()
-
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 interfaceJDOValueIF
-
-