Package org.hl7.v3

Class BIN

java.lang.Object
org.hl7.v3.BIN
Direct Known Subclasses:
ED

public abstract class BIN extends Object
Binary data is a raw block of bits. Binary data is a protected type that MUST not be used outside the data type specification.

Java class for BIN complex type.

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

 <complexType name="BIN">
   <complexContent>
     <extension base="{urn:hl7-org:v3}ANY">
       <sequence>
       </sequence>
       <attribute name="representation" type="{urn:hl7-org:v3}BinaryDataEncoding" default="TXT" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • BIN

      public BIN()
  • Method Details

    • getContent

      public List<String> getContent()
      Binary data is a raw block of bits. Binary data is a protected type that MUST not be used outside the data type specification. Gets the value of the content property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the content property.

      For example, to add a new item, do as follows:

          getContent().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

    • getRepresentation

      public BinaryDataEncoding getRepresentation()
      Gets the value of the representation property.
      Returns:
      possible object is BinaryDataEncoding
    • setRepresentation

      public void setRepresentation(BinaryDataEncoding value)
      Sets the value of the representation property.
      Parameters:
      value - allowed object is BinaryDataEncoding
    • withContent

      public BIN withContent(String... values)
    • withContent

      public BIN withContent(Collection<String> values)
    • withRepresentation

      public BIN withRepresentation(BinaryDataEncoding value)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 Object