Package org.hl7.v3

Class ANY

java.lang.Object
org.hl7.v3.ANY
Direct Known Subclasses:
ANYNonNull, BL, CD, CR, GLISTPQ, GLISTTS, II, QTY, SLISTPQ, SLISTTS, URL

public abstract class ANY extends Object
Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type.

Java class for ANY complex type.

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

 <complexType name="ANY">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="nullFlavor" type="{urn:hl7-org:v3}NullFlavor" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • ANY

      public ANY()
  • Method Details

    • getNullFlavor

      public List<String> getNullFlavor()
      Gets the value of the nullFlavor 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 nullFlavor property.

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

          getNullFlavor().add(newItem);
       

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

    • withNullFlavor

      public ANY withNullFlavor(String... values)
    • withNullFlavor

      public ANY withNullFlavor(Collection<String> values)
    • 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