Class Task
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Referenceprotected DateTimeprotected Referenceprotected Uriprotected Stringprotected CodeableConceptprotected Identifierprotected DateTimeprotected List<TaskOutput> protected Referenceprotected Referenceprotected TaskPriorityprotected TaskStatusprotected Referenceprotected CodeableConceptFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the created property.Gets the value of the creator property.Gets the value of the definition property.Gets the value of the description property.Gets the value of the failureReason property.getFor()Gets the value of the for property.Gets the value of the identifier property.getInput()Gets the value of the input property.Gets the value of the lastModified property.Gets the value of the output property.getOwner()Gets the value of the owner property.Gets the value of the parent property.Gets the value of the performerType property.Gets the value of the priority property.Gets the value of the status property.Gets the value of the subject property.getType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetCreated(DateTime value) Sets the value of the created property.voidsetCreator(Reference value) Sets the value of the creator property.voidsetDefinition(Uri value) Sets the value of the definition property.voidsetDescription(String value) Sets the value of the description property.voidsetFailureReason(CodeableConcept value) Sets the value of the failureReason property.voidSets the value of the for property.voidsetIdentifier(Identifier value) Sets the value of the identifier property.voidvoidsetLastModified(DateTime value) Sets the value of the lastModified property.voidsetOutput(List<TaskOutput> value) voidSets the value of the owner property.voidSets the value of the parent property.voidsetPerformerType(List<Coding> value) voidsetPriority(TaskPriority value) Sets the value of the priority property.voidsetStatus(TaskStatus value) Sets the value of the status property.voidsetSubject(Reference value) Sets the value of the subject property.voidsetType(CodeableConcept value) Sets the value of the type property.toString()withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withCreated(DateTime value) withCreator(Reference value) withDefinition(Uri value) withDescription(String value) withExtension(Collection<Extension> values) withExtension(Extension... values) withFailureReason(CodeableConcept value) withIdentifier(Identifier value) withImplicitRules(Uri value) withInput(Collection<TaskInput> values) withLanguage(Code value) withLastModified(DateTime value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withOutput(Collection<TaskOutput> values) withOutput(TaskOutput... values) withParent(Reference value) withPerformerType(Collection<Coding> values) withPerformerType(Coding... values) withPriority(TaskPriority value) withStatus(TaskStatus value) withSubject(Reference value) withType(CodeableConcept value) Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
identifier
-
type
-
description
-
performerType
-
priority
-
status
-
failureReason
-
subject
-
_for
-
definition
-
created
-
lastModified
-
creator
-
owner
-
parent
-
input
-
output
-
-
Constructor Details
-
Task
public Task()
-
-
Method Details
-
getIdentifier
Gets the value of the identifier property.- Returns:
- possible object is
Identifier
-
setIdentifier
Sets the value of the identifier property.- Parameters:
value- allowed object isIdentifier
-
getType
Gets the value of the type property.- Returns:
- possible object is
CodeableConcept
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isCodeableConcept
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getPerformerType
Gets the value of the performerType property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getPriority
Gets the value of the priority property.- Returns:
- possible object is
TaskPriority
-
setPriority
Sets the value of the priority property.- Parameters:
value- allowed object isTaskPriority
-
getStatus
Gets the value of the status property.- Returns:
- possible object is
TaskStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isTaskStatus
-
getFailureReason
Gets the value of the failureReason property.- Returns:
- possible object is
CodeableConcept
-
setFailureReason
Sets the value of the failureReason property.- Parameters:
value- allowed object isCodeableConcept
-
getSubject
Gets the value of the subject property.- Returns:
- possible object is
Reference
-
setSubject
Sets the value of the subject property.- Parameters:
value- allowed object isReference
-
getFor
Gets the value of the for property.- Returns:
- possible object is
Reference
-
setFor
Sets the value of the for property.- Parameters:
value- allowed object isReference
-
getDefinition
Gets the value of the definition property.- Returns:
- possible object is
Uri
-
setDefinition
Sets the value of the definition property.- Parameters:
value- allowed object isUri
-
getCreated
Gets the value of the created property.- Returns:
- possible object is
DateTime
-
setCreated
Sets the value of the created property.- Parameters:
value- allowed object isDateTime
-
getLastModified
Gets the value of the lastModified property.- Returns:
- possible object is
DateTime
-
setLastModified
Sets the value of the lastModified property.- Parameters:
value- allowed object isDateTime
-
getCreator
Gets the value of the creator property.- Returns:
- possible object is
Reference
-
setCreator
Sets the value of the creator property.- Parameters:
value- allowed object isReference
-
getOwner
Gets the value of the owner property.- Returns:
- possible object is
Reference
-
setOwner
Sets the value of the owner property.- Parameters:
value- allowed object isReference
-
getParent
Gets the value of the parent property.- Returns:
- possible object is
Reference
-
setParent
Sets the value of the parent property.- Parameters:
value- allowed object isReference
-
getInput
Gets the value of the input property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getOutput
Gets the value of the output property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
withIdentifier
-
withType
-
withDescription
-
withPerformerType
-
withPerformerType
-
withPriority
-
withStatus
-
withFailureReason
-
withSubject
-
withFor
-
withDefinition
-
withCreated
-
withLastModified
-
withCreator
-
withOwner
-
withParent
-
withInput
-
withInput
-
withOutput
-
withOutput
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classDomainResource
-
toString
- Overrides:
toStringin classDomainResource
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
setPerformerType
-
setInput
-
setOutput
-