Class Protocol
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Referenceprotected Referenceprotected List<Identifier> protected Stringprotected ProtocolStatusprotected List<ProtocolStep> protected Referenceprotected Stringprotected ProtocolTypeFields 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 author property.getGroup()Gets the value of the group property.Gets the value of the identifier property.Gets the value of the purpose property.Gets the value of the status property.getStep()Gets the value of the step property.Gets the value of the subject property.getTitle()Gets the value of the title 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) voidSets the value of the author property.voidSets the value of the group property.voidsetIdentifier(List<Identifier> value) voidsetPurpose(String value) Sets the value of the purpose property.voidsetStatus(ProtocolStatus value) Sets the value of the status property.voidsetStep(List<ProtocolStep> value) voidsetSubject(Reference value) Sets the value of the subject property.voidSets the value of the title property.voidsetType(ProtocolType value) Sets the value of the type property.toString()withAuthor(Reference value) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withExtension(Collection<Extension> values) withExtension(Extension... values) withIdentifier(Collection<Identifier> values) withIdentifier(Identifier... values) withImplicitRules(Uri value) withLanguage(Code value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withPurpose(String value) withStatus(ProtocolStatus value) withStep(Collection<ProtocolStep> values) withStep(ProtocolStep... values) withSubject(Reference value) withType(ProtocolType 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
-
title
-
status
-
type
-
subject
-
group
-
purpose
-
author
-
step
-
-
Constructor Details
-
Protocol
public Protocol()
-
-
Method Details
-
getIdentifier
Gets the value of the identifier 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 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 -
getTitle
Gets the value of the title property.- Returns:
- possible object is
String
-
setTitle
Sets the value of the title property.- Parameters:
value- allowed object isString
-
getStatus
Gets the value of the status property.- Returns:
- possible object is
ProtocolStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isProtocolStatus
-
getType
Gets the value of the type property.- Returns:
- possible object is
ProtocolType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isProtocolType
-
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
-
getGroup
Gets the value of the group property.- Returns:
- possible object is
Reference
-
setGroup
Sets the value of the group property.- Parameters:
value- allowed object isReference
-
getPurpose
Gets the value of the purpose property.- Returns:
- possible object is
String
-
setPurpose
Sets the value of the purpose property.- Parameters:
value- allowed object isString
-
getAuthor
Gets the value of the author property.- Returns:
- possible object is
Reference
-
setAuthor
Sets the value of the author property.- Parameters:
value- allowed object isReference
-
getStep
Gets the value of the step 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 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 -
withIdentifier
-
withIdentifier
-
withTitle
-
withStatus
-
withType
-
withSubject
-
withGroup
-
withPurpose
-
withAuthor
-
withStep
-
withStep
-
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
-
setIdentifier
-
setStep
-