public class ConstraintRegistry
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
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
|
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 registeredCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.