public abstract class Compare extends AbstractConstraint implements AttributeConstraint
Constraint.Type| Constructor and Description |
|---|
Compare() |
| Modifier and Type | Method and Description |
|---|---|
Parameter |
getParameter()
Returns the parameter of this compare or
null. |
Object |
getValue()
Returns the value
attribute of this compare will be
compared with. |
void |
setParameter(Parameter param)
Sets the parameter of this compare.
|
void |
setValue(Object value)
Sets the value the
attribute of this compare will be
compared with. |
getAttributeName, getType, isEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributeNamegetType, isEmpty@Nullable public Parameter getParameter()
null.
If parameter is not null then its value is used by the comparison and not the one
defined by getValue(). The parameter's value is stored in the select via setParameter(String, Object.null if not set.Select.setParameter(String,Object),
getValue()public void setParameter(Parameter param)
setParameter(String, Object.param - the new parameterpublic Object getValue()
attribute of this compare will be
compared with.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408