Class Parameters.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:
Parameters
Definition: A parameter passed to or received from the operation
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddPart()
Adds and returns a new value for part ()addPart
(Parameters.Parameter theValue) Adds a given new value for part ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getName()
Gets the value(s) for name ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for name ().getPart()
Gets the value(s) for part ().Gets the first repetition for part (), creating it if it does not already exist.ca.uhn.fhir.model.api.IResource
Gets the value(s) for resource ().ca.uhn.fhir.model.api.IDatatype
getValue()
Gets the value(s) for value[x] ().boolean
isEmpty()
setName
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for name ()Sets the value for name ()setPart
(List<Parameters.Parameter> theValue) Sets the value(s) for part ()setResource
(ca.uhn.fhir.model.api.IResource theValue) Sets the value(s) for resource ()setValue
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for value[x] ()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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Parameter
public Parameter()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in 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:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getNameElement
Gets the value(s) for name (). creating it if it does not exist. Will not returnnull
.Definition: The name of the parameter (reference to the operation definition)
-
getName
Gets the value(s) for name (). creating it if it does not exist. This method may returnnull
.Definition: The name of the parameter (reference to the operation definition)
-
setName
Sets the value(s) for name ()Definition: The name of the parameter (reference to the operation definition)
-
setName
Sets the value for name ()Definition: The name of the parameter (reference to the operation definition)
-
getValue
Gets the value(s) for value[x] (). creating it if it does not exist. Will not returnnull
.Definition: If the parameter is a data type
-
setValue
Sets the value(s) for value[x] ()Definition: If the parameter is a data type
-
getResource
Gets the value(s) for resource ().Definition: If the parameter is a whole resource
-
setResource
Sets the value(s) for resource ()Definition: If the parameter is a whole resource
-
getPart
Gets the value(s) for part (). creating it if it does not exist. Will not returnnull
.Definition: A named part of a parameter. In many implementation context, a set of named parts is known as a \"Tuple\"
-
setPart
Sets the value(s) for part ()Definition: A named part of a parameter. In many implementation context, a set of named parts is known as a \"Tuple\"
-
addPart
Adds and returns a new value for part ()Definition: A named part of a parameter. In many implementation context, a set of named parts is known as a \"Tuple\"
-
addPart
Adds a given new value for part ()Definition: A named part of a parameter. In many implementation context, a set of named parts is known as a \"Tuple\"
- Parameters:
theValue
- The part to add (must not benull
)
-
getPartFirstRep
Gets the first repetition for part (), creating it if it does not already exist.Definition: A named part of a parameter. In many implementation context, a set of named parts is known as a \"Tuple\"
-