public static class Profile.StructureElementDefinitionConstraint extends BaseIdentifiableElement implements IResourceBlock
Definition: Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance
| Constructor and Description |
|---|
Profile.StructureElementDefinitionConstraint() |
| Modifier and Type | Method and Description |
|---|---|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
StringDt |
getHuman()
Gets the value(s) for human (Human description of constraint).
|
IdDt |
getKey()
Gets the value(s) for key (Target of 'condition' reference above).
|
StringDt |
getName()
Gets the value(s) for name (Short human label).
|
BoundCodeDt<ConstraintSeverityEnum> |
getSeverity()
Gets the value(s) for severity (error | warning).
|
StringDt |
getXpath()
Gets the value(s) for xpath (XPath expression of constraint).
|
boolean |
isEmpty() |
Profile.StructureElementDefinitionConstraint |
setHuman(String theString)
Sets the value for human (Human description of constraint)
|
Profile.StructureElementDefinitionConstraint |
setHuman(StringDt theValue)
Sets the value(s) for human (Human description of constraint)
|
Profile.StructureElementDefinitionConstraint |
setKey(IdDt theValue)
Sets the value(s) for key (Target of 'condition' reference above)
|
Profile.StructureElementDefinitionConstraint |
setKey(String theId)
Sets the value for key (Target of 'condition' reference above)
|
Profile.StructureElementDefinitionConstraint |
setName(String theString)
Sets the value for name (Short human label)
|
Profile.StructureElementDefinitionConstraint |
setName(StringDt theValue)
Sets the value(s) for name (Short human label)
|
Profile.StructureElementDefinitionConstraint |
setSeverity(BoundCodeDt<ConstraintSeverityEnum> theValue)
Sets the value(s) for severity (error | warning)
|
Profile.StructureElementDefinitionConstraint |
setSeverity(ConstraintSeverityEnum theValue)
Sets the value(s) for severity (error | warning)
|
Profile.StructureElementDefinitionConstraint |
setXpath(String theString)
Sets the value for xpath (XPath expression of constraint)
|
Profile.StructureElementDefinitionConstraint |
setXpath(StringDt theValue)
Sets the value(s) for xpath (XPath expression of constraint)
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementSpecificId, getId, setElementSpecificId, setId, setIdpublic Profile.StructureElementDefinitionConstraint()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic IdDt getKey()
null.
Definition: Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality
public Profile.StructureElementDefinitionConstraint setKey(IdDt theValue)
Definition: Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality
public Profile.StructureElementDefinitionConstraint setKey(String theId)
Definition: Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality
public StringDt getName()
null.
Definition: Used to label the constraint in OCL or in short displays incapable of displaying the full human description
public Profile.StructureElementDefinitionConstraint setName(StringDt theValue)
Definition: Used to label the constraint in OCL or in short displays incapable of displaying the full human description
public Profile.StructureElementDefinitionConstraint setName(String theString)
Definition: Used to label the constraint in OCL or in short displays incapable of displaying the full human description
public BoundCodeDt<ConstraintSeverityEnum> getSeverity()
null.
Definition: Identifies the impact constraint violation has on the conformance of the instance
public Profile.StructureElementDefinitionConstraint setSeverity(BoundCodeDt<ConstraintSeverityEnum> theValue)
Definition: Identifies the impact constraint violation has on the conformance of the instance
public Profile.StructureElementDefinitionConstraint setSeverity(ConstraintSeverityEnum theValue)
Definition: Identifies the impact constraint violation has on the conformance of the instance
public StringDt getHuman()
null.
Definition: Text that can be used to describe the constraint in messages identifying that the constraint has been violated
public Profile.StructureElementDefinitionConstraint setHuman(StringDt theValue)
Definition: Text that can be used to describe the constraint in messages identifying that the constraint has been violated
public Profile.StructureElementDefinitionConstraint setHuman(String theString)
Definition: Text that can be used to describe the constraint in messages identifying that the constraint has been violated
public StringDt getXpath()
null.
Definition: XPath expression of constraint
public Profile.StructureElementDefinitionConstraint setXpath(StringDt theValue)
Definition: XPath expression of constraint
public Profile.StructureElementDefinitionConstraint setXpath(String theString)
Definition: XPath expression of constraint
Copyright © 2014 University Health Network. All rights reserved.