public class ProtocolActivity 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.Activity complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Protocol.Activity">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="alternative" type="{http://hl7.org/fhir}uri" maxOccurs="unbounded" minOccurs="0"/>
<element name="component" type="{http://hl7.org/fhir}Protocol.Component" maxOccurs="unbounded" minOccurs="0"/>
<element name="following" type="{http://hl7.org/fhir}uri" maxOccurs="unbounded" minOccurs="0"/>
<element name="wait" type="{http://hl7.org/fhir}Duration" minOccurs="0"/>
<element name="detail" type="{http://hl7.org/fhir}Protocol.Detail"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Uri> |
alternative |
protected java.util.List<ProtocolComponent> |
component |
protected ProtocolDetail |
detail |
protected java.util.List<Uri> |
following |
protected Duration |
wait |
modifierExtension| Constructor and Description |
|---|
ProtocolActivity() |
| 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<Uri> |
getAlternative()
Gets the value of the alternative property.
|
java.util.List<ProtocolComponent> |
getComponent()
Gets the value of the component property.
|
ProtocolDetail |
getDetail()
Gets the value of the detail property.
|
java.util.List<Uri> |
getFollowing()
Gets the value of the following property.
|
Duration |
getWait()
Gets the value of the wait property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDetail(ProtocolDetail value)
Sets the value of the detail property.
|
void |
setWait(Duration value)
Sets the value of the wait property.
|
java.lang.String |
toString() |
ProtocolActivity |
withAlternative(java.util.Collection<Uri> values) |
ProtocolActivity |
withAlternative(Uri... values) |
ProtocolActivity |
withComponent(java.util.Collection<ProtocolComponent> values) |
ProtocolActivity |
withComponent(ProtocolComponent... values) |
ProtocolActivity |
withDetail(ProtocolDetail value) |
ProtocolActivity |
withExtension(java.util.Collection<Extension> values) |
ProtocolActivity |
withExtension(Extension... values) |
ProtocolActivity |
withFollowing(java.util.Collection<Uri> values) |
ProtocolActivity |
withFollowing(Uri... values) |
ProtocolActivity |
withId(java.lang.String value) |
ProtocolActivity |
withModifierExtension(java.util.Collection<Extension> values) |
ProtocolActivity |
withModifierExtension(Extension... values) |
ProtocolActivity |
withWait(Duration value) |
getModifierExtensiongetExtension, getId, setIdprotected java.util.List<Uri> alternative
protected java.util.List<ProtocolComponent> component
protected java.util.List<Uri> following
protected Duration wait
protected ProtocolDetail detail
public java.util.List<Uri> getAlternative()
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 alternative property.
For example, to add a new item, do as follows:
getAlternative().add(newItem);
Objects of the following type(s) are allowed in the list
Uri
public java.util.List<ProtocolComponent> getComponent()
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 component property.
For example, to add a new item, do as follows:
getComponent().add(newItem);
Objects of the following type(s) are allowed in the list
ProtocolComponent
public java.util.List<Uri> getFollowing()
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 following property.
For example, to add a new item, do as follows:
getFollowing().add(newItem);
Objects of the following type(s) are allowed in the list
Uri
public Duration getWait()
Durationpublic void setWait(Duration value)
value - allowed object is
Durationpublic ProtocolDetail getDetail()
ProtocolDetailpublic void setDetail(ProtocolDetail value)
value - allowed object is
ProtocolDetailpublic ProtocolActivity withAlternative(Uri... values)
public ProtocolActivity withAlternative(java.util.Collection<Uri> values)
public ProtocolActivity withComponent(ProtocolComponent... values)
public ProtocolActivity withComponent(java.util.Collection<ProtocolComponent> values)
public ProtocolActivity withFollowing(Uri... values)
public ProtocolActivity withFollowing(java.util.Collection<Uri> values)
public ProtocolActivity withWait(Duration value)
public ProtocolActivity withDetail(ProtocolDetail value)
public ProtocolActivity withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic ProtocolActivity withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic ProtocolActivity withExtension(Extension... values)
withExtension in class BackboneElementpublic ProtocolActivity withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic ProtocolActivity 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