|
|||||||||
| 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.Objectpublic java.lang.String getShortName()
Constraint
getShortName in interface Constraintpublic void setShortName(java.lang.String shortName)
public void setRegisteredName(java.lang.String registeredName)
public void initialize()
Constraint
initialize in interface Constraintpublic 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 check
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||