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()
Constraint
getShortName
in interface Constraint
public void setShortName(String shortName)
public void setRegisteredName(String registeredName)
public void initialize()
Constraint
initialize
in interface Constraint
public Constraint getRegisteredConstraint()
public String getType()
getType
in interface Constraint
public String getTitle()
getTitle
in interface Constraint
public Map<String,Object> getParameters()
getParameters
in interface Constraint
public void evaluate(Object value)
evaluate
in interface Constraint
value
- the property value to checkCopyright © 2005–2016 Alfresco Software. All rights reserved.