public class QuestionnaireOption extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Questionnaire.Option complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Questionnaire.Option">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<choice>
<element name="valueInteger" type="{http://hl7.org/fhir}integer"/>
<element name="valueDate" type="{http://hl7.org/fhir}date"/>
<element name="valueTime" type="{http://hl7.org/fhir}time"/>
<element name="valueString" type="{http://hl7.org/fhir}string"/>
<element name="valueCoding" type="{http://hl7.org/fhir}Coding"/>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Coding |
valueCoding |
protected Date |
valueDate |
protected Integer |
valueInteger |
protected String |
valueString |
protected Time |
valueTime |
modifierExtension| Constructor and Description |
|---|
QuestionnaireOption() |
| 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) |
Coding |
getValueCoding()
Gets the value of the valueCoding property.
|
Date |
getValueDate()
Gets the value of the valueDate property.
|
Integer |
getValueInteger()
Gets the value of the valueInteger property.
|
String |
getValueString()
Gets the value of the valueString property.
|
Time |
getValueTime()
Gets the value of the valueTime property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setValueCoding(Coding value)
Sets the value of the valueCoding property.
|
void |
setValueDate(Date value)
Sets the value of the valueDate property.
|
void |
setValueInteger(Integer value)
Sets the value of the valueInteger property.
|
void |
setValueString(String value)
Sets the value of the valueString property.
|
void |
setValueTime(Time value)
Sets the value of the valueTime property.
|
java.lang.String |
toString() |
QuestionnaireOption |
withExtension(java.util.Collection<Extension> values) |
QuestionnaireOption |
withExtension(Extension... values) |
QuestionnaireOption |
withId(java.lang.String value) |
QuestionnaireOption |
withModifierExtension(java.util.Collection<Extension> values) |
QuestionnaireOption |
withModifierExtension(Extension... values) |
QuestionnaireOption |
withValueCoding(Coding value) |
QuestionnaireOption |
withValueDate(Date value) |
QuestionnaireOption |
withValueInteger(Integer value) |
QuestionnaireOption |
withValueString(String value) |
QuestionnaireOption |
withValueTime(Time value) |
getModifierExtensiongetExtension, getId, setIdprotected Integer valueInteger
protected Date valueDate
protected Time valueTime
protected String valueString
protected Coding valueCoding
public Integer getValueInteger()
Integerpublic void setValueInteger(Integer value)
value - allowed object is
Integerpublic Date getValueDate()
Datepublic void setValueDate(Date value)
value - allowed object is
Datepublic Time getValueTime()
Timepublic void setValueTime(Time value)
value - allowed object is
Timepublic String getValueString()
Stringpublic void setValueString(String value)
value - allowed object is
Stringpublic Coding getValueCoding()
Codingpublic void setValueCoding(Coding value)
value - allowed object is
Codingpublic QuestionnaireOption withValueInteger(Integer value)
public QuestionnaireOption withValueDate(Date value)
public QuestionnaireOption withValueTime(Time value)
public QuestionnaireOption withValueString(String value)
public QuestionnaireOption withValueCoding(Coding value)
public QuestionnaireOption withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic QuestionnaireOption withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic QuestionnaireOption withExtension(Extension... values)
withExtension in class BackboneElementpublic QuestionnaireOption withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic QuestionnaireOption 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