Package org.hl7.fhir.dstu2016may.model
Class StructureMap.StructureMapGroupRuleSourceComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.model.Base
-
- org.hl7.fhir.dstu2016may.model.Element
-
- org.hl7.fhir.dstu2016may.model.BackboneElement
-
- org.hl7.fhir.dstu2016may.model.StructureMap.StructureMapGroupRuleSourceComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- StructureMap
public static class StructureMap.StructureMapGroupRuleSourceComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringTypecheckFluentPath expression - must be true or the mapping engine throws an error instead of completing.protected StringTypeconditionFluentPath expression - must be true or the rule does not apply.protected IdTypecontextType or variable this rule applies to.protected Enumeration<StructureMap.StructureMapContextType>contextTypeHow to interpret the context.protected StringTypeelementOptional field for this source.protected Enumeration<StructureMap.StructureMapListMode>listModeHow to handle the list mode for this element.protected BooleanTyperequiredWhether this rule applies if the source isn't found.protected IdTypevariableNamed context for field, if a field is specified.-
Fields inherited from class org.hl7.fhir.dstu2016may.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description StructureMapGroupRuleSourceComponent()ConstructorStructureMapGroupRuleSourceComponent(BooleanType required, IdType context, Enumeration<StructureMap.StructureMapContextType> contextType)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Element
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Base
castToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
required
protected BooleanType required
Whether this rule applies if the source isn't found.
-
contextType
protected Enumeration<StructureMap.StructureMapContextType> contextType
How to interpret the context.
-
element
protected StringType element
Optional field for this source.
-
listMode
protected Enumeration<StructureMap.StructureMapListMode> listMode
How to handle the list mode for this element.
-
condition
protected StringType condition
FluentPath expression - must be true or the rule does not apply.
-
check
protected StringType check
FluentPath expression - must be true or the mapping engine throws an error instead of completing.
-
-
Constructor Detail
-
StructureMapGroupRuleSourceComponent
public StructureMapGroupRuleSourceComponent()
Constructor
-
StructureMapGroupRuleSourceComponent
public StructureMapGroupRuleSourceComponent(BooleanType required, IdType context, Enumeration<StructureMap.StructureMapContextType> contextType)
Constructor
-
-
Method Detail
-
getRequiredElement
public BooleanType getRequiredElement()
- Returns:
required(Whether this rule applies if the source isn't found.). This is the underlying object with id, value and extensions. The accessor "getRequired" gives direct access to the value
-
hasRequiredElement
public boolean hasRequiredElement()
-
hasRequired
public boolean hasRequired()
-
setRequiredElement
public StructureMap.StructureMapGroupRuleSourceComponent setRequiredElement(BooleanType value)
- Parameters:
value-required(Whether this rule applies if the source isn't found.). This is the underlying object with id, value and extensions. The accessor "getRequired" gives direct access to the value
-
getRequired
public boolean getRequired()
- Returns:
- Whether this rule applies if the source isn't found.
-
setRequired
public StructureMap.StructureMapGroupRuleSourceComponent setRequired(boolean value)
- Parameters:
value- Whether this rule applies if the source isn't found.
-
getContextElement
public IdType getContextElement()
- Returns:
context(Type or variable this rule applies to.). This is the underlying object with id, value and extensions. The accessor "getContext" gives direct access to the value
-
hasContextElement
public boolean hasContextElement()
-
hasContext
public boolean hasContext()
-
setContextElement
public StructureMap.StructureMapGroupRuleSourceComponent setContextElement(IdType value)
- Parameters:
value-context(Type or variable this rule applies to.). This is the underlying object with id, value and extensions. The accessor "getContext" gives direct access to the value
-
getContext
public String getContext()
- Returns:
- Type or variable this rule applies to.
-
setContext
public StructureMap.StructureMapGroupRuleSourceComponent setContext(String value)
- Parameters:
value- Type or variable this rule applies to.
-
getContextTypeElement
public Enumeration<StructureMap.StructureMapContextType> getContextTypeElement()
- Returns:
contextType(How to interpret the context.). This is the underlying object with id, value and extensions. The accessor "getContextType" gives direct access to the value
-
hasContextTypeElement
public boolean hasContextTypeElement()
-
hasContextType
public boolean hasContextType()
-
setContextTypeElement
public StructureMap.StructureMapGroupRuleSourceComponent setContextTypeElement(Enumeration<StructureMap.StructureMapContextType> value)
- Parameters:
value-contextType(How to interpret the context.). This is the underlying object with id, value and extensions. The accessor "getContextType" gives direct access to the value
-
getContextType
public StructureMap.StructureMapContextType getContextType()
- Returns:
- How to interpret the context.
-
setContextType
public StructureMap.StructureMapGroupRuleSourceComponent setContextType(StructureMap.StructureMapContextType value)
- Parameters:
value- How to interpret the context.
-
getElementElement
public StringType getElementElement()
- Returns:
element(Optional field for this source.). This is the underlying object with id, value and extensions. The accessor "getElement" gives direct access to the value
-
hasElementElement
public boolean hasElementElement()
-
hasElement
public boolean hasElement()
-
setElementElement
public StructureMap.StructureMapGroupRuleSourceComponent setElementElement(StringType value)
- Parameters:
value-element(Optional field for this source.). This is the underlying object with id, value and extensions. The accessor "getElement" gives direct access to the value
-
getElement
public String getElement()
- Returns:
- Optional field for this source.
-
setElement
public StructureMap.StructureMapGroupRuleSourceComponent setElement(String value)
- Parameters:
value- Optional field for this source.
-
getListModeElement
public Enumeration<StructureMap.StructureMapListMode> getListModeElement()
- Returns:
listMode(How to handle the list mode for this element.). This is the underlying object with id, value and extensions. The accessor "getListMode" gives direct access to the value
-
hasListModeElement
public boolean hasListModeElement()
-
hasListMode
public boolean hasListMode()
-
setListModeElement
public StructureMap.StructureMapGroupRuleSourceComponent setListModeElement(Enumeration<StructureMap.StructureMapListMode> value)
- Parameters:
value-listMode(How to handle the list mode for this element.). This is the underlying object with id, value and extensions. The accessor "getListMode" gives direct access to the value
-
getListMode
public StructureMap.StructureMapListMode getListMode()
- Returns:
- How to handle the list mode for this element.
-
setListMode
public StructureMap.StructureMapGroupRuleSourceComponent setListMode(StructureMap.StructureMapListMode value)
- Parameters:
value- How to handle the list mode for this element.
-
getVariableElement
public IdType getVariableElement()
- Returns:
variable(Named context for field, if a field is specified.). This is the underlying object with id, value and extensions. The accessor "getVariable" gives direct access to the value
-
hasVariableElement
public boolean hasVariableElement()
-
hasVariable
public boolean hasVariable()
-
setVariableElement
public StructureMap.StructureMapGroupRuleSourceComponent setVariableElement(IdType value)
- Parameters:
value-variable(Named context for field, if a field is specified.). This is the underlying object with id, value and extensions. The accessor "getVariable" gives direct access to the value
-
getVariable
public String getVariable()
- Returns:
- Named context for field, if a field is specified.
-
setVariable
public StructureMap.StructureMapGroupRuleSourceComponent setVariable(String value)
- Parameters:
value- Named context for field, if a field is specified.
-
getConditionElement
public StringType getConditionElement()
- Returns:
condition(FluentPath expression - must be true or the rule does not apply.). This is the underlying object with id, value and extensions. The accessor "getCondition" gives direct access to the value
-
hasConditionElement
public boolean hasConditionElement()
-
hasCondition
public boolean hasCondition()
-
setConditionElement
public StructureMap.StructureMapGroupRuleSourceComponent setConditionElement(StringType value)
- Parameters:
value-condition(FluentPath expression - must be true or the rule does not apply.). This is the underlying object with id, value and extensions. The accessor "getCondition" gives direct access to the value
-
getCondition
public String getCondition()
- Returns:
- FluentPath expression - must be true or the rule does not apply.
-
setCondition
public StructureMap.StructureMapGroupRuleSourceComponent setCondition(String value)
- Parameters:
value- FluentPath expression - must be true or the rule does not apply.
-
getCheckElement
public StringType getCheckElement()
- Returns:
check(FluentPath expression - must be true or the mapping engine throws an error instead of completing.). This is the underlying object with id, value and extensions. The accessor "getCheck" gives direct access to the value
-
hasCheckElement
public boolean hasCheckElement()
-
hasCheck
public boolean hasCheck()
-
setCheckElement
public StructureMap.StructureMapGroupRuleSourceComponent setCheckElement(StringType value)
- Parameters:
value-check(FluentPath expression - must be true or the mapping engine throws an error instead of completing.). This is the underlying object with id, value and extensions. The accessor "getCheck" gives direct access to the value
-
getCheck
public String getCheck()
- Returns:
- FluentPath expression - must be true or the mapping engine throws an error instead of completing.
-
setCheck
public StructureMap.StructureMapGroupRuleSourceComponent setCheck(String value)
- Parameters:
value- FluentPath expression - must be true or the mapping engine throws an error instead of completing.
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classBackboneElement
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
Description copied from class:Basemake an instance of a property. If the property is a repeating property, make a new instance. if the property is not repeating, return the property- Overrides:
makePropertyin classBackboneElement- Returns:
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public StructureMap.StructureMapGroupRuleSourceComponent copy()
- Specified by:
copyin classBackboneElement
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-