net.ontopia.persistence.query.jdo
Class JDOCollection
java.lang.Object
net.ontopia.persistence.query.jdo.JDOCollection
- All Implemented Interfaces:
- JDOValueIF
public class JDOCollection
- extends java.lang.Object
- implements JDOValueIF
INTERNAL: JDOQL value: collection. Class used to represent
collections of object instances.
Field Summary |
protected java.util.Collection |
coll
|
protected java.lang.Class |
eltype
|
Constructor Summary |
JDOCollection(java.util.Collection coll,
java.lang.Class eltype)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
coll
protected java.util.Collection coll
eltype
protected java.lang.Class eltype
JDOCollection
public JDOCollection(java.util.Collection coll,
java.lang.Class eltype)
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 java.lang.Class getValueType()
getElementType
public java.lang.Class getElementType()
getValue
public java.util.Collection getValue()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.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.