org.drools.ide.common.server.factconstraints.predefined
Class RangeConstraint
java.lang.Object
org.drools.ide.common.server.factconstraints.predefined.RangeConstraint
- All Implemented Interfaces:
- Serializable, Constraint
public class RangeConstraint
- extends Object
- implements Constraint
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final String NAME
- See Also:
- Constant Field Values
RANGE_CONSTRAINT_MIN
public static final String RANGE_CONSTRAINT_MIN
- See Also:
- Constant Field Values
RANGE_CONSTRAINT_MAX
public static final String RANGE_CONSTRAINT_MAX
- See Also:
- Constant Field Values
RangeConstraint
public RangeConstraint()
getConstraintName
public String getConstraintName()
- Specified by:
getConstraintName
in interface Constraint
getVerifierRule
public String getVerifierRule(ConstraintConfiguration config)
- Specified by:
getVerifierRule
in interface Constraint
validate
public ValidationResult validate(Object value,
ConstraintConfiguration config)
- Specified by:
validate
in interface Constraint
getMin
public String getMin(ConstraintConfiguration conf)
getMax
public String getMax(ConstraintConfiguration conf)
getArgumentKeys
public List<String> getArgumentKeys()
- Specified by:
getArgumentKeys
in interface Constraint
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.