Class ModuleDefinition
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.ModuleDefinition
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class ModuleDefinition extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava class for ModuleDefinition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ModuleDefinition"> <complexContent> <extension base="{http://hl7.org/fhir}DomainResource"> <sequence> <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/> <element name="version" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="model" type="{http://hl7.org/fhir}ModuleDefinition.Model" maxOccurs="unbounded" minOccurs="0"/> <element name="library" type="{http://hl7.org/fhir}ModuleDefinition.Library" maxOccurs="unbounded" minOccurs="0"/> <element name="codeSystem" type="{http://hl7.org/fhir}ModuleDefinition.CodeSystem" maxOccurs="unbounded" minOccurs="0"/> <element name="valueSet" type="{http://hl7.org/fhir}ModuleDefinition.ValueSet" maxOccurs="unbounded" minOccurs="0"/> <element name="parameter" type="{http://hl7.org/fhir}ModuleDefinition.Parameter" maxOccurs="unbounded" minOccurs="0"/> <element name="data" type="{http://hl7.org/fhir}ModuleDefinition.Data" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ModuleDefinitionCodeSystem>codeSystemprotected java.util.List<ModuleDefinitionData>dataprotected java.util.List<Identifier>identifierprotected java.util.List<ModuleDefinitionLibrary>libraryprotected java.util.List<ModuleDefinitionModel>modelprotected java.util.List<ModuleDefinitionParameter>parameterprotected java.util.List<ModuleDefinitionValueSet>valueSetprotected Stringversion-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description ModuleDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)java.util.List<ModuleDefinitionCodeSystem>getCodeSystem()Gets the value of the codeSystem property.java.util.List<ModuleDefinitionData>getData()Gets the value of the data property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.java.util.List<ModuleDefinitionLibrary>getLibrary()Gets the value of the library property.java.util.List<ModuleDefinitionModel>getModel()Gets the value of the model property.java.util.List<ModuleDefinitionParameter>getParameter()Gets the value of the parameter property.java.util.List<ModuleDefinitionValueSet>getValueSet()Gets the value of the valueSet property.StringgetVersion()Gets the value of the version property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetVersion(String value)Sets the value of the version property.java.lang.StringtoString()ModuleDefinitionwithCodeSystem(java.util.Collection<ModuleDefinitionCodeSystem> values)ModuleDefinitionwithCodeSystem(ModuleDefinitionCodeSystem... values)ModuleDefinitionwithContained(java.util.Collection<ResourceContainer> values)ModuleDefinitionwithContained(ResourceContainer... values)ModuleDefinitionwithData(java.util.Collection<ModuleDefinitionData> values)ModuleDefinitionwithData(ModuleDefinitionData... values)ModuleDefinitionwithExtension(java.util.Collection<Extension> values)ModuleDefinitionwithExtension(Extension... values)ModuleDefinitionwithId(Id value)ModuleDefinitionwithIdentifier(java.util.Collection<Identifier> values)ModuleDefinitionwithIdentifier(Identifier... values)ModuleDefinitionwithImplicitRules(Uri value)ModuleDefinitionwithLanguage(Code value)ModuleDefinitionwithLibrary(java.util.Collection<ModuleDefinitionLibrary> values)ModuleDefinitionwithLibrary(ModuleDefinitionLibrary... values)ModuleDefinitionwithMeta(Meta value)ModuleDefinitionwithModel(java.util.Collection<ModuleDefinitionModel> values)ModuleDefinitionwithModel(ModuleDefinitionModel... values)ModuleDefinitionwithModifierExtension(java.util.Collection<Extension> values)ModuleDefinitionwithModifierExtension(Extension... values)ModuleDefinitionwithParameter(java.util.Collection<ModuleDefinitionParameter> values)ModuleDefinitionwithParameter(ModuleDefinitionParameter... values)ModuleDefinitionwithText(Narrative value)ModuleDefinitionwithValueSet(java.util.Collection<ModuleDefinitionValueSet> values)ModuleDefinitionwithValueSet(ModuleDefinitionValueSet... values)ModuleDefinitionwithVersion(String value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
identifier
protected java.util.List<Identifier> identifier
-
version
protected String version
-
model
protected java.util.List<ModuleDefinitionModel> model
-
library
protected java.util.List<ModuleDefinitionLibrary> library
-
codeSystem
protected java.util.List<ModuleDefinitionCodeSystem> codeSystem
-
valueSet
protected java.util.List<ModuleDefinitionValueSet> valueSet
-
parameter
protected java.util.List<ModuleDefinitionParameter> parameter
-
data
protected java.util.List<ModuleDefinitionData> data
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
Gets the value of the identifier property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the identifier property.For example, to add a new item, do as follows:
getIdentifier().add(newItem);Objects of the following type(s) are allowed in the list
Identifier
-
getVersion
public String getVersion()
Gets the value of the version property.- Returns:
- possible object is
String
-
setVersion
public void setVersion(String value)
Sets the value of the version property.- Parameters:
value- allowed object isString
-
getModel
public java.util.List<ModuleDefinitionModel> getModel()
Gets the value of the model property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the model property.For example, to add a new item, do as follows:
getModel().add(newItem);Objects of the following type(s) are allowed in the list
ModuleDefinitionModel
-
getLibrary
public java.util.List<ModuleDefinitionLibrary> getLibrary()
Gets the value of the library property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the library property.For example, to add a new item, do as follows:
getLibrary().add(newItem);Objects of the following type(s) are allowed in the list
ModuleDefinitionLibrary
-
getCodeSystem
public java.util.List<ModuleDefinitionCodeSystem> getCodeSystem()
Gets the value of the codeSystem property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the codeSystem property.For example, to add a new item, do as follows:
getCodeSystem().add(newItem);Objects of the following type(s) are allowed in the list
ModuleDefinitionCodeSystem
-
getValueSet
public java.util.List<ModuleDefinitionValueSet> getValueSet()
Gets the value of the valueSet property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the valueSet property.For example, to add a new item, do as follows:
getValueSet().add(newItem);Objects of the following type(s) are allowed in the list
ModuleDefinitionValueSet
-
getParameter
public java.util.List<ModuleDefinitionParameter> getParameter()
Gets the value of the parameter property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the parameter property.For example, to add a new item, do as follows:
getParameter().add(newItem);Objects of the following type(s) are allowed in the list
ModuleDefinitionParameter
-
getData
public java.util.List<ModuleDefinitionData> getData()
Gets the value of the data property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the data property.For example, to add a new item, do as follows:
getData().add(newItem);Objects of the following type(s) are allowed in the list
ModuleDefinitionData
-
withIdentifier
public ModuleDefinition withIdentifier(Identifier... values)
-
withIdentifier
public ModuleDefinition withIdentifier(java.util.Collection<Identifier> values)
-
withVersion
public ModuleDefinition withVersion(String value)
-
withModel
public ModuleDefinition withModel(ModuleDefinitionModel... values)
-
withModel
public ModuleDefinition withModel(java.util.Collection<ModuleDefinitionModel> values)
-
withLibrary
public ModuleDefinition withLibrary(ModuleDefinitionLibrary... values)
-
withLibrary
public ModuleDefinition withLibrary(java.util.Collection<ModuleDefinitionLibrary> values)
-
withCodeSystem
public ModuleDefinition withCodeSystem(ModuleDefinitionCodeSystem... values)
-
withCodeSystem
public ModuleDefinition withCodeSystem(java.util.Collection<ModuleDefinitionCodeSystem> values)
-
withValueSet
public ModuleDefinition withValueSet(ModuleDefinitionValueSet... values)
-
withValueSet
public ModuleDefinition withValueSet(java.util.Collection<ModuleDefinitionValueSet> values)
-
withParameter
public ModuleDefinition withParameter(ModuleDefinitionParameter... values)
-
withParameter
public ModuleDefinition withParameter(java.util.Collection<ModuleDefinitionParameter> values)
-
withData
public ModuleDefinition withData(ModuleDefinitionData... values)
-
withData
public ModuleDefinition withData(java.util.Collection<ModuleDefinitionData> values)
-
withText
public ModuleDefinition withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public ModuleDefinition withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public ModuleDefinition withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public ModuleDefinition withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public ModuleDefinition withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public ModuleDefinition withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public ModuleDefinition withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public ModuleDefinition withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public ModuleDefinition withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public ModuleDefinition withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public ModuleDefinition withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-