/** * Adds and returns a new value for <b>constraint</b> () * * <p> * <b>Definition:</b> * Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance * </p> */ public Constraint addConstraint() { Constraint newType = new Constraint(); getConstraint().add(newType); return newType; }
/** * Sets the value(s) for <b>severity</b> () * * <p> * <b>Definition:</b> * Identifies the impact constraint violation has on the conformance of the instance * </p> */ public Constraint setSeverity(ConstraintSeverityEnum theValue) { setSeverity(new BoundCodeDt<ConstraintSeverityEnum>(ConstraintSeverityEnum.VALUESET_BINDER, theValue)); /* getSeverityElement().setValueAsEnum(theValue); */ return this; }
/** * Gets the value(s) for <b>key</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality * </p> */ public String getKey() { return getKeyElement().getValue(); }
/** * Gets the value(s) for <b>requirements</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Description of why this constraint is necessary or appropriate * </p> */ public String getRequirements() { return getRequirementsElement().getValue(); }
/** * Gets the value(s) for <b>human</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Text that can be used to describe the constraint in messages identifying that the constraint has been violated * </p> */ public String getHuman() { return getHumanElement().getValue(); }
/** * Gets the value(s) for <b>severity</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Identifies the impact constraint violation has on the conformance of the instance * </p> */ public String getSeverity() { return getSeverityElement().getValue(); }
/** * Gets the value(s) for <b>xpath</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * An XPath expression of constraint that can be executed to see if this constraint is met * </p> */ public String getXpath() { return getXpathElement().getValue(); }
/** * Gets the value(s) for <b>key</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality * </p> */ public String getKey() { return getKeyElement().getValue(); }
/** * Gets the value(s) for <b>severity</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * Identifies the impact constraint violation has on the conformance of the instance * </p> */ public String getSeverity() { return getSeverityElement().getValue(); }
/** * Gets the value(s) for <b>human</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * Text that can be used to describe the constraint in messages identifying that the constraint has been violated * </p> */ public String getHuman() { return getHumanElement().getValue(); }
/** * Gets the value(s) for <b>xpath</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * An XPath expression of constraint that can be executed to see if this constraint is met * </p> */ public String getXpath() { return getXpathElement().getValue(); }
/** * Adds and returns a new value for <b>constraint</b> () * * <p> * <b>Definition:</b> * Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance * </p> */ public Constraint addConstraint() { Constraint newType = new Constraint(); getConstraint().add(newType); return newType; }
/** * Sets the value(s) for <b>severity</b> () * * <p> * <b>Definition:</b> * Identifies the impact constraint violation has on the conformance of the instance * </p> */ public Constraint setSeverity(ConstraintSeverityEnum theValue) { getSeverityElement().setValueAsEnum(theValue); return this; }
/** * Gets the value(s) for <b>requirements</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * Description of why this constraint is necessary or appropriate * </p> */ public String getRequirements() { return getRequirementsElement().getValue(); }