Package org.hl7.v3

Class ED

Direct Known Subclasses:
ST, Thumbnail

public class ED extends BIN
Data that is primarily intended for human interpretation or for further machine processing is outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information as defined by a different standard (e.g., XML-signatures.) Instead of the data itself, an ED may contain only a reference (see TEL.) Note that the ST data type is a specialization of when the is text/plain.

Java class for ED complex type.

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

 <complexType name="ED">
   <complexContent>
     <extension base="{urn:hl7-org:v3}BIN">
       <sequence>
         <element name="reference" type="{urn:hl7-org:v3}TEL" minOccurs="0"/>
         <element name="thumbnail" type="{urn:hl7-org:v3}thumbnail" minOccurs="0"/>
       </sequence>
       <attribute name="mediaType" type="{urn:hl7-org:v3}cs" default="text/plain" />
       <attribute name="language" type="{urn:hl7-org:v3}cs" />
       <attribute name="compression" type="{urn:hl7-org:v3}CompressionAlgorithm" />
       <attribute name="integrityCheck" type="{urn:hl7-org:v3}bin" />
       <attribute name="integrityCheckAlgorithm" type="{urn:hl7-org:v3}IntegrityCheckAlgorithm" default="SHA-1" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • ED

      public ED()
  • Method Details

    • getMediaType

      public String getMediaType()
      Gets the value of the mediaType property.
      Returns:
      possible object is String
    • setMediaType

      public void setMediaType(String value)
      Sets the value of the mediaType property.
      Parameters:
      value - allowed object is String
    • getLanguage

      public String getLanguage()
      Gets the value of the language property.
      Returns:
      possible object is String
    • setLanguage

      public void setLanguage(String value)
      Sets the value of the language property.
      Parameters:
      value - allowed object is String
    • getCompression

      public CompressionAlgorithm getCompression()
      Gets the value of the compression property.
      Returns:
      possible object is CompressionAlgorithm
    • setCompression

      public void setCompression(CompressionAlgorithm value)
      Sets the value of the compression property.
      Parameters:
      value - allowed object is CompressionAlgorithm
    • getIntegrityCheck

      public byte[] getIntegrityCheck()
      Gets the value of the integrityCheck property.
      Returns:
      possible object is byte[]
    • setIntegrityCheck

      public void setIntegrityCheck(byte[] value)
      Sets the value of the integrityCheck property.
      Parameters:
      value - allowed object is byte[]
    • getIntegrityCheckAlgorithm

      public IntegrityCheckAlgorithm getIntegrityCheckAlgorithm()
      Gets the value of the integrityCheckAlgorithm property.
      Returns:
      possible object is IntegrityCheckAlgorithm
    • setIntegrityCheckAlgorithm

      public void setIntegrityCheckAlgorithm(IntegrityCheckAlgorithm value)
      Sets the value of the integrityCheckAlgorithm property.
      Parameters:
      value - allowed object is IntegrityCheckAlgorithm
    • withMediaType

      public ED withMediaType(String value)
    • withLanguage

      public ED withLanguage(String value)
    • withCompression

      public ED withCompression(CompressionAlgorithm value)
    • withIntegrityCheck

      public ED withIntegrityCheck(byte[] value)
    • withIntegrityCheckAlgorithm

      public ED withIntegrityCheckAlgorithm(IntegrityCheckAlgorithm value)
    • withContent

      public ED withContent(String... values)
      Overrides:
      withContent in class BIN
    • withContent

      public ED withContent(Collection<String> values)
      Overrides:
      withContent in class BIN
    • withRepresentation

      public ED withRepresentation(BinaryDataEncoding value)
      Overrides:
      withRepresentation in class BIN
    • equals

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

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

      public String toString()
      Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
      Overrides:
      toString in class BIN