Package org.hl7.fhir.r5.model
Class StructureMap.StructureMapGroupComponent
- java.lang.Object
-
- org.hl7.fhir.r5.model.Base
-
- org.hl7.fhir.r5.model.Element
-
- org.hl7.fhir.r5.model.BackboneElement
-
- org.hl7.fhir.r5.model.StructureMap.StructureMapGroupComponent
-
- 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.StructureMapGroupComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringType
documentation
Additional supporting documentation that explains the purpose of the group and the types of mappings within it.protected IdType
extends_
Another group that this group adds rules to.protected List<StructureMap.StructureMapGroupInputComponent>
input
A name assigned to an instance of data.protected IdType
name
A unique name for the group for the convenience of human readers.protected List<StructureMap.StructureMapGroupRuleComponent>
rule
Transform Rule from source to target.protected Enumeration<StructureMap.StructureMapGroupTypeMode>
typeMode
If this is the default rule set to apply for the source type or this combination of types.-
Fields inherited from class org.hl7.fhir.r5.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description StructureMapGroupComponent()
ConstructorStructureMapGroupComponent(String name, StructureMap.StructureMapGroupTypeMode typeMode, StructureMap.StructureMapGroupInputComponent input, StructureMap.StructureMapGroupRuleComponent rule)
Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r5.model.BackboneElement
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r5.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r5.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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
-
typeMode
protected Enumeration<StructureMap.StructureMapGroupTypeMode> typeMode
If this is the default rule set to apply for the source type or this combination of types.
-
documentation
protected StringType documentation
Additional supporting documentation that explains the purpose of the group and the types of mappings within it.
-
input
protected List<StructureMap.StructureMapGroupInputComponent> input
A name assigned to an instance of data. The instance must be provided when the mapping is invoked.
-
rule
protected List<StructureMap.StructureMapGroupRuleComponent> rule
Transform Rule from source to target.
-
-
Constructor Detail
-
StructureMapGroupComponent
public StructureMapGroupComponent()
Constructor
-
StructureMapGroupComponent
public StructureMapGroupComponent(String name, StructureMap.StructureMapGroupTypeMode typeMode, StructureMap.StructureMapGroupInputComponent input, StructureMap.StructureMapGroupRuleComponent rule)
Constructor
-
-
Method Detail
-
getNameElement
public IdType getNameElement()
- Returns:
name
(A unique name for the group for the convenience of human readers.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
hasNameElement
public boolean hasNameElement()
-
hasName
public boolean hasName()
-
setNameElement
public StructureMap.StructureMapGroupComponent setNameElement(IdType value)
- Parameters:
value
-name
(A unique name for the group for the convenience of human readers.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
getName
public String getName()
- Returns:
- A unique name for the group for the convenience of human readers.
-
setName
public StructureMap.StructureMapGroupComponent setName(String value)
- Parameters:
value
- A unique name for the group for the convenience of human readers.
-
getExtendsElement
public IdType getExtendsElement()
- Returns:
extends_
(Another group that this group adds rules to.). This is the underlying object with id, value and extensions. The accessor "getExtends" gives direct access to the value
-
hasExtendsElement
public boolean hasExtendsElement()
-
hasExtends
public boolean hasExtends()
-
setExtendsElement
public StructureMap.StructureMapGroupComponent setExtendsElement(IdType value)
- Parameters:
value
-extends_
(Another group that this group adds rules to.). This is the underlying object with id, value and extensions. The accessor "getExtends" gives direct access to the value
-
getExtends
public String getExtends()
- Returns:
- Another group that this group adds rules to.
-
setExtends
public StructureMap.StructureMapGroupComponent setExtends(String value)
- Parameters:
value
- Another group that this group adds rules to.
-
getTypeModeElement
public Enumeration<StructureMap.StructureMapGroupTypeMode> getTypeModeElement()
- Returns:
typeMode
(If this is the default rule set to apply for the source type or this combination of types.). This is the underlying object with id, value and extensions. The accessor "getTypeMode" gives direct access to the value
-
hasTypeModeElement
public boolean hasTypeModeElement()
-
hasTypeMode
public boolean hasTypeMode()
-
setTypeModeElement
public StructureMap.StructureMapGroupComponent setTypeModeElement(Enumeration<StructureMap.StructureMapGroupTypeMode> value)
- Parameters:
value
-typeMode
(If this is the default rule set to apply for the source type or this combination of types.). This is the underlying object with id, value and extensions. The accessor "getTypeMode" gives direct access to the value
-
getTypeMode
public StructureMap.StructureMapGroupTypeMode getTypeMode()
- Returns:
- If this is the default rule set to apply for the source type or this combination of types.
-
setTypeMode
public StructureMap.StructureMapGroupComponent setTypeMode(StructureMap.StructureMapGroupTypeMode value)
- Parameters:
value
- If this is the default rule set to apply for the source type or this combination of types.
-
getDocumentationElement
public StringType getDocumentationElement()
- Returns:
documentation
(Additional supporting documentation that explains the purpose of the group and the types of mappings within it.). This is the underlying object with id, value and extensions. The accessor "getDocumentation" gives direct access to the value
-
hasDocumentationElement
public boolean hasDocumentationElement()
-
hasDocumentation
public boolean hasDocumentation()
-
setDocumentationElement
public StructureMap.StructureMapGroupComponent setDocumentationElement(StringType value)
- Parameters:
value
-documentation
(Additional supporting documentation that explains the purpose of the group and the types of mappings within it.). This is the underlying object with id, value and extensions. The accessor "getDocumentation" gives direct access to the value
-
getDocumentation
public String getDocumentation()
- Returns:
- Additional supporting documentation that explains the purpose of the group and the types of mappings within it.
-
setDocumentation
public StructureMap.StructureMapGroupComponent setDocumentation(String value)
- Parameters:
value
- Additional supporting documentation that explains the purpose of the group and the types of mappings within it.
-
getInput
public List<StructureMap.StructureMapGroupInputComponent> getInput()
- Returns:
input
(A name assigned to an instance of data. The instance must be provided when the mapping is invoked.)
-
setInput
public StructureMap.StructureMapGroupComponent setInput(List<StructureMap.StructureMapGroupInputComponent> theInput)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasInput
public boolean hasInput()
-
addInput
public StructureMap.StructureMapGroupInputComponent addInput()
-
addInput
public StructureMap.StructureMapGroupComponent addInput(StructureMap.StructureMapGroupInputComponent t)
-
getInputFirstRep
public StructureMap.StructureMapGroupInputComponent getInputFirstRep()
- Returns:
- The first repetition of repeating field
input
, creating it if it does not already exist {3}
-
getRule
public List<StructureMap.StructureMapGroupRuleComponent> getRule()
- Returns:
rule
(Transform Rule from source to target.)
-
setRule
public StructureMap.StructureMapGroupComponent setRule(List<StructureMap.StructureMapGroupRuleComponent> theRule)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasRule
public boolean hasRule()
-
addRule
public StructureMap.StructureMapGroupRuleComponent addRule()
-
addRule
public StructureMap.StructureMapGroupComponent addRule(StructureMap.StructureMapGroupRuleComponent t)
-
getRuleFirstRep
public StructureMap.StructureMapGroupRuleComponent getRuleFirstRep()
- Returns:
- The first repetition of repeating field
rule
, creating it if it does not already exist {3}
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildren
in classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makeProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChild
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public StructureMap.StructureMapGroupComponent copy()
- Specified by:
copy
in classBackboneElement
-
copyValues
public void copyValues(StructureMap.StructureMapGroupComponent dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classBackboneElement
-
-