|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.persistence.query.sql.SQLAggregateReference
public class SQLAggregateReference
INTERNAL: Represents a set of columns from a given table. The columns are grouped for a reason. Columns are often used as join criteria.
Field Summary | |
---|---|
protected java.lang.String |
alias
|
protected SQLAggregateIF |
refagg
|
Fields inherited from interface net.ontopia.persistence.query.sql.SQLAggregateIF |
---|
COUNT |
Constructor Summary | |
---|---|
SQLAggregateReference(SQLAggregateIF refagg)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAlias()
INTERNAL: The column alias to use if this value is included in the projection. |
SQLAggregateIF |
getReference()
INTERNAL: Returns the referenced aggregate if one exists. |
int |
getType()
INTERNAL: Returns the aggregate function type indicated by one of the constants in the SQLAggregateIF interface. |
SQLValueIF |
getValue()
INTERNAL: Returns the SQLValueIF that the aggregate function is to be evaluated against. |
int |
hashCode()
|
boolean |
isReference()
INTERNAL: Returns true if this aggregate is a reference to another. |
void |
setAlias(java.lang.String alias)
INTERNAL: Sets the column alias. |
void |
setValue(SQLValueIF value)
INTERNAL: Sets the SQLValueIF that the aggregate function is to be evaluated against. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String alias
protected SQLAggregateIF refagg
Constructor Detail |
---|
public SQLAggregateReference(SQLAggregateIF refagg)
Method Detail |
---|
public int getType()
SQLAggregateIF
SQLAggregateIF
interface.
getType
in interface SQLAggregateIF
public SQLValueIF getValue()
SQLAggregateIF
getValue
in interface SQLAggregateIF
public void setValue(SQLValueIF value)
SQLAggregateIF
setValue
in interface SQLAggregateIF
public java.lang.String getAlias()
SQLAggregateIF
getAlias
in interface SQLAggregateIF
public void setAlias(java.lang.String alias)
SQLAggregateIF
setAlias
in interface SQLAggregateIF
public boolean isReference()
SQLAggregateIF
isReference
in interface SQLAggregateIF
public SQLAggregateIF getReference()
SQLAggregateIF
getReference
in interface SQLAggregateIF
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |