net.ontopia.persistence.query.jdo
Class JDOAggregate

java.lang.Object
  extended by net.ontopia.persistence.query.jdo.JDOAggregate
All Implemented Interfaces:
JDOAggregateIF

public class JDOAggregate
extends java.lang.Object
implements JDOAggregateIF

INTERNAL: JDOQL aggregate function.


Field Summary
protected  int type
           
protected  JDOValueIF value
           
 
Fields inherited from interface net.ontopia.persistence.query.jdo.JDOAggregateIF
COUNT
 
Constructor Summary
JDOAggregate(JDOValueIF value, int type)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getType()
          INTERNAL: Returns the aggregate function type indicated by one of the constants in the JDOAggregateIF interface.
 JDOValueIF getValue()
          INTERNAL: Returns the JDOValueIF that the aggregate function is to be evaluated against.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 the JDOAggregateIF interface.

Specified by:
getType in interface JDOAggregateIF

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 interface JDOAggregateIF

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


Copyright © 2000-2012 Ontopia.