|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topbraid.spin.constraints.SPINConstraints
public class SPINConstraints
Performs SPIN constraint checking on one or more instances, based on the spin:constraints defined on the types of those instances.
Constructor Summary | |
---|---|
SPINConstraints()
|
Method Summary | |
---|---|
static java.util.List<ConstraintViolation> |
check(Model model,
ProgressMonitor monitor)
Checks all instances in a given Model against all spin:constraints and returns a List of constraint violations. |
static java.util.List<ConstraintViolation> |
check(Resource resource,
ProgressMonitor monitor)
Checks all spin:constraints for a given Resource. |
static boolean |
isConstraintProperty(Property property)
Checks if a given property is a SPIN constraint property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SPINConstraints()
Method Detail |
---|
public static java.util.List<ConstraintViolation> check(Resource resource, ProgressMonitor monitor)
resource
- the instance to run constraint checks onmonitor
- an (optional) progress monitor (currently ignored)
public static java.util.List<ConstraintViolation> check(Model model, ProgressMonitor monitor)
model
- the Model to operate onmonitor
- an optional ProgressMonitor
public static boolean isConstraintProperty(Property property)
property
- the property to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |