package org.hl7.v3;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
*
* 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.
*
*
* <p>
* Java class for ANY complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <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>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ANY")
@XmlSeeAlso({
ANYNonNull.class, BL.class, SLISTPQ.class, CR.class, II.class, SLISTTS.class, GLISTTS.class,
URL.class, QTY.class, CD.class, GLISTPQ.class, BIN.class
})
public class ANY implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
@XmlValue
protected String content;
public void setContent(String content){
this.content = content;
}
public String content(){
return content;
}
@XmlAttribute
protected List<String> nullFlavor;
/**
* Gets the value of the nullFlavor property.
*
* <p>
* 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 JAXB object. This is
* why there is not a <CODE>set</CODE> method for the nullFlavor property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getNullFlavor().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getNullFlavor(){
if (nullFlavor == null) {
nullFlavor = new ArrayList<String>();
}
return this.nullFlavor;
}
}