public class ProtocolCondition 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.Condition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Protocol.Condition">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="type" type="{http://hl7.org/fhir}CodeableConcept"/>
<choice>
<element name="valueCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="valueBoolean" type="{http://hl7.org/fhir}boolean"/>
<element name="valueQuantity" type="{http://hl7.org/fhir}SimpleQuantity"/>
<element name="valueRange" type="{http://hl7.org/fhir}Range"/>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
type |
protected Boolean |
valueBoolean |
protected CodeableConcept |
valueCodeableConcept |
protected SimpleQuantity |
valueQuantity |
protected Range |
valueRange |
modifierExtension| Constructor and Description |
|---|
ProtocolCondition() |
| 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 |
getType()
Gets the value of the type property.
|
Boolean |
getValueBoolean()
Gets the value of the valueBoolean property.
|
CodeableConcept |
getValueCodeableConcept()
Gets the value of the valueCodeableConcept property.
|
SimpleQuantity |
getValueQuantity()
Gets the value of the valueQuantity property.
|
Range |
getValueRange()
Gets the value of the valueRange property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setType(CodeableConcept value)
Sets the value of the type property.
|
void |
setValueBoolean(Boolean value)
Sets the value of the valueBoolean property.
|
void |
setValueCodeableConcept(CodeableConcept value)
Sets the value of the valueCodeableConcept property.
|
void |
setValueQuantity(SimpleQuantity value)
Sets the value of the valueQuantity property.
|
void |
setValueRange(Range value)
Sets the value of the valueRange property.
|
java.lang.String |
toString() |
ProtocolCondition |
withExtension(java.util.Collection<Extension> values) |
ProtocolCondition |
withExtension(Extension... values) |
ProtocolCondition |
withId(java.lang.String value) |
ProtocolCondition |
withModifierExtension(java.util.Collection<Extension> values) |
ProtocolCondition |
withModifierExtension(Extension... values) |
ProtocolCondition |
withType(CodeableConcept value) |
ProtocolCondition |
withValueBoolean(Boolean value) |
ProtocolCondition |
withValueCodeableConcept(CodeableConcept value) |
ProtocolCondition |
withValueQuantity(SimpleQuantity value) |
ProtocolCondition |
withValueRange(Range value) |
getModifierExtensiongetExtension, getId, setIdprotected CodeableConcept type
protected CodeableConcept valueCodeableConcept
protected Boolean valueBoolean
protected SimpleQuantity valueQuantity
protected Range valueRange
public CodeableConcept getType()
CodeableConceptpublic void setType(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CodeableConcept getValueCodeableConcept()
CodeableConceptpublic void setValueCodeableConcept(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Boolean getValueBoolean()
Booleanpublic void setValueBoolean(Boolean value)
value - allowed object is
Booleanpublic SimpleQuantity getValueQuantity()
SimpleQuantitypublic void setValueQuantity(SimpleQuantity value)
value - allowed object is
SimpleQuantitypublic Range getValueRange()
Rangepublic void setValueRange(Range value)
value - allowed object is
Rangepublic ProtocolCondition withType(CodeableConcept value)
public ProtocolCondition withValueCodeableConcept(CodeableConcept value)
public ProtocolCondition withValueBoolean(Boolean value)
public ProtocolCondition withValueQuantity(SimpleQuantity value)
public ProtocolCondition withValueRange(Range value)
public ProtocolCondition withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic ProtocolCondition withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic ProtocolCondition withExtension(Extension... values)
withExtension in class BackboneElementpublic ProtocolCondition withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic ProtocolCondition 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