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:
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.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 interface ca.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 return null.

      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 return null.

      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 return null.

      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

      Gets the value(s) for part (). creating it if it does not exist. Will not return null.

      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 be null)
    • 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\"