public final class RegisteredConstraint extends java.lang.Object implements Constraint
ConstraintRegistry.#setAllowedValues(List),
#setCaseSensitive(boolean)| Constructor and Description |
|---|
RegisteredConstraint() |
| Modifier and Type | Method and Description |
|---|---|
void |
evaluate(java.lang.Object value)
Defers to the registered constraint
|
java.util.Map |
getParameters()
Defers to the registered constraint
|
Constraint |
getRegisteredConstraint() |
java.lang.String |
getShortName()
Gets the constraint name.
|
java.lang.String |
getTitle()
Defers to the registered constraint
|
java.lang.String |
getType()
Defers to the registered constraint
|
void |
initialize()
Initializes the constraint with appropriate values, which will depend
on the implementation itself.
|
void |
setRegisteredName(java.lang.String registeredName)
Set the name of the constraint that will be used to look up the constraint
that will be delegated to.
|
void |
setShortName(java.lang.String shortName) |
java.lang.String |
toString() |
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getShortName()
ConstraintgetShortName in interface Constraintpublic void setShortName(java.lang.String shortName)
public void setRegisteredName(java.lang.String registeredName)
public void initialize()
Constraintinitialize in interface Constraintpublic Constraint getRegisteredConstraint()
public java.lang.String getType()
getType in interface Constraintpublic java.lang.String getTitle()
getTitle in interface Constraintpublic java.util.Map getParameters()
getParameters in interface Constraintpublic void evaluate(java.lang.Object value)
evaluate in interface Constraintvalue - the property value to checkCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.