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

org.hl7.v3.BXITIVLPQ 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: 2013.03.15 at 09:03:15 AM PDT 
//


package org.hl7.v3;

import java.math.BigInteger;
import java.util.Collection;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
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 BXIT_IVL_PQ complex type. * *

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

 * <complexType name="BXIT_IVL_PQ">
 *   <complexContent>
 *     <extension base="{urn:hl7-org:v3}IVL_PQ">
 *       <attribute name="qty" type="{urn:hl7-org:v3}int" default="1" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "BXIT_IVL_PQ") public class BXITIVLPQ extends IVLPQ { @XmlAttribute(name = "qty") protected BigInteger qty; /** * Gets the value of the qty property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getQty() { if (qty == null) { return new BigInteger("1"); } else { return qty; } } /** * Sets the value of the qty property. * * @param value * allowed object is * {@link BigInteger } * */ public void setQty(BigInteger value) { this.qty = value; } public BXITIVLPQ withQty(BigInteger value) { setQty(value); return this; } @Override public BXITIVLPQ withRest(JAXBElement ... values) { if (values!= null) { for (JAXBElement value: values) { getRest().add(value); } } return this; } @Override public BXITIVLPQ withRest(Collection> values) { if (values!= null) { getRest().addAll(values); } return this; } @Override public BXITIVLPQ withOperator(SetOperator value) { setOperator(value); return this; } @Override public BXITIVLPQ withTranslation(PQR... values) { if (values!= null) { for (PQR value: values) { getTranslation().add(value); } } return this; } @Override public BXITIVLPQ withTranslation(Collection values) { if (values!= null) { getTranslation().addAll(values); } return this; } @Override public BXITIVLPQ withValue(String value) { setValue(value); return this; } @Override public BXITIVLPQ withUnit(String value) { setUnit(value); return this; } @Override public BXITIVLPQ withNullFlavor(String... values) { if (values!= null) { for (String value: values) { getNullFlavor().add(value); } } return this; } @Override public BXITIVLPQ 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