public class ProtocolStep 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.Step complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Protocol.Step">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="name" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="duration" type="{http://hl7.org/fhir}Duration" minOccurs="0"/>
<element name="precondition" type="{http://hl7.org/fhir}Protocol.Precondition" minOccurs="0"/>
<element name="exit" type="{http://hl7.org/fhir}Protocol.Precondition" minOccurs="0"/>
<element name="firstActivity" type="{http://hl7.org/fhir}uri" minOccurs="0"/>
<element name="activity" type="{http://hl7.org/fhir}Protocol.Activity" maxOccurs="unbounded" minOccurs="0"/>
<element name="next" type="{http://hl7.org/fhir}Protocol.Next" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<ProtocolActivity> |
activity |
protected String |
description |
protected Duration |
duration |
protected ProtocolPrecondition |
exit |
protected Uri |
firstActivity |
protected String |
name |
protected java.util.List<ProtocolNext> |
next |
protected ProtocolPrecondition |
precondition |
modifierExtension| Constructor and Description |
|---|
ProtocolStep() |
| 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) |
java.util.List<ProtocolActivity> |
getActivity()
Gets the value of the activity property.
|
String |
getDescription()
Gets the value of the description property.
|
Duration |
getDuration()
Gets the value of the duration property.
|
ProtocolPrecondition |
getExit()
Gets the value of the exit property.
|
Uri |
getFirstActivity()
Gets the value of the firstActivity property.
|
String |
getName()
Gets the value of the name property.
|
java.util.List<ProtocolNext> |
getNext()
Gets the value of the next property.
|
ProtocolPrecondition |
getPrecondition()
Gets the value of the precondition property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDuration(Duration value)
Sets the value of the duration property.
|
void |
setExit(ProtocolPrecondition value)
Sets the value of the exit property.
|
void |
setFirstActivity(Uri value)
Sets the value of the firstActivity property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPrecondition(ProtocolPrecondition value)
Sets the value of the precondition property.
|
java.lang.String |
toString() |
ProtocolStep |
withActivity(java.util.Collection<ProtocolActivity> values) |
ProtocolStep |
withActivity(ProtocolActivity... values) |
ProtocolStep |
withDescription(String value) |
ProtocolStep |
withDuration(Duration value) |
ProtocolStep |
withExit(ProtocolPrecondition value) |
ProtocolStep |
withExtension(java.util.Collection<Extension> values) |
ProtocolStep |
withExtension(Extension... values) |
ProtocolStep |
withFirstActivity(Uri value) |
ProtocolStep |
withId(java.lang.String value) |
ProtocolStep |
withModifierExtension(java.util.Collection<Extension> values) |
ProtocolStep |
withModifierExtension(Extension... values) |
ProtocolStep |
withName(String value) |
ProtocolStep |
withNext(java.util.Collection<ProtocolNext> values) |
ProtocolStep |
withNext(ProtocolNext... values) |
ProtocolStep |
withPrecondition(ProtocolPrecondition value) |
getModifierExtensiongetExtension, getId, setIdprotected String name
protected String description
protected Duration duration
protected ProtocolPrecondition precondition
protected ProtocolPrecondition exit
protected Uri firstActivity
protected java.util.List<ProtocolActivity> activity
protected java.util.List<ProtocolNext> next
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic Duration getDuration()
Durationpublic void setDuration(Duration value)
value - allowed object is
Durationpublic ProtocolPrecondition getPrecondition()
ProtocolPreconditionpublic void setPrecondition(ProtocolPrecondition value)
value - allowed object is
ProtocolPreconditionpublic ProtocolPrecondition getExit()
ProtocolPreconditionpublic void setExit(ProtocolPrecondition value)
value - allowed object is
ProtocolPreconditionpublic Uri getFirstActivity()
Uripublic void setFirstActivity(Uri value)
value - allowed object is
Uripublic java.util.List<ProtocolActivity> getActivity()
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 activity property.
For example, to add a new item, do as follows:
getActivity().add(newItem);
Objects of the following type(s) are allowed in the list
ProtocolActivity
public java.util.List<ProtocolNext> getNext()
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 next property.
For example, to add a new item, do as follows:
getNext().add(newItem);
Objects of the following type(s) are allowed in the list
ProtocolNext
public ProtocolStep withName(String value)
public ProtocolStep withDescription(String value)
public ProtocolStep withDuration(Duration value)
public ProtocolStep withPrecondition(ProtocolPrecondition value)
public ProtocolStep withExit(ProtocolPrecondition value)
public ProtocolStep withFirstActivity(Uri value)
public ProtocolStep withActivity(ProtocolActivity... values)
public ProtocolStep withActivity(java.util.Collection<ProtocolActivity> values)
public ProtocolStep withNext(ProtocolNext... values)
public ProtocolStep withNext(java.util.Collection<ProtocolNext> values)
public ProtocolStep withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic ProtocolStep withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic ProtocolStep withExtension(Extension... values)
withExtension in class BackboneElementpublic ProtocolStep withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic ProtocolStep 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