|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.dictionary.constraint.ConstraintRegistry
public class ConstraintRegistry
A registry of constraints.
Method Summary | |
---|---|
Constraint |
getConstraint(java.lang.String name)
Get the constraint by name |
static ConstraintRegistry |
getInstance()
|
void |
register(java.lang.String name,
Constraint constraint)
Register the constraint by name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ConstraintRegistry getInstance()
public void register(java.lang.String name, Constraint constraint)
public Constraint getConstraint(java.lang.String name)
name
- the name by which the constraint was registered
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |