Package ca.uhn.fhir.model.dstu2.resource
Class Parameters
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.Parameters
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IResource,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseParameters,org.hl7.fhir.instance.model.api.IBaseResource
public class Parameters extends BaseResource implements ca.uhn.fhir.model.api.IResource, org.hl7.fhir.instance.model.api.IBaseParameters
HAPI/FHIR Parameters Resource (infrastructure.exchange)Definition: This special resource type is used to represent an operation request and response (operations.html). It has no other use, and there is no RESTful endpoint associated with it.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Parameters
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classParameters.ParameterBlock class for child element: Parameters.parameter ()
-
Field Summary
-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description Parameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Parameters.ParameteraddParameter()Adds and returns a new value for parameter ()ParametersaddParameter(Parameters.Parameter theValue)Adds a given new value for parameter ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)List<Parameters.Parameter>getParameter()Gets the value(s) for parameter ().Parameters.ParametergetParameterFirstRep()Gets the first repetition for parameter (), creating it if it does not already exist.StringgetResourceName()ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()booleanisEmpty()ParameterssetParameter(List<Parameters.Parameter> theValue)Sets the value(s) for parameter ()-
Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
-
-
-
Constructor Detail
-
Parameters
public Parameters()
-
-
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
-
getParameter
public List<Parameters.Parameter> getParameter()
Gets the value(s) for parameter (). creating it if it does not exist. Will not returnnull.Definition: A parameter passed to or received from the operation
-
setParameter
public Parameters setParameter(List<Parameters.Parameter> theValue)
Sets the value(s) for parameter ()Definition: A parameter passed to or received from the operation
-
addParameter
public Parameters.Parameter addParameter()
Adds and returns a new value for parameter ()Definition: A parameter passed to or received from the operation
-
addParameter
public Parameters addParameter(Parameters.Parameter theValue)
Adds a given new value for parameter ()Definition: A parameter passed to or received from the operation
- Parameters:
theValue- The parameter to add (must not benull)
-
getParameterFirstRep
public Parameters.Parameter getParameterFirstRep()
Gets the first repetition for parameter (), creating it if it does not already exist.Definition: A parameter passed to or received from the operation
-
getResourceName
public String getResourceName()
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-