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

org.hl7.v3.SXPRTS 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.12.15 at 11:19:24 AM PST 
//


package org.hl7.v3;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
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 SXPR_TS complex type. * *

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

 * <complexType name="SXPR_TS">
 *   <complexContent>
 *     <extension base="{urn:hl7-org:v3}SXCM_TS">
 *       <sequence>
 *         <element name="comp" type="{urn:hl7-org:v3}SXCM_TS" maxOccurs="unbounded" minOccurs="2"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SXPR_TS", namespace = "urn:hl7-org:v3", propOrder = { "comp" }) public class SXPRTS extends SXCMTS { @XmlElement(namespace = "urn:hl7-org:v3", required = true) protected List comp; /** * Gets the value of the comp property. * *

* 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 set method for the comp property. * *

* For example, to add a new item, do as follows: *

     *    getComp().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SXCMTS } * * */ public List getComp() { if (comp == null) { comp = new ArrayList(); } return this.comp; } public SXPRTS withComp(SXCMTS... values) { if (values!= null) { for (SXCMTS value: values) { getComp().add(value); } } return this; } public SXPRTS withComp(Collection values) { if (values!= null) { getComp().addAll(values); } return this; } @Override public SXPRTS withOperator(SetOperator value) { setOperator(value); return this; } @Override public SXPRTS withValue(String value) { setValue(value); return this; } @Override public SXPRTS withNullFlavor(String... values) { if (values!= null) { for (String value: values) { getNullFlavor().add(value); } } return this; } @Override public SXPRTS 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