Class BaseExtension

All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseDatatype, org.hl7.fhir.instance.model.api.IBaseElement, org.hl7.fhir.instance.model.api.IBaseExtension<Extension,Type>, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.ICompositeType
Direct Known Subclasses:
Extension

public abstract class BaseExtension extends Type implements org.hl7.fhir.instance.model.api.IBaseExtension<Extension,Type>, org.hl7.fhir.instance.model.api.IBaseHasExtensions
See Also:
  • Constructor Details

  • Method Details

    • setValue

      public Extension setValue(org.hl7.fhir.instance.model.api.IBaseDatatype theValue)
      Specified by:
      setValue in interface org.hl7.fhir.instance.model.api.IBaseExtension<Extension,Type>
    • setValue

      public abstract Extension setValue(Type theValue)
    • getValueAsPrimitive

      public org.hl7.fhir.instance.model.api.IPrimitiveType<?> getValueAsPrimitive()
      Returns the value of this extension cast as a IPrimitiveType. This method is just a convenience method for easy chaining.