public static class ElementDefinition.ElementDefinitionConstraintComponent extends Element implements IBaseDatatypeElement
| Constructor and Description |
|---|
ElementDefinitionConstraintComponent() |
ElementDefinitionConstraintComponent(IdType key,
Enumeration<ElementDefinition.ConstraintSeverity> severity,
StringType human,
StringType xpath) |
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getId, getIdElement, hasExtension, hasId, hasIdElement, setId, setIdElementchildren, compareDeep, compareDeep, compareDeep, compareValues, compareValues, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasUserData, listChildrenByName, setUserData, setUserDataINNpublic ElementDefinitionConstraintComponent()
public ElementDefinitionConstraintComponent(IdType key, Enumeration<ElementDefinition.ConstraintSeverity> severity, StringType human, StringType xpath)
public IdType getKeyElement()
key (Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality.). This is the underlying object with id, value and extensions. The accessor "getKey" gives direct access to the valuepublic boolean hasKeyElement()
public boolean hasKey()
public ElementDefinition.ElementDefinitionConstraintComponent setKeyElement(IdType value)
value - key (Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality.). This is the underlying object with id, value and extensions. The accessor "getKey" gives direct access to the valuepublic String getKey()
public ElementDefinition.ElementDefinitionConstraintComponent setKey(String value)
value - Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality.public StringType getRequirementsElement()
requirements (Description of why this constraint is necessary or appropriate.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the valuepublic boolean hasRequirementsElement()
public boolean hasRequirements()
public ElementDefinition.ElementDefinitionConstraintComponent setRequirementsElement(StringType value)
value - requirements (Description of why this constraint is necessary or appropriate.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the valuepublic String getRequirements()
public ElementDefinition.ElementDefinitionConstraintComponent setRequirements(String value)
value - Description of why this constraint is necessary or appropriate.public Enumeration<ElementDefinition.ConstraintSeverity> getSeverityElement()
severity (Identifies the impact constraint violation has on the conformance of the instance.). This is the underlying object with id, value and extensions. The accessor "getSeverity" gives direct access to the valuepublic boolean hasSeverityElement()
public boolean hasSeverity()
public ElementDefinition.ElementDefinitionConstraintComponent setSeverityElement(Enumeration<ElementDefinition.ConstraintSeverity> value)
value - severity (Identifies the impact constraint violation has on the conformance of the instance.). This is the underlying object with id, value and extensions. The accessor "getSeverity" gives direct access to the valuepublic ElementDefinition.ConstraintSeverity getSeverity()
public ElementDefinition.ElementDefinitionConstraintComponent setSeverity(ElementDefinition.ConstraintSeverity value)
value - Identifies the impact constraint violation has on the conformance of the instance.public StringType getHumanElement()
human (Text that can be used to describe the constraint in messages identifying that the constraint has been violated.). This is the underlying object with id, value and extensions. The accessor "getHuman" gives direct access to the valuepublic boolean hasHumanElement()
public boolean hasHuman()
public ElementDefinition.ElementDefinitionConstraintComponent setHumanElement(StringType value)
value - human (Text that can be used to describe the constraint in messages identifying that the constraint has been violated.). This is the underlying object with id, value and extensions. The accessor "getHuman" gives direct access to the valuepublic String getHuman()
public ElementDefinition.ElementDefinitionConstraintComponent setHuman(String value)
value - Text that can be used to describe the constraint in messages identifying that the constraint has been violated.public StringType getXpathElement()
xpath (An XPath expression of constraint that can be executed to see if this constraint is met.). This is the underlying object with id, value and extensions. The accessor "getXpath" gives direct access to the valuepublic boolean hasXpathElement()
public boolean hasXpath()
public ElementDefinition.ElementDefinitionConstraintComponent setXpathElement(StringType value)
value - xpath (An XPath expression of constraint that can be executed to see if this constraint is met.). This is the underlying object with id, value and extensions. The accessor "getXpath" gives direct access to the valuepublic String getXpath()
public ElementDefinition.ElementDefinitionConstraintComponent setXpath(String value)
value - An XPath expression of constraint that can be executed to see if this constraint is met.public ElementDefinition.ElementDefinitionConstraintComponent copy()
public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2015 University Health Network. All rights reserved.