public class Protocol extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Protocol complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Protocol">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="title" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}ProtocolStatus"/>
<element name="type" type="{http://hl7.org/fhir}ProtocolType"/>
<element name="subject" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="group" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="purpose" type="{http://hl7.org/fhir}string"/>
<element name="author" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="step" type="{http://hl7.org/fhir}Protocol.Step" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
author |
protected Reference |
group |
protected java.util.List<Identifier> |
identifier |
protected String |
purpose |
protected ProtocolStatus |
status |
protected java.util.List<ProtocolStep> |
step |
protected Reference |
subject |
protected String |
title |
protected ProtocolType |
type |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Protocol() |
| 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) |
Reference |
getAuthor()
Gets the value of the author property.
|
Reference |
getGroup()
Gets the value of the group property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
String |
getPurpose()
Gets the value of the purpose property.
|
ProtocolStatus |
getStatus()
Gets the value of the status property.
|
java.util.List<ProtocolStep> |
getStep()
Gets the value of the step property.
|
Reference |
getSubject()
Gets the value of the subject property.
|
String |
getTitle()
Gets the value of the title property.
|
ProtocolType |
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 |
setAuthor(Reference value)
Sets the value of the author property.
|
void |
setGroup(Reference value)
Sets the value of the group property.
|
void |
setPurpose(String value)
Sets the value of the purpose property.
|
void |
setStatus(ProtocolStatus value)
Sets the value of the status property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
void |
setTitle(String value)
Sets the value of the title property.
|
void |
setType(ProtocolType value)
Sets the value of the type property.
|
java.lang.String |
toString() |
Protocol |
withAuthor(Reference value) |
Protocol |
withContained(java.util.Collection<ResourceContainer> values) |
Protocol |
withContained(ResourceContainer... values) |
Protocol |
withExtension(java.util.Collection<Extension> values) |
Protocol |
withExtension(Extension... values) |
Protocol |
withGroup(Reference value) |
Protocol |
withId(Id value) |
Protocol |
withIdentifier(java.util.Collection<Identifier> values) |
Protocol |
withIdentifier(Identifier... values) |
Protocol |
withImplicitRules(Uri value) |
Protocol |
withLanguage(Code value) |
Protocol |
withMeta(Meta value) |
Protocol |
withModifierExtension(java.util.Collection<Extension> values) |
Protocol |
withModifierExtension(Extension... values) |
Protocol |
withPurpose(String value) |
Protocol |
withStatus(ProtocolStatus value) |
Protocol |
withStep(java.util.Collection<ProtocolStep> values) |
Protocol |
withStep(ProtocolStep... values) |
Protocol |
withSubject(Reference value) |
Protocol |
withText(Narrative value) |
Protocol |
withTitle(String value) |
Protocol |
withType(ProtocolType value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected String title
protected ProtocolStatus status
protected ProtocolType type
protected Reference subject
protected Reference group
protected String purpose
protected Reference author
protected java.util.List<ProtocolStep> step
public java.util.List<Identifier> getIdentifier()
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 identifier property.
For example, to add a new item, do as follows:
getIdentifier().add(newItem);
Objects of the following type(s) are allowed in the list
Identifier
public String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic ProtocolStatus getStatus()
ProtocolStatuspublic void setStatus(ProtocolStatus value)
value - allowed object is
ProtocolStatuspublic ProtocolType getType()
ProtocolTypepublic void setType(ProtocolType value)
value - allowed object is
ProtocolTypepublic Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic Reference getGroup()
Referencepublic void setGroup(Reference value)
value - allowed object is
Referencepublic String getPurpose()
Stringpublic void setPurpose(String value)
value - allowed object is
Stringpublic Reference getAuthor()
Referencepublic void setAuthor(Reference value)
value - allowed object is
Referencepublic java.util.List<ProtocolStep> getStep()
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 step property.
For example, to add a new item, do as follows:
getStep().add(newItem);
Objects of the following type(s) are allowed in the list
ProtocolStep
public Protocol withIdentifier(Identifier... values)
public Protocol withIdentifier(java.util.Collection<Identifier> values)
public Protocol withStatus(ProtocolStatus value)
public Protocol withType(ProtocolType value)
public Protocol withStep(ProtocolStep... values)
public Protocol withStep(java.util.Collection<ProtocolStep> values)
public Protocol withText(Narrative value)
withText in class DomainResourcepublic Protocol withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Protocol withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Protocol withExtension(Extension... values)
withExtension in class DomainResourcepublic Protocol withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Protocol withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Protocol withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Protocol withId(Id value)
withId in class DomainResourcepublic Protocol withMeta(Meta value)
withMeta in class DomainResourcepublic Protocol withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Protocol 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