public final class RegisteredConstraint extends Object implements Constraint
ConstraintRegistry.| Constructor and Description |
|---|
RegisteredConstraint() |
| Modifier and Type | Method and Description |
|---|---|
void |
evaluate(Object value)
Defers to the registered constraint
|
Map<String,Object> |
getParameters()
Defers to the registered constraint
|
Constraint |
getRegisteredConstraint() |
String |
getShortName()
Gets the constraint name.
|
String |
getTitle()
Defers to the registered constraint
|
String |
getType()
Defers to the registered constraint
|
void |
initialize()
Initializes the constraint with appropriate values, which will depend
on the implementation itself.
|
void |
setRegisteredName(String registeredName)
Set the name of the constraint that will be used to look up the constraint
that will be delegated to.
|
void |
setShortName(String shortName) |
String |
toString() |
public String getShortName()
ConstraintgetShortName in interface Constraintpublic void setShortName(String shortName)
public void setRegisteredName(String registeredName)
public void initialize()
Constraintinitialize in interface Constraintpublic Constraint getRegisteredConstraint()
public String getType()
getType in interface Constraintpublic String getTitle()
getTitle in interface Constraintpublic Map<String,Object> getParameters()
getParameters in interface Constraintpublic void evaluate(Object value)
evaluate in interface Constraintvalue - the property value to checkCopyright © 2005–2019 Alfresco Software. All rights reserved.