Class Parameters.Parameter
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
public static class Parameters.Parameter extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Parameters.parameter ()Definition: A parameter passed to or received from the operation
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Parameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Parameters.ParameteraddPart()Adds and returns a new value for part ()Parameters.ParameteraddPart(Parameters.Parameter theValue)Adds a given new value for part ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetName()Gets the value(s) for name ().ca.uhn.fhir.model.primitive.StringDtgetNameElement()Gets the value(s) for name ().List<Parameters.Parameter>getPart()Gets the value(s) for part ().Parameters.ParametergetPartFirstRep()Gets the first repetition for part (), creating it if it does not already exist.ca.uhn.fhir.model.api.IResourcegetResource()Gets the value(s) for resource ().ca.uhn.fhir.model.api.IDatatypegetValue()Gets the value(s) for value[x] ().booleanisEmpty()Parameters.ParametersetName(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for name ()Parameters.ParametersetName(String theString)Sets the value for name ()Parameters.ParametersetPart(List<Parameters.Parameter> theValue)Sets the value(s) for part ()Parameters.ParametersetResource(ca.uhn.fhir.model.api.IResource theValue)Sets the value(s) for resource ()Parameters.ParametersetValue(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
-
-
-
-
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.StringDt 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
public String 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
public Parameters.Parameter setName(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for name ()Definition: The name of the parameter (reference to the operation definition)
-
setName
public Parameters.Parameter setName(String theString)
Sets the value for name ()Definition: The name of the parameter (reference to the operation definition)
-
getValue
public ca.uhn.fhir.model.api.IDatatype 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
public Parameters.Parameter setValue(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for value[x] ()Definition: If the parameter is a data type
-
getResource
public ca.uhn.fhir.model.api.IResource getResource()
Gets the value(s) for resource ().Definition: If the parameter is a whole resource
-
setResource
public Parameters.Parameter setResource(ca.uhn.fhir.model.api.IResource theValue)
Sets the value(s) for resource ()Definition: If the parameter is a whole resource
-
getPart
public List<Parameters.Parameter> 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
public Parameters.Parameter setPart(List<Parameters.Parameter> theValue)
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
public Parameters.Parameter 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
public Parameters.Parameter addPart(Parameters.Parameter theValue)
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
public Parameters.Parameter 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\"
-
-