Class Library.LibraryModelComponent

  • All Implemented Interfaces:
    ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseBackboneElement, org.hl7.fhir.instance.model.api.IBaseElement, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
    Enclosing class:
    Library

    public static class Library.LibraryModelComponent
    extends BackboneElement
    implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
    See Also:
    Serialized Form
    • Field Detail

      • name

        protected StringType name
        The name element defines the local name of the model as used within the library.
      • identifier

        protected StringType identifier
        The identifier element specifies the global, non-version-specific identifier for the model.
      • version

        protected StringType version
        The version element, if present, identifies the specific version of the model to be used. If no version is specified, the most recent published version of the model is implied.
    • Method Detail

      • getNameElement

        public StringType getNameElement()
        Returns:
        name (The name element defines the local name of the model as used within the library.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
      • hasName

        public boolean hasName()
      • setNameElement

        public Library.LibraryModelComponent setNameElement​(StringType value)
        Parameters:
        value - name (The name element defines the local name of the model as used within the library.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
      • getName

        public String getName()
        Returns:
        The name element defines the local name of the model as used within the library.
      • getIdentifierElement

        public StringType getIdentifierElement()
        Returns:
        identifier (The identifier element specifies the global, non-version-specific identifier for the model.). This is the underlying object with id, value and extensions. The accessor "getIdentifier" gives direct access to the value
      • setIdentifierElement

        public Library.LibraryModelComponent setIdentifierElement​(StringType value)
        Parameters:
        value - identifier (The identifier element specifies the global, non-version-specific identifier for the model.). This is the underlying object with id, value and extensions. The accessor "getIdentifier" gives direct access to the value
      • getIdentifier

        public String getIdentifier()
        Returns:
        The identifier element specifies the global, non-version-specific identifier for the model.
      • getVersionElement

        public StringType getVersionElement()
        Returns:
        version (The version element, if present, identifies the specific version of the model to be used. If no version is specified, the most recent published version of the model is implied.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
      • setVersionElement

        public Library.LibraryModelComponent setVersionElement​(StringType value)
        Parameters:
        value - version (The version element, if present, identifies the specific version of the model to be used. If no version is specified, the most recent published version of the model is implied.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
      • getVersion

        public String getVersion()
        Returns:
        The version element, if present, identifies the specific version of the model to be used. If no version is specified, the most recent published version of the model is implied.
      • setVersion

        public Library.LibraryModelComponent setVersion​(String value)
        Parameters:
        value - The version element, if present, identifies the specific version of the model to be used. If no version is specified, the most recent published version of the model is implied.
      • makeProperty

        public Base makeProperty​(int hash,
                                 String name)
                          throws org.hl7.fhir.exceptions.FHIRException
        Description copied from class: Base
        make an instance of a property. If the property is a repeating property, make a new instance. if the property is not repeating, return the property
        Overrides:
        makeProperty in class BackboneElement
        Returns:
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.hl7.fhir.instance.model.api.IBase
        Overrides:
        isEmpty in class BackboneElement