public class Task extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Task complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Task">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
<element name="type" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="performerType" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
<element name="priority" type="{http://hl7.org/fhir}TaskPriority" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}TaskStatus"/>
<element name="failureReason" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="subject" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="for" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="definition" type="{http://hl7.org/fhir}uri" minOccurs="0"/>
<element name="created" type="{http://hl7.org/fhir}dateTime"/>
<element name="lastModified" type="{http://hl7.org/fhir}dateTime"/>
<element name="creator" type="{http://hl7.org/fhir}Reference"/>
<element name="owner" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="parent" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="input" type="{http://hl7.org/fhir}Task.Input" maxOccurs="unbounded" minOccurs="0"/>
<element name="output" type="{http://hl7.org/fhir}Task.Output" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
_for |
protected DateTime |
created |
protected Reference |
creator |
protected Uri |
definition |
protected String |
description |
protected CodeableConcept |
failureReason |
protected Identifier |
identifier |
protected java.util.List<TaskInput> |
input |
protected DateTime |
lastModified |
protected java.util.List<TaskOutput> |
output |
protected Reference |
owner |
protected Reference |
parent |
protected java.util.List<Coding> |
performerType |
protected TaskPriority |
priority |
protected TaskStatus |
status |
protected Reference |
subject |
protected CodeableConcept |
type |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Task() |
| 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) |
DateTime |
getCreated()
Gets the value of the created property.
|
Reference |
getCreator()
Gets the value of the creator property.
|
Uri |
getDefinition()
Gets the value of the definition property.
|
String |
getDescription()
Gets the value of the description property.
|
CodeableConcept |
getFailureReason()
Gets the value of the failureReason property.
|
Reference |
getFor()
Gets the value of the for property.
|
Identifier |
getIdentifier()
Gets the value of the identifier property.
|
java.util.List<TaskInput> |
getInput()
Gets the value of the input property.
|
DateTime |
getLastModified()
Gets the value of the lastModified property.
|
java.util.List<TaskOutput> |
getOutput()
Gets the value of the output property.
|
Reference |
getOwner()
Gets the value of the owner property.
|
Reference |
getParent()
Gets the value of the parent property.
|
java.util.List<Coding> |
getPerformerType()
Gets the value of the performerType property.
|
TaskPriority |
getPriority()
Gets the value of the priority property.
|
TaskStatus |
getStatus()
Gets the value of the status property.
|
Reference |
getSubject()
Gets the value of the subject 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 |
setCreated(DateTime value)
Sets the value of the created property.
|
void |
setCreator(Reference value)
Sets the value of the creator property.
|
void |
setDefinition(Uri value)
Sets the value of the definition property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setFailureReason(CodeableConcept value)
Sets the value of the failureReason property.
|
void |
setFor(Reference value)
Sets the value of the for property.
|
void |
setIdentifier(Identifier value)
Sets the value of the identifier property.
|
void |
setLastModified(DateTime value)
Sets the value of the lastModified property.
|
void |
setOwner(Reference value)
Sets the value of the owner property.
|
void |
setParent(Reference value)
Sets the value of the parent property.
|
void |
setPriority(TaskPriority value)
Sets the value of the priority property.
|
void |
setStatus(TaskStatus value)
Sets the value of the status property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
void |
setType(CodeableConcept value)
Sets the value of the type property.
|
java.lang.String |
toString() |
Task |
withContained(java.util.Collection<ResourceContainer> values) |
Task |
withContained(ResourceContainer... values) |
Task |
withCreated(DateTime value) |
Task |
withCreator(Reference value) |
Task |
withDefinition(Uri value) |
Task |
withDescription(String value) |
Task |
withExtension(java.util.Collection<Extension> values) |
Task |
withExtension(Extension... values) |
Task |
withFailureReason(CodeableConcept value) |
Task |
withFor(Reference value) |
Task |
withId(Id value) |
Task |
withIdentifier(Identifier value) |
Task |
withImplicitRules(Uri value) |
Task |
withInput(java.util.Collection<TaskInput> values) |
Task |
withInput(TaskInput... values) |
Task |
withLanguage(Code value) |
Task |
withLastModified(DateTime value) |
Task |
withMeta(Meta value) |
Task |
withModifierExtension(java.util.Collection<Extension> values) |
Task |
withModifierExtension(Extension... values) |
Task |
withOutput(java.util.Collection<TaskOutput> values) |
Task |
withOutput(TaskOutput... values) |
Task |
withOwner(Reference value) |
Task |
withParent(Reference value) |
Task |
withPerformerType(Coding... values) |
Task |
withPerformerType(java.util.Collection<Coding> values) |
Task |
withPriority(TaskPriority value) |
Task |
withStatus(TaskStatus value) |
Task |
withSubject(Reference value) |
Task |
withText(Narrative value) |
Task |
withType(CodeableConcept value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Identifier identifier
protected CodeableConcept type
protected String description
protected java.util.List<Coding> performerType
protected TaskPriority priority
protected TaskStatus status
protected CodeableConcept failureReason
protected Reference subject
protected Reference _for
protected Uri definition
protected DateTime created
protected DateTime lastModified
protected Reference creator
protected Reference owner
protected Reference parent
protected java.util.List<TaskInput> input
protected java.util.List<TaskOutput> output
public Identifier getIdentifier()
Identifierpublic void setIdentifier(Identifier value)
value - allowed object is
Identifierpublic CodeableConcept getType()
CodeableConceptpublic void setType(CodeableConcept value)
value - allowed object is
CodeableConceptpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic java.util.List<Coding> getPerformerType()
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 performerType property.
For example, to add a new item, do as follows:
getPerformerType().add(newItem);
Objects of the following type(s) are allowed in the list
Coding
public TaskPriority getPriority()
TaskPrioritypublic void setPriority(TaskPriority value)
value - allowed object is
TaskPrioritypublic TaskStatus getStatus()
TaskStatuspublic void setStatus(TaskStatus value)
value - allowed object is
TaskStatuspublic CodeableConcept getFailureReason()
CodeableConceptpublic void setFailureReason(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic Reference getFor()
Referencepublic void setFor(Reference value)
value - allowed object is
Referencepublic Uri getDefinition()
Uripublic void setDefinition(Uri value)
value - allowed object is
Uripublic DateTime getCreated()
DateTimepublic void setCreated(DateTime value)
value - allowed object is
DateTimepublic DateTime getLastModified()
DateTimepublic void setLastModified(DateTime value)
value - allowed object is
DateTimepublic Reference getCreator()
Referencepublic void setCreator(Reference value)
value - allowed object is
Referencepublic Reference getOwner()
Referencepublic void setOwner(Reference value)
value - allowed object is
Referencepublic Reference getParent()
Referencepublic void setParent(Reference value)
value - allowed object is
Referencepublic java.util.List<TaskInput> getInput()
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 input property.
For example, to add a new item, do as follows:
getInput().add(newItem);
Objects of the following type(s) are allowed in the list
TaskInput
public java.util.List<TaskOutput> getOutput()
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 output property.
For example, to add a new item, do as follows:
getOutput().add(newItem);
Objects of the following type(s) are allowed in the list
TaskOutput
public Task withIdentifier(Identifier value)
public Task withType(CodeableConcept value)
public Task withPriority(TaskPriority value)
public Task withStatus(TaskStatus value)
public Task withFailureReason(CodeableConcept value)
public Task withOutput(TaskOutput... values)
public Task withOutput(java.util.Collection<TaskOutput> values)
public Task withText(Narrative value)
withText in class DomainResourcepublic Task withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Task withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Task withExtension(Extension... values)
withExtension in class DomainResourcepublic Task withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Task withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Task withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Task withId(Id value)
withId in class DomainResourcepublic Task withMeta(Meta value)
withMeta in class DomainResourcepublic Task withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Task withLanguage(Code value)
withLanguage in class DomainResourcepublic 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 DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic 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 DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic 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 DomainResourcepublic 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 DomainResource