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

org.hl7.v3.RTOMOPQ 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.6 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2014.07.06 at 04:34:42 PM PDT 
//


package org.hl7.v3;

import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
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;


/**
 * 

Java class for RTO_MO_PQ complex type. * *

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

 * <complexType name="RTO_MO_PQ">
 *   <complexContent>
 *     <extension base="{urn:hl7-org:v3}QTY">
 *       <sequence>
 *         <element name="numerator" type="{urn:hl7-org:v3}MO"/>
 *         <element name="denominator" type="{urn:hl7-org:v3}PQ"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "RTO_MO_PQ", namespace = "urn:hl7-org:v3", propOrder = { "numerator", "denominator" }) public class RTOMOPQ extends QTY { @XmlElement(namespace = "urn:hl7-org:v3", required = true) protected MO numerator; @XmlElement(namespace = "urn:hl7-org:v3", required = true) protected PQ denominator; /** * Gets the value of the numerator property. * * @return * possible object is * {@link MO } * */ public MO getNumerator() { return numerator; } /** * Sets the value of the numerator property. * * @param value * allowed object is * {@link MO } * */ public void setNumerator(MO value) { this.numerator = value; } /** * Gets the value of the denominator property. * * @return * possible object is * {@link PQ } * */ public PQ getDenominator() { return denominator; } /** * Sets the value of the denominator property. * * @param value * allowed object is * {@link PQ } * */ public void setDenominator(PQ value) { this.denominator = value; } public RTOMOPQ withNumerator(MO value) { setNumerator(value); return this; } public RTOMOPQ withDenominator(PQ value) { setDenominator(value); return this; } @Override public RTOMOPQ withNullFlavor(String... values) { if (values!= null) { for (String value: values) { getNullFlavor().add(value); } } return this; } @Override public RTOMOPQ 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