public class QuestionnaireEnableWhen 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.EnableWhen complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Questionnaire.EnableWhen">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="question" type="{http://hl7.org/fhir}string"/>
<element name="answered" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<choice minOccurs="0">
<element name="answerBoolean" type="{http://hl7.org/fhir}boolean"/>
<element name="answerDecimal" type="{http://hl7.org/fhir}decimal"/>
<element name="answerInteger" type="{http://hl7.org/fhir}integer"/>
<element name="answerDate" type="{http://hl7.org/fhir}date"/>
<element name="answerDateTime" type="{http://hl7.org/fhir}dateTime"/>
<element name="answerInstant" type="{http://hl7.org/fhir}instant"/>
<element name="answerTime" type="{http://hl7.org/fhir}time"/>
<element name="answerString" type="{http://hl7.org/fhir}string"/>
<element name="answerUri" type="{http://hl7.org/fhir}uri"/>
<element name="answerAttachment" type="{http://hl7.org/fhir}Attachment"/>
<element name="answerCoding" type="{http://hl7.org/fhir}Coding"/>
<element name="answerQuantity" type="{http://hl7.org/fhir}Quantity"/>
<element name="answerReference" type="{http://hl7.org/fhir}Reference"/>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Attachment |
answerAttachment |
protected Boolean |
answerBoolean |
protected Coding |
answerCoding |
protected Date |
answerDate |
protected DateTime |
answerDateTime |
protected Decimal |
answerDecimal |
protected Boolean |
answered |
protected Instant |
answerInstant |
protected Integer |
answerInteger |
protected Quantity |
answerQuantity |
protected Reference |
answerReference |
protected String |
answerString |
protected Time |
answerTime |
protected Uri |
answerUri |
protected String |
question |
modifierExtension| Constructor and Description |
|---|
QuestionnaireEnableWhen() |
| 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) |
Attachment |
getAnswerAttachment()
Gets the value of the answerAttachment property.
|
Boolean |
getAnswerBoolean()
Gets the value of the answerBoolean property.
|
Coding |
getAnswerCoding()
Gets the value of the answerCoding property.
|
Date |
getAnswerDate()
Gets the value of the answerDate property.
|
DateTime |
getAnswerDateTime()
Gets the value of the answerDateTime property.
|
Decimal |
getAnswerDecimal()
Gets the value of the answerDecimal property.
|
Boolean |
getAnswered()
Gets the value of the answered property.
|
Instant |
getAnswerInstant()
Gets the value of the answerInstant property.
|
Integer |
getAnswerInteger()
Gets the value of the answerInteger property.
|
Quantity |
getAnswerQuantity()
Gets the value of the answerQuantity property.
|
Reference |
getAnswerReference()
Gets the value of the answerReference property.
|
String |
getAnswerString()
Gets the value of the answerString property.
|
Time |
getAnswerTime()
Gets the value of the answerTime property.
|
Uri |
getAnswerUri()
Gets the value of the answerUri property.
|
String |
getQuestion()
Gets the value of the question property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAnswerAttachment(Attachment value)
Sets the value of the answerAttachment property.
|
void |
setAnswerBoolean(Boolean value)
Sets the value of the answerBoolean property.
|
void |
setAnswerCoding(Coding value)
Sets the value of the answerCoding property.
|
void |
setAnswerDate(Date value)
Sets the value of the answerDate property.
|
void |
setAnswerDateTime(DateTime value)
Sets the value of the answerDateTime property.
|
void |
setAnswerDecimal(Decimal value)
Sets the value of the answerDecimal property.
|
void |
setAnswered(Boolean value)
Sets the value of the answered property.
|
void |
setAnswerInstant(Instant value)
Sets the value of the answerInstant property.
|
void |
setAnswerInteger(Integer value)
Sets the value of the answerInteger property.
|
void |
setAnswerQuantity(Quantity value)
Sets the value of the answerQuantity property.
|
void |
setAnswerReference(Reference value)
Sets the value of the answerReference property.
|
void |
setAnswerString(String value)
Sets the value of the answerString property.
|
void |
setAnswerTime(Time value)
Sets the value of the answerTime property.
|
void |
setAnswerUri(Uri value)
Sets the value of the answerUri property.
|
void |
setQuestion(String value)
Sets the value of the question property.
|
java.lang.String |
toString() |
QuestionnaireEnableWhen |
withAnswerAttachment(Attachment value) |
QuestionnaireEnableWhen |
withAnswerBoolean(Boolean value) |
QuestionnaireEnableWhen |
withAnswerCoding(Coding value) |
QuestionnaireEnableWhen |
withAnswerDate(Date value) |
QuestionnaireEnableWhen |
withAnswerDateTime(DateTime value) |
QuestionnaireEnableWhen |
withAnswerDecimal(Decimal value) |
QuestionnaireEnableWhen |
withAnswered(Boolean value) |
QuestionnaireEnableWhen |
withAnswerInstant(Instant value) |
QuestionnaireEnableWhen |
withAnswerInteger(Integer value) |
QuestionnaireEnableWhen |
withAnswerQuantity(Quantity value) |
QuestionnaireEnableWhen |
withAnswerReference(Reference value) |
QuestionnaireEnableWhen |
withAnswerString(String value) |
QuestionnaireEnableWhen |
withAnswerTime(Time value) |
QuestionnaireEnableWhen |
withAnswerUri(Uri value) |
QuestionnaireEnableWhen |
withExtension(java.util.Collection<Extension> values) |
QuestionnaireEnableWhen |
withExtension(Extension... values) |
QuestionnaireEnableWhen |
withId(java.lang.String value) |
QuestionnaireEnableWhen |
withModifierExtension(java.util.Collection<Extension> values) |
QuestionnaireEnableWhen |
withModifierExtension(Extension... values) |
QuestionnaireEnableWhen |
withQuestion(String value) |
getModifierExtensiongetExtension, getId, setIdprotected String question
protected Boolean answered
protected Boolean answerBoolean
protected Decimal answerDecimal
protected Integer answerInteger
protected Date answerDate
protected DateTime answerDateTime
protected Instant answerInstant
protected Time answerTime
protected String answerString
protected Uri answerUri
protected Attachment answerAttachment
protected Coding answerCoding
protected Quantity answerQuantity
protected Reference answerReference
public String getQuestion()
Stringpublic void setQuestion(String value)
value - allowed object is
Stringpublic Boolean getAnswered()
Booleanpublic void setAnswered(Boolean value)
value - allowed object is
Booleanpublic Boolean getAnswerBoolean()
Booleanpublic void setAnswerBoolean(Boolean value)
value - allowed object is
Booleanpublic Decimal getAnswerDecimal()
Decimalpublic void setAnswerDecimal(Decimal value)
value - allowed object is
Decimalpublic Integer getAnswerInteger()
Integerpublic void setAnswerInteger(Integer value)
value - allowed object is
Integerpublic Date getAnswerDate()
Datepublic void setAnswerDate(Date value)
value - allowed object is
Datepublic DateTime getAnswerDateTime()
DateTimepublic void setAnswerDateTime(DateTime value)
value - allowed object is
DateTimepublic Instant getAnswerInstant()
Instantpublic void setAnswerInstant(Instant value)
value - allowed object is
Instantpublic Time getAnswerTime()
Timepublic void setAnswerTime(Time value)
value - allowed object is
Timepublic String getAnswerString()
Stringpublic void setAnswerString(String value)
value - allowed object is
Stringpublic Uri getAnswerUri()
Uripublic void setAnswerUri(Uri value)
value - allowed object is
Uripublic Attachment getAnswerAttachment()
Attachmentpublic void setAnswerAttachment(Attachment value)
value - allowed object is
Attachmentpublic Coding getAnswerCoding()
Codingpublic void setAnswerCoding(Coding value)
value - allowed object is
Codingpublic Quantity getAnswerQuantity()
Quantitypublic void setAnswerQuantity(Quantity value)
value - allowed object is
Quantitypublic Reference getAnswerReference()
Referencepublic void setAnswerReference(Reference value)
value - allowed object is
Referencepublic QuestionnaireEnableWhen withQuestion(String value)
public QuestionnaireEnableWhen withAnswered(Boolean value)
public QuestionnaireEnableWhen withAnswerBoolean(Boolean value)
public QuestionnaireEnableWhen withAnswerDecimal(Decimal value)
public QuestionnaireEnableWhen withAnswerInteger(Integer value)
public QuestionnaireEnableWhen withAnswerDate(Date value)
public QuestionnaireEnableWhen withAnswerDateTime(DateTime value)
public QuestionnaireEnableWhen withAnswerInstant(Instant value)
public QuestionnaireEnableWhen withAnswerTime(Time value)
public QuestionnaireEnableWhen withAnswerString(String value)
public QuestionnaireEnableWhen withAnswerUri(Uri value)
public QuestionnaireEnableWhen withAnswerAttachment(Attachment value)
public QuestionnaireEnableWhen withAnswerCoding(Coding value)
public QuestionnaireEnableWhen withAnswerQuantity(Quantity value)
public QuestionnaireEnableWhen withAnswerReference(Reference value)
public QuestionnaireEnableWhen withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic QuestionnaireEnableWhen withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic QuestionnaireEnableWhen withExtension(Extension... values)
withExtension in class BackboneElementpublic QuestionnaireEnableWhen withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic QuestionnaireEnableWhen 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