Class JDOAggregate
- java.lang.Object
-
- net.ontopia.persistence.query.jdo.JDOAggregate
-
- All Implemented Interfaces:
JDOAggregateIF
public class JDOAggregate extends Object implements JDOAggregateIF
INTERNAL: JDOQL aggregate function.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
type
protected JDOValueIF
value
-
Fields inherited from interface net.ontopia.persistence.query.jdo.JDOAggregateIF
COUNT
-
-
Constructor Summary
Constructors Constructor Description JDOAggregate(JDOValueIF value, int type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getType()
INTERNAL: Returns the aggregate function type indicated by one of the constants in theJDOAggregateIF
interface.JDOValueIF
getValue()
INTERNAL: Returns the JDOValueIF that the aggregate function is to be evaluated against.int
hashCode()
String
toString()
-
-
-
Field Detail
-
type
protected int type
-
value
protected JDOValueIF value
-
-
Constructor Detail
-
JDOAggregate
public JDOAggregate(JDOValueIF value, int type)
-
-
Method Detail
-
getType
public int getType()
Description copied from interface:JDOAggregateIF
INTERNAL: Returns the aggregate function type indicated by one of the constants in theJDOAggregateIF
interface.- Specified by:
getType
in interfaceJDOAggregateIF
-
getValue
public JDOValueIF getValue()
Description copied from interface:JDOAggregateIF
INTERNAL: Returns the JDOValueIF that the aggregate function is to be evaluated against.- Specified by:
getValue
in interfaceJDOAggregateIF
-
-