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

com.github.rahulsom.cda.SXCMCD 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.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 SXCM_CD complex type. * *

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

 * <complexType name="SXCM_CD">
 *   <complexContent>
 *     <extension base="{urn:hl7-org:v3}CD">
 *       <attribute name="operator" type="{urn:hl7-org:v3}SetOperator" default="I" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SXCM_CD", namespace = "urn:hl7-org:v3") public class SXCMCD extends CD { @XmlAttribute(name = "operator") protected SetOperator operator; /** * Gets the value of the operator property. * * @return * possible object is * {@link SetOperator } * */ public SetOperator getOperator() { if (operator == null) { return SetOperator.I; } else { return operator; } } /** * Sets the value of the operator property. * * @param value * allowed object is * {@link SetOperator } * */ public void setOperator(SetOperator value) { this.operator = value; } public SXCMCD withOperator(SetOperator value) { setOperator(value); return this; } @Override public SXCMCD withOriginalText(ED value) { setOriginalText(value); return this; } @Override public SXCMCD withQualifier(CR... values) { if (values!= null) { for (CR value: values) { getQualifier().add(value); } } return this; } @Override public SXCMCD withQualifier(Collection values) { if (values!= null) { getQualifier().addAll(values); } return this; } @Override public SXCMCD withTranslation(CD... values) { if (values!= null) { for (CD value: values) { getTranslation().add(value); } } return this; } @Override public SXCMCD withTranslation(Collection values) { if (values!= null) { getTranslation().addAll(values); } return this; } @Override public SXCMCD withCode(String value) { setCode(value); return this; } @Override public SXCMCD withCodeSystem(String value) { setCodeSystem(value); return this; } @Override public SXCMCD withCodeSystemName(String value) { setCodeSystemName(value); return this; } @Override public SXCMCD withCodeSystemVersion(String value) { setCodeSystemVersion(value); return this; } @Override public SXCMCD withDisplayName(String value) { setDisplayName(value); return this; } @Override public SXCMCD withNullFlavor(String... values) { if (values!= null) { for (String value: values) { getNullFlavor().add(value); } } return this; } @Override public SXCMCD 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