|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.logic.LogicTransform
public class LogicTransform
LogicTransform is internal representation of the transformation applied to the LogicCriteria
Example:
count()
will apply the Count
operator and return the total number of Result
instead of the Result itself
first(2)
will apply the First
operator and return the first two Result
out of the entire Result
Constructor Summary | |
---|---|
LogicTransform(Operator transformOperator)
|
|
LogicTransform(Operator transformOperator,
java.lang.Integer numResults)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Integer |
getNumResults()
Get number of Result object should be returned by the current criteria. |
java.lang.String |
getSortColumn()
|
Operator |
getTransformOperator()
Get the TransformOperator in this LogicTransform object |
int |
hashCode()
|
void |
setNumResults(java.lang.Integer numResults)
Set number of Result object should be returned by the current criteria. |
void |
setSortColumn(java.lang.String sortColumn)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LogicTransform(Operator transformOperator, java.lang.Integer numResults)
public LogicTransform(Operator transformOperator)
Method Detail |
---|
public Operator getTransformOperator()
TransformOperator
in this LogicTransform object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Integer getNumResults()
Result
object should be returned by the current criteria. First
and Last
public java.lang.String getSortColumn()
public void setNumResults(java.lang.Integer numResults)
Result
object should be returned by the current criteria. First
and Last
numResults
- the total Result expected from this criteriapublic void setSortColumn(java.lang.String sortColumn)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |