Package org.hl7.fhir

Class LibraryLibrary

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class LibraryLibrary extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
The Library resource provides a representation container for knowledge artifact component definitions. It is effectively an exposure of the header information for a CQL/ELM library.

Java class for Library.Library complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Library.Library">
   <complexContent>
     <extension base="{http://hl7.org/fhir}BackboneElement">
       <sequence>
         <element name="name" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="identifier" type="{http://hl7.org/fhir}string"/>
         <element name="version" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <choice minOccurs="0">
           <element name="documentAttachment" type="{http://hl7.org/fhir}Attachment"/>
           <element name="documentReference" type="{http://hl7.org/fhir}Reference"/>
         </choice>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • name

      protected String name
    • identifier

      protected String identifier
    • version

      protected String version
    • documentAttachment

      protected Attachment documentAttachment
    • documentReference

      protected Reference documentReference
  • Constructor Details

    • LibraryLibrary

      public LibraryLibrary()
  • Method Details

    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getIdentifier

      public String getIdentifier()
      Gets the value of the identifier property.
      Returns:
      possible object is String
    • setIdentifier

      public void setIdentifier(String value)
      Sets the value of the identifier property.
      Parameters:
      value - allowed object is String
    • getVersion

      public String getVersion()
      Gets the value of the version property.
      Returns:
      possible object is String
    • setVersion

      public void setVersion(String value)
      Sets the value of the version property.
      Parameters:
      value - allowed object is String
    • getDocumentAttachment

      public Attachment getDocumentAttachment()
      Gets the value of the documentAttachment property.
      Returns:
      possible object is Attachment
    • setDocumentAttachment

      public void setDocumentAttachment(Attachment value)
      Sets the value of the documentAttachment property.
      Parameters:
      value - allowed object is Attachment
    • getDocumentReference

      public Reference getDocumentReference()
      Gets the value of the documentReference property.
      Returns:
      possible object is Reference
    • setDocumentReference

      public void setDocumentReference(Reference value)
      Sets the value of the documentReference property.
      Parameters:
      value - allowed object is Reference
    • withName

      public LibraryLibrary withName(String value)
    • withIdentifier

      public LibraryLibrary withIdentifier(String value)
    • withVersion

      public LibraryLibrary withVersion(String value)
    • withDocumentAttachment

      public LibraryLibrary withDocumentAttachment(Attachment value)
    • withDocumentReference

      public LibraryLibrary withDocumentReference(Reference value)
    • withModifierExtension

      public LibraryLibrary withModifierExtension(Extension... values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withModifierExtension

      public LibraryLibrary withModifierExtension(Collection<Extension> values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withExtension

      public LibraryLibrary withExtension(Extension... values)
      Overrides:
      withExtension in class BackboneElement
    • withExtension

      public LibraryLibrary withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class BackboneElement
    • withId

      public LibraryLibrary withId(String value)
      Overrides:
      withId in class BackboneElement
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class BackboneElement
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class BackboneElement
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class BackboneElement
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BackboneElement
    • toString

      public String toString()
      Overrides:
      toString in class BackboneElement
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class BackboneElement
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class BackboneElement