public class OperationDefinition extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for OperationDefinition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OperationDefinition">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="url" type="{http://hl7.org/fhir}uri" minOccurs="0"/>
<element name="version" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="name" type="{http://hl7.org/fhir}string"/>
<element name="status" type="{http://hl7.org/fhir}ConformanceResourceStatus"/>
<element name="kind" type="{http://hl7.org/fhir}OperationKind"/>
<element name="experimental" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="publisher" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="contact" type="{http://hl7.org/fhir}OperationDefinition.Contact" maxOccurs="unbounded" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="useContext" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="requirements" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="idempotent" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="code" type="{http://hl7.org/fhir}code"/>
<element name="comment" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="base" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="system" type="{http://hl7.org/fhir}boolean"/>
<element name="type" type="{http://hl7.org/fhir}code" maxOccurs="unbounded" minOccurs="0"/>
<element name="instance" type="{http://hl7.org/fhir}boolean"/>
<element name="parameter" type="{http://hl7.org/fhir}OperationDefinition.Parameter" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
base |
protected Code |
code |
protected String |
comment |
protected java.util.List<OperationDefinitionContact> |
contact |
protected DateTime |
date |
protected String |
description |
protected Boolean |
experimental |
protected Boolean |
idempotent |
protected Boolean |
instance |
protected OperationKind |
kind |
protected String |
name |
protected java.util.List<OperationDefinitionParameter> |
parameter |
protected String |
publisher |
protected String |
requirements |
protected ConformanceResourceStatus |
status |
protected Boolean |
system |
protected java.util.List<Code> |
type |
protected Uri |
url |
protected java.util.List<CodeableConcept> |
useContext |
protected String |
version |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
OperationDefinition() |
| 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 |
getBase()
Gets the value of the base property.
|
Code |
getCode()
Gets the value of the code property.
|
String |
getComment()
Gets the value of the comment property.
|
java.util.List<OperationDefinitionContact> |
getContact()
Gets the value of the contact property.
|
DateTime |
getDate()
Gets the value of the date property.
|
String |
getDescription()
Gets the value of the description property.
|
Boolean |
getExperimental()
Gets the value of the experimental property.
|
Boolean |
getIdempotent()
Gets the value of the idempotent property.
|
Boolean |
getInstance()
Gets the value of the instance property.
|
OperationKind |
getKind()
Gets the value of the kind property.
|
String |
getName()
Gets the value of the name property.
|
java.util.List<OperationDefinitionParameter> |
getParameter()
Gets the value of the parameter property.
|
String |
getPublisher()
Gets the value of the publisher property.
|
String |
getRequirements()
Gets the value of the requirements property.
|
ConformanceResourceStatus |
getStatus()
Gets the value of the status property.
|
Boolean |
getSystem()
Gets the value of the system property.
|
java.util.List<Code> |
getType()
Gets the value of the type property.
|
Uri |
getUrl()
Gets the value of the url property.
|
java.util.List<CodeableConcept> |
getUseContext()
Gets the value of the useContext property.
|
String |
getVersion()
Gets the value of the version property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setBase(Reference value)
Sets the value of the base property.
|
void |
setCode(Code value)
Sets the value of the code property.
|
void |
setComment(String value)
Sets the value of the comment property.
|
void |
setDate(DateTime value)
Sets the value of the date property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setExperimental(Boolean value)
Sets the value of the experimental property.
|
void |
setIdempotent(Boolean value)
Sets the value of the idempotent property.
|
void |
setInstance(Boolean value)
Sets the value of the instance property.
|
void |
setKind(OperationKind value)
Sets the value of the kind property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPublisher(String value)
Sets the value of the publisher property.
|
void |
setRequirements(String value)
Sets the value of the requirements property.
|
void |
setStatus(ConformanceResourceStatus value)
Sets the value of the status property.
|
void |
setSystem(Boolean value)
Sets the value of the system property.
|
void |
setUrl(Uri value)
Sets the value of the url property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
java.lang.String |
toString() |
OperationDefinition |
withBase(Reference value) |
OperationDefinition |
withCode(Code value) |
OperationDefinition |
withComment(String value) |
OperationDefinition |
withContact(java.util.Collection<OperationDefinitionContact> values) |
OperationDefinition |
withContact(OperationDefinitionContact... values) |
OperationDefinition |
withContained(java.util.Collection<ResourceContainer> values) |
OperationDefinition |
withContained(ResourceContainer... values) |
OperationDefinition |
withDate(DateTime value) |
OperationDefinition |
withDescription(String value) |
OperationDefinition |
withExperimental(Boolean value) |
OperationDefinition |
withExtension(java.util.Collection<Extension> values) |
OperationDefinition |
withExtension(Extension... values) |
OperationDefinition |
withId(Id value) |
OperationDefinition |
withIdempotent(Boolean value) |
OperationDefinition |
withImplicitRules(Uri value) |
OperationDefinition |
withInstance(Boolean value) |
OperationDefinition |
withKind(OperationKind value) |
OperationDefinition |
withLanguage(Code value) |
OperationDefinition |
withMeta(Meta value) |
OperationDefinition |
withModifierExtension(java.util.Collection<Extension> values) |
OperationDefinition |
withModifierExtension(Extension... values) |
OperationDefinition |
withName(String value) |
OperationDefinition |
withParameter(java.util.Collection<OperationDefinitionParameter> values) |
OperationDefinition |
withParameter(OperationDefinitionParameter... values) |
OperationDefinition |
withPublisher(String value) |
OperationDefinition |
withRequirements(String value) |
OperationDefinition |
withStatus(ConformanceResourceStatus value) |
OperationDefinition |
withSystem(Boolean value) |
OperationDefinition |
withText(Narrative value) |
OperationDefinition |
withType(Code... values) |
OperationDefinition |
withType(java.util.Collection<Code> values) |
OperationDefinition |
withUrl(Uri value) |
OperationDefinition |
withUseContext(CodeableConcept... values) |
OperationDefinition |
withUseContext(java.util.Collection<CodeableConcept> values) |
OperationDefinition |
withVersion(String value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Uri url
protected String version
protected String name
protected ConformanceResourceStatus status
protected OperationKind kind
protected Boolean experimental
protected DateTime date
protected String publisher
protected java.util.List<OperationDefinitionContact> contact
protected String description
protected java.util.List<CodeableConcept> useContext
protected String requirements
protected Boolean idempotent
protected Code code
protected String comment
protected Reference base
protected Boolean system
protected java.util.List<Code> type
protected Boolean instance
protected java.util.List<OperationDefinitionParameter> parameter
public void setUrl(Uri value)
value - allowed object is
Uripublic String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic ConformanceResourceStatus getStatus()
ConformanceResourceStatuspublic void setStatus(ConformanceResourceStatus value)
value - allowed object is
ConformanceResourceStatuspublic OperationKind getKind()
OperationKindpublic void setKind(OperationKind value)
value - allowed object is
OperationKindpublic Boolean getExperimental()
Booleanpublic void setExperimental(Boolean value)
value - allowed object is
Booleanpublic DateTime getDate()
DateTimepublic void setDate(DateTime value)
value - allowed object is
DateTimepublic String getPublisher()
Stringpublic void setPublisher(String value)
value - allowed object is
Stringpublic java.util.List<OperationDefinitionContact> getContact()
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 contact property.
For example, to add a new item, do as follows:
getContact().add(newItem);
Objects of the following type(s) are allowed in the list
OperationDefinitionContact
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic java.util.List<CodeableConcept> getUseContext()
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 useContext property.
For example, to add a new item, do as follows:
getUseContext().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public String getRequirements()
Stringpublic void setRequirements(String value)
value - allowed object is
Stringpublic Boolean getIdempotent()
Booleanpublic void setIdempotent(Boolean value)
value - allowed object is
Booleanpublic void setCode(Code value)
value - allowed object is
Codepublic String getComment()
Stringpublic void setComment(String value)
value - allowed object is
Stringpublic Reference getBase()
Referencepublic void setBase(Reference value)
value - allowed object is
Referencepublic Boolean getSystem()
Booleanpublic void setSystem(Boolean value)
value - allowed object is
Booleanpublic java.util.List<Code> getType()
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 type property.
For example, to add a new item, do as follows:
getType().add(newItem);
Objects of the following type(s) are allowed in the list
Code
public Boolean getInstance()
Booleanpublic void setInstance(Boolean value)
value - allowed object is
Booleanpublic java.util.List<OperationDefinitionParameter> getParameter()
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 parameter property.
For example, to add a new item, do as follows:
getParameter().add(newItem);
Objects of the following type(s) are allowed in the list
OperationDefinitionParameter
public OperationDefinition withUrl(Uri value)
public OperationDefinition withVersion(String value)
public OperationDefinition withName(String value)
public OperationDefinition withStatus(ConformanceResourceStatus value)
public OperationDefinition withKind(OperationKind value)
public OperationDefinition withExperimental(Boolean value)
public OperationDefinition withDate(DateTime value)
public OperationDefinition withPublisher(String value)
public OperationDefinition withContact(OperationDefinitionContact... values)
public OperationDefinition withContact(java.util.Collection<OperationDefinitionContact> values)
public OperationDefinition withDescription(String value)
public OperationDefinition withUseContext(CodeableConcept... values)
public OperationDefinition withUseContext(java.util.Collection<CodeableConcept> values)
public OperationDefinition withRequirements(String value)
public OperationDefinition withIdempotent(Boolean value)
public OperationDefinition withCode(Code value)
public OperationDefinition withComment(String value)
public OperationDefinition withBase(Reference value)
public OperationDefinition withSystem(Boolean value)
public OperationDefinition withType(Code... values)
public OperationDefinition withType(java.util.Collection<Code> values)
public OperationDefinition withInstance(Boolean value)
public OperationDefinition withParameter(OperationDefinitionParameter... values)
public OperationDefinition withParameter(java.util.Collection<OperationDefinitionParameter> values)
public OperationDefinition withText(Narrative value)
withText in class DomainResourcepublic OperationDefinition withContained(ResourceContainer... values)
withContained in class DomainResourcepublic OperationDefinition withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic OperationDefinition withExtension(Extension... values)
withExtension in class DomainResourcepublic OperationDefinition withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic OperationDefinition withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic OperationDefinition withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic OperationDefinition withId(Id value)
withId in class DomainResourcepublic OperationDefinition withMeta(Meta value)
withMeta in class DomainResourcepublic OperationDefinition withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic OperationDefinition 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