
generated.BXITIVLPQ Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ihe-iti Show documentation
Show all versions of ihe-iti Show documentation
Codegen for IHE ITI Profiles.
//
// 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 generated;
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="{}IVL_PQ">
* <attribute name="qty" type="{}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 extends PQ> ... values) {
if (values!= null) {
for (JAXBElement extends PQ> 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