|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.dictionary.constraint.RegisteredConstraint
public final class RegisteredConstraint
Constraint implementation that defers to constraints registered with the
static instance of the ConstraintRegistry
.
#setAllowedValues(List)
,
#setCaseSensitive(boolean)
Constructor Summary | |
---|---|
RegisteredConstraint()
|
Method Summary | |
---|---|
void |
evaluate(java.lang.Object value)
Defers to the registered constraint |
java.util.Map |
getParameters()
Defers to the registered constraint |
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RegisteredConstraint()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getShortName()
Constraint
getShortName
in interface Constraint
public void setShortName(java.lang.String shortName)
public void setRegisteredName(java.lang.String registeredName)
public void initialize()
Constraint
initialize
in interface Constraint
public java.lang.String getType()
getType
in interface Constraint
public java.lang.String getTitle()
getTitle
in interface Constraint
public java.util.Map getParameters()
getParameters
in interface Constraint
public void evaluate(java.lang.Object value)
evaluate
in interface Constraint
value
- the property value to check
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |