Package org.hl7.fhir
Class OperationDefinitionParameter
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.OperationDefinitionParameter
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class OperationDefinitionParameter extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction).Java class for OperationDefinition.Parameter complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OperationDefinition.Parameter"> <complexContent> <extension base="{http://hl7.org/fhir}BackboneElement"> <sequence> <element name="name" type="{http://hl7.org/fhir}code"/> <element name="use" type="{http://hl7.org/fhir}OperationParameterUse"/> <element name="min" type="{http://hl7.org/fhir}integer"/> <element name="max" type="{http://hl7.org/fhir}string"/> <element name="documentation" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="type" type="{http://hl7.org/fhir}code" minOccurs="0"/> <element name="searchType" type="{http://hl7.org/fhir}SearchParamType" minOccurs="0"/> <element name="profile" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="binding" type="{http://hl7.org/fhir}OperationDefinition.Binding" minOccurs="0"/> <element name="part" type="{http://hl7.org/fhir}OperationDefinition.Parameter" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected OperationDefinitionBindingbindingprotected Stringdocumentationprotected Stringmaxprotected Integerminprotected Codenameprotected java.util.List<OperationDefinitionParameter>partprotected Referenceprofileprotected SearchParamTypesearchTypeprotected Codetypeprotected OperationParameterUseuse-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description OperationDefinitionParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)OperationDefinitionBindinggetBinding()Gets the value of the binding property.StringgetDocumentation()Gets the value of the documentation property.StringgetMax()Gets the value of the max property.IntegergetMin()Gets the value of the min property.CodegetName()Gets the value of the name property.java.util.List<OperationDefinitionParameter>getPart()Gets the value of the part property.ReferencegetProfile()Gets the value of the profile property.SearchParamTypegetSearchType()Gets the value of the searchType property.CodegetType()Gets the value of the type property.OperationParameterUsegetUse()Gets the value of the use property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetBinding(OperationDefinitionBinding value)Sets the value of the binding property.voidsetDocumentation(String value)Sets the value of the documentation property.voidsetMax(String value)Sets the value of the max property.voidsetMin(Integer value)Sets the value of the min property.voidsetName(Code value)Sets the value of the name property.voidsetProfile(Reference value)Sets the value of the profile property.voidsetSearchType(SearchParamType value)Sets the value of the searchType property.voidsetType(Code value)Sets the value of the type property.voidsetUse(OperationParameterUse value)Sets the value of the use property.java.lang.StringtoString()OperationDefinitionParameterwithBinding(OperationDefinitionBinding value)OperationDefinitionParameterwithDocumentation(String value)OperationDefinitionParameterwithExtension(java.util.Collection<Extension> values)OperationDefinitionParameterwithExtension(Extension... values)OperationDefinitionParameterwithId(java.lang.String value)OperationDefinitionParameterwithMax(String value)OperationDefinitionParameterwithMin(Integer value)OperationDefinitionParameterwithModifierExtension(java.util.Collection<Extension> values)OperationDefinitionParameterwithModifierExtension(Extension... values)OperationDefinitionParameterwithName(Code value)OperationDefinitionParameterwithPart(java.util.Collection<OperationDefinitionParameter> values)OperationDefinitionParameterwithPart(OperationDefinitionParameter... values)OperationDefinitionParameterwithProfile(Reference value)OperationDefinitionParameterwithSearchType(SearchParamType value)OperationDefinitionParameterwithType(Code value)OperationDefinitionParameterwithUse(OperationParameterUse value)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
name
protected Code name
-
use
protected OperationParameterUse use
-
min
protected Integer min
-
max
protected String max
-
documentation
protected String documentation
-
type
protected Code type
-
searchType
protected SearchParamType searchType
-
profile
protected Reference profile
-
binding
protected OperationDefinitionBinding binding
-
part
protected java.util.List<OperationDefinitionParameter> part
-
-
Method Detail
-
setName
public void setName(Code value)
Sets the value of the name property.- Parameters:
value- allowed object isCode
-
getUse
public OperationParameterUse getUse()
Gets the value of the use property.- Returns:
- possible object is
OperationParameterUse
-
setUse
public void setUse(OperationParameterUse value)
Sets the value of the use property.- Parameters:
value- allowed object isOperationParameterUse
-
getMin
public Integer getMin()
Gets the value of the min property.- Returns:
- possible object is
Integer
-
setMin
public void setMin(Integer value)
Sets the value of the min property.- Parameters:
value- allowed object isInteger
-
getMax
public String getMax()
Gets the value of the max property.- Returns:
- possible object is
String
-
setMax
public void setMax(String value)
Sets the value of the max property.- Parameters:
value- allowed object isString
-
getDocumentation
public String getDocumentation()
Gets the value of the documentation property.- Returns:
- possible object is
String
-
setDocumentation
public void setDocumentation(String value)
Sets the value of the documentation property.- Parameters:
value- allowed object isString
-
setType
public void setType(Code value)
Sets the value of the type property.- Parameters:
value- allowed object isCode
-
getSearchType
public SearchParamType getSearchType()
Gets the value of the searchType property.- Returns:
- possible object is
SearchParamType
-
setSearchType
public void setSearchType(SearchParamType value)
Sets the value of the searchType property.- Parameters:
value- allowed object isSearchParamType
-
getProfile
public Reference getProfile()
Gets the value of the profile property.- Returns:
- possible object is
Reference
-
setProfile
public void setProfile(Reference value)
Sets the value of the profile property.- Parameters:
value- allowed object isReference
-
getBinding
public OperationDefinitionBinding getBinding()
Gets the value of the binding property.- Returns:
- possible object is
OperationDefinitionBinding
-
setBinding
public void setBinding(OperationDefinitionBinding value)
Sets the value of the binding property.- Parameters:
value- allowed object isOperationDefinitionBinding
-
getPart
public java.util.List<OperationDefinitionParameter> getPart()
Gets the value of the part 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 JAXB object. This is why there is not a
setmethod for the part property.For example, to add a new item, do as follows:
getPart().add(newItem);Objects of the following type(s) are allowed in the list
OperationDefinitionParameter
-
withName
public OperationDefinitionParameter withName(Code value)
-
withUse
public OperationDefinitionParameter withUse(OperationParameterUse value)
-
withMin
public OperationDefinitionParameter withMin(Integer value)
-
withMax
public OperationDefinitionParameter withMax(String value)
-
withDocumentation
public OperationDefinitionParameter withDocumentation(String value)
-
withType
public OperationDefinitionParameter withType(Code value)
-
withSearchType
public OperationDefinitionParameter withSearchType(SearchParamType value)
-
withProfile
public OperationDefinitionParameter withProfile(Reference value)
-
withBinding
public OperationDefinitionParameter withBinding(OperationDefinitionBinding value)
-
withPart
public OperationDefinitionParameter withPart(OperationDefinitionParameter... values)
-
withPart
public OperationDefinitionParameter withPart(java.util.Collection<OperationDefinitionParameter> values)
-
withModifierExtension
public OperationDefinitionParameter withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public OperationDefinitionParameter withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public OperationDefinitionParameter withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public OperationDefinitionParameter withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public OperationDefinitionParameter withId(java.lang.String value)
- Overrides:
withIdin classBackboneElement
-
equals
public 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.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classBackboneElement
-
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 classBackboneElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBackboneElement
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBackboneElement
-
-