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
FieldsModifier and TypeFieldDescriptionprotected OperationDefinitionBindingprotected Stringprotected Stringprotected Integerprotected Codeprotected List<OperationDefinitionParameter> protected Referenceprotected SearchParamTypeprotected Codeprotected OperationParameterUseFields inherited from class org.hl7.fhir.BackboneElement
modifierExtension -
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 binding property.Gets the value of the documentation property.getMax()Gets the value of the max property.getMin()Gets the value of the min property.getName()Gets the value of the name property.getPart()Gets the value of the part property.Gets the value of the profile property.Gets the value of the searchType property.getType()Gets the value of the type property.getUse()Gets the value of the use property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidSets the value of the binding property.voidsetDocumentation(String value) Sets the value of the documentation property.voidSets the value of the max property.voidSets the value of the min property.voidSets the value of the name property.voidsetPart(List<OperationDefinitionParameter> value) voidsetProfile(Reference value) Sets the value of the profile property.voidsetSearchType(SearchParamType value) Sets the value of the searchType property.voidSets the value of the type property.voidsetUse(OperationParameterUse value) Sets the value of the use property.toString()withDocumentation(String value) withExtension(Collection<Extension> values) withExtension(Extension... values) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withPart(OperationDefinitionParameter... values) withProfile(Reference value) withSearchType(SearchParamType value) withUse(OperationParameterUse value) Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension, setModifierExtensionMethods inherited from class org.hl7.fhir.Element
getExtension, getId, setExtension, setId
-
Field Details
-
name
-
use
-
min
-
max
-
documentation
-
type
-
searchType
-
profile
-
binding
-
part
-
-
Constructor Details
-
OperationDefinitionParameter
public OperationDefinitionParameter()
-
-
Method Details
-
getName
Gets the value of the name property.- Returns:
- possible object is
Code
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isCode
-
getUse
Gets the value of the use property.- Returns:
- possible object is
OperationParameterUse
-
setUse
Sets the value of the use property.- Parameters:
value- allowed object isOperationParameterUse
-
getMin
Gets the value of the min property.- Returns:
- possible object is
Integer
-
setMin
Sets the value of the min property.- Parameters:
value- allowed object isInteger
-
getMax
Gets the value of the max property.- Returns:
- possible object is
String
-
setMax
Sets the value of the max property.- Parameters:
value- allowed object isString
-
getDocumentation
Gets the value of the documentation property.- Returns:
- possible object is
String
-
setDocumentation
Sets the value of the documentation property.- Parameters:
value- allowed object isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
Code
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isCode
-
getSearchType
Gets the value of the searchType property.- Returns:
- possible object is
SearchParamType
-
setSearchType
Sets the value of the searchType property.- Parameters:
value- allowed object isSearchParamType
-
getProfile
Gets the value of the profile property.- Returns:
- possible object is
Reference
-
setProfile
Sets the value of the profile property.- Parameters:
value- allowed object isReference
-
getBinding
Gets the value of the binding property.- Returns:
- possible object is
OperationDefinitionBinding
-
setBinding
Sets the value of the binding property.- Parameters:
value- allowed object isOperationDefinitionBinding
-
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 Jakarta XML Binding 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
-
withUse
-
withMin
-
withMax
-
withDocumentation
-
withType
-
withSearchType
-
withProfile
-
withBinding
-
withPart
-
withPart
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withId
- Overrides:
withIdin classBackboneElement
-
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 classBackboneElement
-
equals
- 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
- Overrides:
toStringin classBackboneElement
-
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 classBackboneElement
-
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 classBackboneElement
-
setPart
-