Class ElementDefinitionDt.Base

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.composite.ElementDefinitionDt.Base
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:
ElementDefinitionDt

public static class ElementDefinitionDt.Base
extends ca.uhn.fhir.model.api.BaseIdentifiableElement
implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: ElementDefinition.base ()

Definition: Information about the base definition of the element, provided to make it unncessary for tools to trace the deviation of the element through the derived and related profiles. This information is only provided where the element definition represents a constraint on another element definition, and must be present if there is a base element definition.

See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    Base()  
  • Method Summary

    Modifier and Type Method Description
    <T extends ca.uhn.fhir.model.api.IElement>
    List<T>
    getAllPopulatedChildElementsOfType​(Class<T> theType)  
    String getMax()
    Gets the value(s) for max ().
    ca.uhn.fhir.model.primitive.StringDt getMaxElement()
    Gets the value(s) for max ().
    Integer getMin()
    Gets the value(s) for min ().
    ca.uhn.fhir.model.primitive.IntegerDt getMinElement()
    Gets the value(s) for min ().
    String getPath()
    Gets the value(s) for path ().
    ca.uhn.fhir.model.primitive.StringDt getPathElement()
    Gets the value(s) for path ().
    boolean isEmpty()  
    ElementDefinitionDt.Base setMax​(ca.uhn.fhir.model.primitive.StringDt theValue)
    Sets the value(s) for max ()
    ElementDefinitionDt.Base setMax​(String theString)
    Sets the value for max ()
    ElementDefinitionDt.Base setMin​(int theInteger)
    Sets the value for min ()
    ElementDefinitionDt.Base setMin​(ca.uhn.fhir.model.primitive.IntegerDt theValue)
    Sets the value(s) for min ()
    ElementDefinitionDt.Base setPath​(ca.uhn.fhir.model.primitive.StringDt theValue)
    Sets the value(s) for path ()
    ElementDefinitionDt.Base setPath​(String theString)
    Sets the value for path ()

    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

    • Base

      public Base()
  • 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
    • getPathElement

      public ca.uhn.fhir.model.primitive.StringDt getPathElement()
      Gets the value(s) for path (). creating it if it does not exist. Will not return null.

      Definition: The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [[[StructureDefinition]]] without a StructureDefinition.base

    • getPath

      public String getPath()
      Gets the value(s) for path (). creating it if it does not exist. This method may return null.

      Definition: The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [[[StructureDefinition]]] without a StructureDefinition.base

    • setPath

      public ElementDefinitionDt.Base setPath​(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for path ()

      Definition: The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [[[StructureDefinition]]] without a StructureDefinition.base

    • setPath

      public ElementDefinitionDt.Base setPath​(String theString)
      Sets the value for path ()

      Definition: The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [[[StructureDefinition]]] without a StructureDefinition.base

    • getMinElement

      public ca.uhn.fhir.model.primitive.IntegerDt getMinElement()
      Gets the value(s) for min (). creating it if it does not exist. Will not return null.

      Definition: Minimum cardinality of the base element identified by the path

    • getMin

      public Integer getMin()
      Gets the value(s) for min (). creating it if it does not exist. This method may return null.

      Definition: Minimum cardinality of the base element identified by the path

    • setMin

      public ElementDefinitionDt.Base setMin​(ca.uhn.fhir.model.primitive.IntegerDt theValue)
      Sets the value(s) for min ()

      Definition: Minimum cardinality of the base element identified by the path

    • setMin

      public ElementDefinitionDt.Base setMin​(int theInteger)
      Sets the value for min ()

      Definition: Minimum cardinality of the base element identified by the path

    • getMaxElement

      public ca.uhn.fhir.model.primitive.StringDt getMaxElement()
      Gets the value(s) for max (). creating it if it does not exist. Will not return null.

      Definition: Maximum cardinality of the base element identified by the path

    • getMax

      public String getMax()
      Gets the value(s) for max (). creating it if it does not exist. This method may return null.

      Definition: Maximum cardinality of the base element identified by the path

    • setMax

      public ElementDefinitionDt.Base setMax​(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for max ()

      Definition: Maximum cardinality of the base element identified by the path

    • setMax

      public ElementDefinitionDt.Base setMax​(String theString)
      Sets the value for max ()

      Definition: Maximum cardinality of the base element identified by the path