public class ProtocolDetail extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Protocol.Detail complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Protocol.Detail">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="category" type="{http://hl7.org/fhir}ActivityDefinitionCategory" minOccurs="0"/>
<element name="code" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<choice minOccurs="0">
<element name="timingCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="timingTiming" type="{http://hl7.org/fhir}Timing"/>
</choice>
<element name="location" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="performer" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="product" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="quantity" type="{http://hl7.org/fhir}SimpleQuantity" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ActivityDefinitionCategory |
category |
protected CodeableConcept |
code |
protected String |
description |
protected Reference |
location |
protected java.util.List<Reference> |
performer |
protected Reference |
product |
protected SimpleQuantity |
quantity |
protected CodeableConcept |
timingCodeableConcept |
protected Timing |
timingTiming |
modifierExtension| Constructor and Description |
|---|
ProtocolDetail() |
| 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) |
ActivityDefinitionCategory |
getCategory()
Gets the value of the category property.
|
CodeableConcept |
getCode()
Gets the value of the code property.
|
String |
getDescription()
Gets the value of the description property.
|
Reference |
getLocation()
Gets the value of the location property.
|
java.util.List<Reference> |
getPerformer()
Gets the value of the performer property.
|
Reference |
getProduct()
Gets the value of the product property.
|
SimpleQuantity |
getQuantity()
Gets the value of the quantity property.
|
CodeableConcept |
getTimingCodeableConcept()
Gets the value of the timingCodeableConcept property.
|
Timing |
getTimingTiming()
Gets the value of the timingTiming property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCategory(ActivityDefinitionCategory value)
Sets the value of the category property.
|
void |
setCode(CodeableConcept value)
Sets the value of the code property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setLocation(Reference value)
Sets the value of the location property.
|
void |
setProduct(Reference value)
Sets the value of the product property.
|
void |
setQuantity(SimpleQuantity value)
Sets the value of the quantity property.
|
void |
setTimingCodeableConcept(CodeableConcept value)
Sets the value of the timingCodeableConcept property.
|
void |
setTimingTiming(Timing value)
Sets the value of the timingTiming property.
|
java.lang.String |
toString() |
ProtocolDetail |
withCategory(ActivityDefinitionCategory value) |
ProtocolDetail |
withCode(CodeableConcept value) |
ProtocolDetail |
withDescription(String value) |
ProtocolDetail |
withExtension(java.util.Collection<Extension> values) |
ProtocolDetail |
withExtension(Extension... values) |
ProtocolDetail |
withId(java.lang.String value) |
ProtocolDetail |
withLocation(Reference value) |
ProtocolDetail |
withModifierExtension(java.util.Collection<Extension> values) |
ProtocolDetail |
withModifierExtension(Extension... values) |
ProtocolDetail |
withPerformer(java.util.Collection<Reference> values) |
ProtocolDetail |
withPerformer(Reference... values) |
ProtocolDetail |
withProduct(Reference value) |
ProtocolDetail |
withQuantity(SimpleQuantity value) |
ProtocolDetail |
withTimingCodeableConcept(CodeableConcept value) |
ProtocolDetail |
withTimingTiming(Timing value) |
getModifierExtensiongetExtension, getId, setIdprotected ActivityDefinitionCategory category
protected CodeableConcept code
protected CodeableConcept timingCodeableConcept
protected Timing timingTiming
protected Reference location
protected java.util.List<Reference> performer
protected Reference product
protected SimpleQuantity quantity
protected String description
public ActivityDefinitionCategory getCategory()
ActivityDefinitionCategorypublic void setCategory(ActivityDefinitionCategory value)
value - allowed object is
ActivityDefinitionCategorypublic CodeableConcept getCode()
CodeableConceptpublic void setCode(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CodeableConcept getTimingCodeableConcept()
CodeableConceptpublic void setTimingCodeableConcept(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Timing getTimingTiming()
Timingpublic void setTimingTiming(Timing value)
value - allowed object is
Timingpublic Reference getLocation()
Referencepublic void setLocation(Reference value)
value - allowed object is
Referencepublic java.util.List<Reference> getPerformer()
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 performer property.
For example, to add a new item, do as follows:
getPerformer().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public Reference getProduct()
Referencepublic void setProduct(Reference value)
value - allowed object is
Referencepublic SimpleQuantity getQuantity()
SimpleQuantitypublic void setQuantity(SimpleQuantity value)
value - allowed object is
SimpleQuantitypublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic ProtocolDetail withCategory(ActivityDefinitionCategory value)
public ProtocolDetail withCode(CodeableConcept value)
public ProtocolDetail withTimingCodeableConcept(CodeableConcept value)
public ProtocolDetail withTimingTiming(Timing value)
public ProtocolDetail withLocation(Reference value)
public ProtocolDetail withPerformer(Reference... values)
public ProtocolDetail withPerformer(java.util.Collection<Reference> values)
public ProtocolDetail withProduct(Reference value)
public ProtocolDetail withQuantity(SimpleQuantity value)
public ProtocolDetail withDescription(String value)
public ProtocolDetail withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic ProtocolDetail withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic ProtocolDetail withExtension(Extension... values)
withExtension in class BackboneElementpublic ProtocolDetail withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic ProtocolDetail 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