public class Basic extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Basic complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Basic">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="code" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="subject" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="created" type="{http://hl7.org/fhir}date" minOccurs="0"/>
<element name="author" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
author |
protected CodeableConcept |
code |
protected Date |
created |
protected java.util.List<Identifier> |
identifier |
protected Reference |
subject |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Basic() |
| 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) |
Reference |
getAuthor()
Gets the value of the author property.
|
CodeableConcept |
getCode()
Gets the value of the code property.
|
Date |
getCreated()
Gets the value of the created property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
Reference |
getSubject()
Gets the value of the subject property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAuthor(Reference value)
Sets the value of the author property.
|
void |
setCode(CodeableConcept value)
Sets the value of the code property.
|
void |
setCreated(Date value)
Sets the value of the created property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
java.lang.String |
toString() |
Basic |
withAuthor(Reference value) |
Basic |
withCode(CodeableConcept value) |
Basic |
withContained(java.util.Collection<ResourceContainer> values) |
Basic |
withContained(ResourceContainer... values) |
Basic |
withCreated(Date value) |
Basic |
withExtension(java.util.Collection<Extension> values) |
Basic |
withExtension(Extension... values) |
Basic |
withId(Id value) |
Basic |
withIdentifier(java.util.Collection<Identifier> values) |
Basic |
withIdentifier(Identifier... values) |
Basic |
withImplicitRules(Uri value) |
Basic |
withLanguage(Code value) |
Basic |
withMeta(Meta value) |
Basic |
withModifierExtension(java.util.Collection<Extension> values) |
Basic |
withModifierExtension(Extension... values) |
Basic |
withSubject(Reference value) |
Basic |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected CodeableConcept code
protected Reference subject
protected Date created
protected Reference author
public java.util.List<Identifier> getIdentifier()
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 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
public CodeableConcept getCode()
CodeableConceptpublic void setCode(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic Date getCreated()
Datepublic void setCreated(Date value)
value - allowed object is
Datepublic Reference getAuthor()
Referencepublic void setAuthor(Reference value)
value - allowed object is
Referencepublic Basic withIdentifier(Identifier... values)
public Basic withIdentifier(java.util.Collection<Identifier> values)
public Basic withCode(CodeableConcept value)
public Basic withText(Narrative value)
withText in class DomainResourcepublic Basic withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Basic withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Basic withExtension(Extension... values)
withExtension in class DomainResourcepublic Basic withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Basic withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Basic withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Basic withId(Id value)
withId in class DomainResourcepublic Basic withMeta(Meta value)
withMeta in class DomainResourcepublic Basic withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Basic withLanguage(Code value)
withLanguage in class DomainResourcepublic 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)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic 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 DomainResource