A B C D E F G I L M N O Q R S T

A

And - class query.And.
This class is a wrapper for and operator ( & ).
And(Operator, Operator) - Constructor for class query.And
creates new instance of And.

B

BOOLEAN - Static variable in class query.DataType
 
booleanFixedData - Variable in class query.RelationalOperator
 

C

CHAR - Static variable in class query.DataType
 
compare(Object) - Method in class query.RelationalOperator
Compares this object with the specified object for order.

D

DOUBLE - Static variable in class query.DataType
 
DataType - class query.DataType.
 

E

Equals - class query.Equals.
This class is a wrapper for equals operator ( == ).
Equals(String, Comparable) - Constructor for class query.Equals
creates a new Equals object.
Equals(String, boolean) - Constructor for class query.Equals
creates a new Equals object.

F

FLOAT - Static variable in class query.DataType
 
fieldName - Variable in class query.RelationalOperator
 
filter(Operator) - Method in class query.QueryList
filters QueryList which contains only those beans which satisfies the operator condition.
fixedData - Variable in class query.RelationalOperator
 

G

GreaterThan - class query.GreaterThan.
This class is a wrapper for greater than operator ( > ).
GreaterThan(String, Comparable) - Constructor for class query.GreaterThan
creates a new GreaterThan object.
getClass(String) - Static method in class query.DataType
 
getResult(Object) - Method in class query.And
returs true if both the operators return true as result, else returns false.
getResult(Object) - Method in class query.Equals
returns true if the field of the object is equal to the Comparable object/boolean data, else returns false.
getResult(Object) - Method in class query.GreaterThan
returns true if the field of the object is greater than the Comparable object, else returns false.
getResult(Object) - Method in class query.LesserThan
rreturs true if the field of the CoeusBean object is lesser than the Comparable object, else returns false.
getResult(Object) - Method in class query.NotEquals
returns true if the field of the object is not equal to the Comparable object/boolean data, else returns false.
getResult(Object) - Method in interface query.Operator
true if operation succeeds, else return false.
getResult(Object) - Method in class query.Or
returs true if any one of the operators return true as result, else returns false.

I

INT - Static variable in class query.DataType
 
isBoolean - Variable in class query.RelationalOperator
 

L

LesserThan - class query.LesserThan.
This class is a wrapper for lesser than operator ( < ).
LesserThan(String, Comparable) - Constructor for class query.LesserThan
creates new instance of LesserThan.
LogicalOperator - class query.LogicalOperator.
implements Operator and holds left hand and right hand values which are instances of Opertors(Since Logical Operators operate on two Relational, Logical Operators).
LogicalOperator(Operator, Operator) - Constructor for class query.LogicalOperator
 
lhsOperator - Variable in class query.LogicalOperator
holds left hand Operator.

M

main(String[]) - Static method in class query.DataType
 

N

NotEquals - class query.NotEquals.
This class is a wrapper for equals operator ( != ).
NotEquals(String, Comparable) - Constructor for class query.NotEquals
creates a new NotEquals object.
NotEquals(String, boolean) - Constructor for class query.NotEquals
creates a new NotEquals object.

O

Operator - interface query.Operator.
The Operator interface should be implemented by any class whose instances are intended to be executed as an Operator.
Or - class query.Or.
This class is a wrapper for or operator ( || ).
Or(Operator, Operator) - Constructor for class query.Or
creates new instance of Or

Q

QueryList - class query.QueryList.
This class extends ArrayList and contains methods to sort and filter.
QueryList() - Constructor for class query.QueryList
 
query - package query
 

R

RelationalOperator - class query.RelationalOperator.
 
RelationalOperator(String, Comparable) - Constructor for class query.RelationalOperator
 
RelationalOperator(String, boolean) - Constructor for class query.RelationalOperator
 
rhsOperator - Variable in class query.LogicalOperator
holds right hand operator.

S

sort(String) - Method in class query.QueryList
Overridden method for sorting.
sort(String, boolean) - Method in class query.QueryList
sorts the QueryList by the fieldName in ascending or descending order.
sort(String, boolean, boolean) - Method in class query.QueryList
sorts the QueryList by the fieldName in ascending or descending order.
sort(String[], boolean) - Method in class query.QueryList
sorts the QueryList by the fieldNames in ascending or descending order.
sort(String[], boolean[]) - Method in class query.QueryList
sorts the QueryList by the fieldNames in ascending or descending order.
sum(String) - Method in class query.QueryList
calculates the sum of the field in this QueryList.
sum(String, Class, Object) - Method in class query.QueryList
calculates the sum of the field in this QueryList.
sum(String, Operator) - Method in class query.QueryList
calculates the sum of the field in this QueryList.

T

toString() - Method in class query.And
returns the logical AND condition being checked using left-hand operator(lhsOperator) and right-hand operator(rhsOperator)
toString() - Method in class query.Equals
returns the equality condition being checked using fieldName and fixedData
toString() - Method in class query.GreaterThan
returns the greater than condition being checked using fieldName and fixedData
toString() - Method in class query.LesserThan
returns the lesser than condition being checked using fieldName and fixedData
toString() - Method in class query.NotEquals
returns the inequality condition being checked using fieldName and fixedData
toString() - Method in class query.Or
returns the logical OR condition being checked using left-hand operator(lhsOperator) and right-hand operator(rhsOperator)
toString() - Method in class query.QueryList
Overridden method of super class, java.util.ArrayList.

A B C D E F G I L M N O Q R S T