public class SpecimenTreatment extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Specimen.Treatment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Specimen.Treatment">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="procedure" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="additive" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Reference> |
additive |
protected String |
description |
protected CodeableConcept |
procedure |
modifierExtension| Constructor and Description |
|---|
SpecimenTreatment() |
| 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<Reference> |
getAdditive()
Gets the value of the additive property.
|
String |
getDescription()
Gets the value of the description property.
|
CodeableConcept |
getProcedure()
Gets the value of the procedure property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setProcedure(CodeableConcept value)
Sets the value of the procedure property.
|
java.lang.String |
toString() |
SpecimenTreatment |
withAdditive(java.util.Collection<Reference> values) |
SpecimenTreatment |
withAdditive(Reference... values) |
SpecimenTreatment |
withDescription(String value) |
SpecimenTreatment |
withExtension(java.util.Collection<Extension> values) |
SpecimenTreatment |
withExtension(Extension... values) |
SpecimenTreatment |
withId(java.lang.String value) |
SpecimenTreatment |
withModifierExtension(java.util.Collection<Extension> values) |
SpecimenTreatment |
withModifierExtension(Extension... values) |
SpecimenTreatment |
withProcedure(CodeableConcept value) |
getModifierExtensiongetExtension, getId, setIdprotected String description
protected CodeableConcept procedure
protected java.util.List<Reference> additive
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic CodeableConcept getProcedure()
CodeableConceptpublic void setProcedure(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<Reference> getAdditive()
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 additive property.
For example, to add a new item, do as follows:
getAdditive().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public SpecimenTreatment withDescription(String value)
public SpecimenTreatment withProcedure(CodeableConcept value)
public SpecimenTreatment withAdditive(Reference... values)
public SpecimenTreatment withAdditive(java.util.Collection<Reference> values)
public SpecimenTreatment withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic SpecimenTreatment withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic SpecimenTreatment withExtension(Extension... values)
withExtension in class BackboneElementpublic SpecimenTreatment withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic SpecimenTreatment withId(java.lang.String value)
withId in class BackboneElementpublic 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 BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic 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 BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic 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 BackboneElementpublic 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 BackboneElement