public abstract class OrderedQueryExpression extends SimpleQueryExpression
OrderedQueryExpression
class is the base class for all dynamic
query expressions that perform direct binary operator comparisons on profile
attributes values where the type of the profile attribute type exhibits a notion
of total order.Modifier | Constructor and Description |
---|---|
protected |
OrderedQueryExpression(String attrName,
Object attrValue,
QueryCollator collator)
Create an
OrderedQueryExpression for the attribute with the
specified name and value. |
getAttributeName, getAttributeValue, getCollator, getRelation, toString
toString
protected OrderedQueryExpression(String attrName, Object attrValue, QueryCollator collator) throws NullPointerException
OrderedQueryExpression
for the attribute with the
specified name and value. An optional query collator may also be specified
if the type of the attribute being compared is java.lang.String
.attrName
- the name of the profile attribute.attrValue
- the value of the attribute to compare with.collator
- the collator to use for the comparison. May be null
.NullPointerException
- if either attrName
or attrValue
is null
.IllegalArgumentException
- if the class of attrValue
does
not implement the java.lang.Comparable
interface.