public class SpecimenContainer 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.Container complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Specimen.Container">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="type" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="capacity" type="{http://hl7.org/fhir}SimpleQuantity" minOccurs="0"/>
<element name="specimenQuantity" type="{http://hl7.org/fhir}SimpleQuantity" minOccurs="0"/>
<choice minOccurs="0">
<element name="additiveCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="additiveReference" type="{http://hl7.org/fhir}Reference"/>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
additiveCodeableConcept |
protected Reference |
additiveReference |
protected SimpleQuantity |
capacity |
protected String |
description |
protected java.util.List<Identifier> |
identifier |
protected SimpleQuantity |
specimenQuantity |
protected CodeableConcept |
type |
modifierExtension| Constructor and Description |
|---|
SpecimenContainer() |
| 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) |
CodeableConcept |
getAdditiveCodeableConcept()
Gets the value of the additiveCodeableConcept property.
|
Reference |
getAdditiveReference()
Gets the value of the additiveReference property.
|
SimpleQuantity |
getCapacity()
Gets the value of the capacity property.
|
String |
getDescription()
Gets the value of the description property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
SimpleQuantity |
getSpecimenQuantity()
Gets the value of the specimenQuantity property.
|
CodeableConcept |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAdditiveCodeableConcept(CodeableConcept value)
Sets the value of the additiveCodeableConcept property.
|
void |
setAdditiveReference(Reference value)
Sets the value of the additiveReference property.
|
void |
setCapacity(SimpleQuantity value)
Sets the value of the capacity property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setSpecimenQuantity(SimpleQuantity value)
Sets the value of the specimenQuantity property.
|
void |
setType(CodeableConcept value)
Sets the value of the type property.
|
java.lang.String |
toString() |
SpecimenContainer |
withAdditiveCodeableConcept(CodeableConcept value) |
SpecimenContainer |
withAdditiveReference(Reference value) |
SpecimenContainer |
withCapacity(SimpleQuantity value) |
SpecimenContainer |
withDescription(String value) |
SpecimenContainer |
withExtension(java.util.Collection<Extension> values) |
SpecimenContainer |
withExtension(Extension... values) |
SpecimenContainer |
withId(java.lang.String value) |
SpecimenContainer |
withIdentifier(java.util.Collection<Identifier> values) |
SpecimenContainer |
withIdentifier(Identifier... values) |
SpecimenContainer |
withModifierExtension(java.util.Collection<Extension> values) |
SpecimenContainer |
withModifierExtension(Extension... values) |
SpecimenContainer |
withSpecimenQuantity(SimpleQuantity value) |
SpecimenContainer |
withType(CodeableConcept value) |
getModifierExtensiongetExtension, getId, setIdprotected java.util.List<Identifier> identifier
protected String description
protected CodeableConcept type
protected SimpleQuantity capacity
protected SimpleQuantity specimenQuantity
protected CodeableConcept additiveCodeableConcept
protected Reference additiveReference
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 String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic CodeableConcept getType()
CodeableConceptpublic void setType(CodeableConcept value)
value - allowed object is
CodeableConceptpublic SimpleQuantity getCapacity()
SimpleQuantitypublic void setCapacity(SimpleQuantity value)
value - allowed object is
SimpleQuantitypublic SimpleQuantity getSpecimenQuantity()
SimpleQuantitypublic void setSpecimenQuantity(SimpleQuantity value)
value - allowed object is
SimpleQuantitypublic CodeableConcept getAdditiveCodeableConcept()
CodeableConceptpublic void setAdditiveCodeableConcept(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getAdditiveReference()
Referencepublic void setAdditiveReference(Reference value)
value - allowed object is
Referencepublic SpecimenContainer withIdentifier(Identifier... values)
public SpecimenContainer withIdentifier(java.util.Collection<Identifier> values)
public SpecimenContainer withDescription(String value)
public SpecimenContainer withType(CodeableConcept value)
public SpecimenContainer withCapacity(SimpleQuantity value)
public SpecimenContainer withSpecimenQuantity(SimpleQuantity value)
public SpecimenContainer withAdditiveCodeableConcept(CodeableConcept value)
public SpecimenContainer withAdditiveReference(Reference value)
public SpecimenContainer withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic SpecimenContainer withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic SpecimenContainer withExtension(Extension... values)
withExtension in class BackboneElementpublic SpecimenContainer withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic SpecimenContainer 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