All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.rahulsom.cda.QTY Maven / Gradle / Ivy

There is a newer version: 0.10.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2015.06.09 at 07:53:51 PM PDT 
//


package com.github.rahulsom.cda;

import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;


/**
 *  The quantity data type is an abstract generalization for all data types (1) whose value set has an order relation (less-or-equal) and (2) where difference is defined in all of the data type's totally ordered value subsets. The quantity type abstraction is needed in defining certain other types, such as the interval and the probability distribution. 
 * 
 * 

Java class for QTY complex type. * *

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

 * <complexType name="QTY">
 *   <complexContent>
 *     <extension base="{urn:hl7-org:v3}ANY">
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "QTY", namespace = "urn:hl7-org:v3") @XmlSeeAlso({ RTOMOPQ.class, RTOPQPQ.class, RTOQTYQTY.class, REAL.class, PQ.class, MO.class, TS.class, INT.class }) public abstract class QTY extends ANY { @Override public QTY withNullFlavor(String... values) { if (values!= null) { for (String value: values) { getNullFlavor().add(value); } } return this; } @Override public QTY withNullFlavor(Collection values) { if (values!= null) { getNullFlavor().addAll(values); } return this; } @Override public String toString() { return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE); } @Override public boolean equals(Object that) { return EqualsBuilder.reflectionEquals(this, that); } @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy