public class DomainResource extends Resource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for DomainResource complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DomainResource">
<complexContent>
<extension base="{http://hl7.org/fhir}Resource">
<sequence>
<element name="text" type="{http://hl7.org/fhir}Narrative" minOccurs="0"/>
<element name="contained" type="{http://hl7.org/fhir}ResourceContainer" maxOccurs="unbounded" minOccurs="0"/>
<element name="extension" type="{http://hl7.org/fhir}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element name="modifierExtension" type="{http://hl7.org/fhir}Extension" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<ResourceContainer> |
contained |
protected java.util.List<Extension> |
extension |
protected java.util.List<Extension> |
modifierExtension |
protected Narrative |
text |
id, implicitRules, language, meta| Constructor and Description |
|---|
DomainResource() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
java.util.List<ResourceContainer> |
getContained()
Gets the value of the contained property.
|
java.util.List<Extension> |
getExtension()
Gets the value of the extension property.
|
java.util.List<Extension> |
getModifierExtension()
Gets the value of the modifierExtension property.
|
Narrative |
getText()
Gets the value of the text property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setText(Narrative value)
Sets the value of the text property.
|
java.lang.String |
toString() |
DomainResource |
withContained(java.util.Collection<ResourceContainer> values) |
DomainResource |
withContained(ResourceContainer... values) |
DomainResource |
withExtension(java.util.Collection<Extension> values) |
DomainResource |
withExtension(Extension... values) |
DomainResource |
withId(Id value) |
DomainResource |
withImplicitRules(Uri value) |
DomainResource |
withLanguage(Code value) |
DomainResource |
withMeta(Meta value) |
DomainResource |
withModifierExtension(java.util.Collection<Extension> values) |
DomainResource |
withModifierExtension(Extension... values) |
DomainResource |
withText(Narrative value) |
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Narrative text
protected java.util.List<ResourceContainer> contained
protected java.util.List<Extension> extension
protected java.util.List<Extension> modifierExtension
public Narrative getText()
Narrativepublic void setText(Narrative value)
value - allowed object is
Narrativepublic java.util.List<ResourceContainer> getContained()
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 set method for the contained property.
For example, to add a new item, do as follows:
getContained().add(newItem);
Objects of the following type(s) are allowed in the list
ResourceContainer
public java.util.List<Extension> getExtension()
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 set method for the extension property.
For example, to add a new item, do as follows:
getExtension().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
public java.util.List<Extension> getModifierExtension()
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 set method for the modifierExtension property.
For example, to add a new item, do as follows:
getModifierExtension().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
public DomainResource withText(Narrative value)
public DomainResource withContained(ResourceContainer... values)
public DomainResource withContained(java.util.Collection<ResourceContainer> values)
public DomainResource withExtension(Extension... values)
public DomainResource withExtension(java.util.Collection<Extension> values)
public DomainResource withModifierExtension(Extension... values)
public DomainResource withModifierExtension(java.util.Collection<Extension> values)
public DomainResource withId(Id value)
public DomainResource withMeta(Meta value)
public DomainResource withImplicitRules(Uri value)
withImplicitRules in class Resourcepublic DomainResource withLanguage(Code value)
withLanguage in class Resourcepublic 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.EqualsStrategy strategy)
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class Resource