Package com.ibm.fhir.model.annotation
Class Constraint.Factory
- java.lang.Object
-
- com.ibm.fhir.model.annotation.Constraint.Factory
-
- Enclosing class:
- Constraint
public static final class Constraint.Factory extends java.lang.Object
A factory class for programmatically creating Constraint instances using an anonymous inner class
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Constraint
createConstraint(java.lang.String id, java.lang.String level, java.lang.String location, java.lang.String description, java.lang.String expression, java.lang.String source, boolean modelChecked, boolean generated)
static Constraint
createConstraint(java.lang.String id, java.lang.String level, java.lang.String location, java.lang.String description, java.lang.String expression, java.lang.String source, boolean modelChecked, boolean generated, java.lang.Class<? extends ConstraintValidator<?>> validatorClass)
-
-
-
Method Detail
-
createConstraint
public static Constraint createConstraint(java.lang.String id, java.lang.String level, java.lang.String location, java.lang.String description, java.lang.String expression, java.lang.String source, boolean modelChecked, boolean generated)
-
createConstraint
public static Constraint createConstraint(java.lang.String id, java.lang.String level, java.lang.String location, java.lang.String description, java.lang.String expression, java.lang.String source, boolean modelChecked, boolean generated, java.lang.Class<? extends ConstraintValidator<?>> validatorClass)
-
-