Class NoOpConstraint
- java.lang.Object
-
- org.alfresco.repo.dictionary.constraint.AbstractConstraint
-
- org.alfresco.repo.dictionary.constraint.NoOpConstraint
-
- All Implemented Interfaces:
Constraint
public class NoOpConstraint extends AbstractConstraint
A No operation constraint, it does nothing- Author:
- Gethin James
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.dictionary.constraint.AbstractConstraint
ERR_EVALUATE_EXCEPTION, ERR_PROP_NOT_SET
-
-
Constructor Summary
Constructors Constructor Description NoOpConstraint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
evaluateSingleValue(java.lang.Object value)
Support for evaluation of properties.-
Methods inherited from class org.alfresco.repo.dictionary.constraint.AbstractConstraint
checkPropertyNotNull, evaluate, evaluateCollection, getParameters, getShortName, getTitle, getType, initialize, set_shortName, setRegistry, setShortName, setTitle
-
-
-
-
Method Detail
-
evaluateSingleValue
protected void evaluateSingleValue(java.lang.Object value)
Description copied from class:AbstractConstraint
Support for evaluation of properties. The value passed in will never be a Collection and will never be null.- Specified by:
evaluateSingleValue
in classAbstractConstraint
-
-