Class OperationDefinition.Parameter
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.OperationDefinition.Parameter
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IIdentifiableElement,ca.uhn.fhir.model.api.IResourceBlock,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
- OperationDefinition
public static class OperationDefinition.Parameter extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: OperationDefinition.parameter ()Definition: The parameters for the operation/query
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Parameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationDefinition.ParameteraddPart()Adds and returns a new value for part ()OperationDefinition.ParameteraddPart(OperationDefinition.Parameter theValue)Adds a given new value for part ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)OperationDefinition.ParameterBindinggetBinding()Gets the value(s) for binding ().StringgetDocumentation()Gets the value(s) for documentation ().ca.uhn.fhir.model.primitive.StringDtgetDocumentationElement()Gets the value(s) for documentation ().StringgetMax()Gets the value(s) for max ().ca.uhn.fhir.model.primitive.StringDtgetMaxElement()Gets the value(s) for max ().IntegergetMin()Gets the value(s) for min ().ca.uhn.fhir.model.primitive.IntegerDtgetMinElement()Gets the value(s) for min ().StringgetName()Gets the value(s) for name ().ca.uhn.fhir.model.primitive.CodeDtgetNameElement()Gets the value(s) for name ().List<OperationDefinition.Parameter>getPart()Gets the value(s) for part ().OperationDefinition.ParametergetPartFirstRep()Gets the first repetition for part (), creating it if it does not already exist.ResourceReferenceDtgetProfile()Gets the value(s) for profile ().StringgetType()Gets the value(s) for type ().ca.uhn.fhir.model.primitive.CodeDtgetTypeElement()Gets the value(s) for type ().StringgetUse()Gets the value(s) for use ().ca.uhn.fhir.model.primitive.BoundCodeDt<OperationParameterUseEnum>getUseElement()Gets the value(s) for use ().booleanisEmpty()OperationDefinition.ParametersetBinding(OperationDefinition.ParameterBinding theValue)Sets the value(s) for binding ()OperationDefinition.ParametersetDocumentation(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for documentation ()OperationDefinition.ParametersetDocumentation(String theString)Sets the value for documentation ()OperationDefinition.ParametersetMax(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for max ()OperationDefinition.ParametersetMax(String theString)Sets the value for max ()OperationDefinition.ParametersetMin(int theInteger)Sets the value for min ()OperationDefinition.ParametersetMin(ca.uhn.fhir.model.primitive.IntegerDt theValue)Sets the value(s) for min ()OperationDefinition.ParametersetName(ca.uhn.fhir.model.primitive.CodeDt theValue)Sets the value(s) for name ()OperationDefinition.ParametersetName(String theCode)Sets the value for name ()OperationDefinition.ParametersetPart(List<OperationDefinition.Parameter> theValue)Sets the value(s) for part ()OperationDefinition.ParametersetProfile(ResourceReferenceDt theValue)Sets the value(s) for profile ()OperationDefinition.ParametersetType(ca.uhn.fhir.model.primitive.CodeDt theValue)Sets the value(s) for type ()OperationDefinition.ParametersetType(String theCode)Sets the value for type ()OperationDefinition.ParametersetUse(OperationParameterUseEnum theValue)Sets the value(s) for use ()OperationDefinition.ParametersetUse(ca.uhn.fhir.model.primitive.BoundCodeDt<OperationParameterUseEnum> theValue)Sets the value(s) for use ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
Parameter
public Parameter()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getNameElement
public ca.uhn.fhir.model.primitive.CodeDt getNameElement()
Gets the value(s) for name (). creating it if it does not exist. Will not returnnull.Definition: The name of used to identify the parameter
-
getName
public String getName()
Gets the value(s) for name (). creating it if it does not exist. This method may returnnull.Definition: The name of used to identify the parameter
-
setName
public OperationDefinition.Parameter setName(ca.uhn.fhir.model.primitive.CodeDt theValue)
Sets the value(s) for name ()Definition: The name of used to identify the parameter
-
setName
public OperationDefinition.Parameter setName(String theCode)
Sets the value for name ()Definition: The name of used to identify the parameter
-
getUseElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<OperationParameterUseEnum> getUseElement()
Gets the value(s) for use (). creating it if it does not exist. Will not returnnull.Definition: Whether this is an input or an output parameter
-
getUse
public String getUse()
Gets the value(s) for use (). creating it if it does not exist. This method may returnnull.Definition: Whether this is an input or an output parameter
-
setUse
public OperationDefinition.Parameter setUse(ca.uhn.fhir.model.primitive.BoundCodeDt<OperationParameterUseEnum> theValue)
Sets the value(s) for use ()Definition: Whether this is an input or an output parameter
-
setUse
public OperationDefinition.Parameter setUse(OperationParameterUseEnum theValue)
Sets the value(s) for use ()Definition: Whether this is an input or an output parameter
-
getMinElement
public ca.uhn.fhir.model.primitive.IntegerDt getMinElement()
Gets the value(s) for min (). creating it if it does not exist. Will not returnnull.Definition: The minimum number of times this parameter SHALL appear in the request or response
-
getMin
public Integer getMin()
Gets the value(s) for min (). creating it if it does not exist. This method may returnnull.Definition: The minimum number of times this parameter SHALL appear in the request or response
-
setMin
public OperationDefinition.Parameter setMin(ca.uhn.fhir.model.primitive.IntegerDt theValue)
Sets the value(s) for min ()Definition: The minimum number of times this parameter SHALL appear in the request or response
-
setMin
public OperationDefinition.Parameter setMin(int theInteger)
Sets the value for min ()Definition: The minimum number of times this parameter SHALL appear in the request or response
-
getMaxElement
public ca.uhn.fhir.model.primitive.StringDt getMaxElement()
Gets the value(s) for max (). creating it if it does not exist. Will not returnnull.Definition: The maximum number of times this element is permitted to appear in the request or response
-
getMax
public String getMax()
Gets the value(s) for max (). creating it if it does not exist. This method may returnnull.Definition: The maximum number of times this element is permitted to appear in the request or response
-
setMax
public OperationDefinition.Parameter setMax(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for max ()Definition: The maximum number of times this element is permitted to appear in the request or response
-
setMax
public OperationDefinition.Parameter setMax(String theString)
Sets the value for max ()Definition: The maximum number of times this element is permitted to appear in the request or response
-
getDocumentationElement
public ca.uhn.fhir.model.primitive.StringDt getDocumentationElement()
Gets the value(s) for documentation (). creating it if it does not exist. Will not returnnull.Definition: Describes the meaning or use of this parameter
-
getDocumentation
public String getDocumentation()
Gets the value(s) for documentation (). creating it if it does not exist. This method may returnnull.Definition: Describes the meaning or use of this parameter
-
setDocumentation
public OperationDefinition.Parameter setDocumentation(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for documentation ()Definition: Describes the meaning or use of this parameter
-
setDocumentation
public OperationDefinition.Parameter setDocumentation(String theString)
Sets the value for documentation ()Definition: Describes the meaning or use of this parameter
-
getTypeElement
public ca.uhn.fhir.model.primitive.CodeDt getTypeElement()
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull.Definition: The type for this parameter
-
getType
public String getType()
Gets the value(s) for type (). creating it if it does not exist. This method may returnnull.Definition: The type for this parameter
-
setType
public OperationDefinition.Parameter setType(ca.uhn.fhir.model.primitive.CodeDt theValue)
Sets the value(s) for type ()Definition: The type for this parameter
-
setType
public OperationDefinition.Parameter setType(String theCode)
Sets the value for type ()Definition: The type for this parameter
-
getProfile
public ResourceReferenceDt getProfile()
Gets the value(s) for profile (). creating it if it does not exist. Will not returnnull.Definition: A profile the specifies the rules that this parameter must conform to
-
setProfile
public OperationDefinition.Parameter setProfile(ResourceReferenceDt theValue)
Sets the value(s) for profile ()Definition: A profile the specifies the rules that this parameter must conform to
-
getBinding
public OperationDefinition.ParameterBinding getBinding()
Gets the value(s) for binding (). creating it if it does not exist. Will not returnnull.Definition: Binds to a value set if this parameter is coded (code, Coding, CodeableConcept)
-
setBinding
public OperationDefinition.Parameter setBinding(OperationDefinition.ParameterBinding theValue)
Sets the value(s) for binding ()Definition: Binds to a value set if this parameter is coded (code, Coding, CodeableConcept)
-
getPart
public List<OperationDefinition.Parameter> getPart()
Gets the value(s) for part (). creating it if it does not exist. Will not returnnull.Definition: The parts of a Tuple Parameter
-
setPart
public OperationDefinition.Parameter setPart(List<OperationDefinition.Parameter> theValue)
Sets the value(s) for part ()Definition: The parts of a Tuple Parameter
-
addPart
public OperationDefinition.Parameter addPart()
Adds and returns a new value for part ()Definition: The parts of a Tuple Parameter
-
addPart
public OperationDefinition.Parameter addPart(OperationDefinition.Parameter theValue)
Adds a given new value for part ()Definition: The parts of a Tuple Parameter
- Parameters:
theValue- The part to add (must not benull)
-
getPartFirstRep
public OperationDefinition.Parameter getPartFirstRep()
Gets the first repetition for part (), creating it if it does not already exist.Definition: The parts of a Tuple Parameter
-
-