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

generated.CR 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 generated;

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;


/**
 * 
 *             A concept qualifier code with optionally named role.
 *             Both qualifier role and value codes must be defined by
 *             the coding system.  For example, if SNOMED RT defines a
 *             concept "leg", a role relation "has-laterality", and
 *             another concept "left", the concept role relation allows
 *             to add the qualifier "has-laterality: left" to a primary
 *             code "leg" to construct the meaning "left leg".
 *          
 * 
 * 

Java class for CR complex type. * *

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

 * <complexType name="CR">
 *   <complexContent>
 *     <extension base="{}ANY">
 *       <sequence>
 *         <element name="name" type="{}CV" minOccurs="0"/>
 *         <element name="value" type="{}CD" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="inverted" type="{}bn" default="false" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CR", propOrder = { "name", "value" }) public class CR extends ANY { protected CV name; protected CD value; @XmlAttribute(name = "inverted") protected Boolean inverted; /** * Gets the value of the name property. * * @return * possible object is * {@link CV } * */ public CV getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link CV } * */ public void setName(CV value) { this.name = value; } /** * Gets the value of the value property. * * @return * possible object is * {@link CD } * */ public CD getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link CD } * */ public void setValue(CD value) { this.value = value; } /** * Gets the value of the inverted property. * * @return * possible object is * {@link Boolean } * */ public boolean isInverted() { if (inverted == null) { return false; } else { return inverted; } } /** * Sets the value of the inverted property. * * @param value * allowed object is * {@link Boolean } * */ public void setInverted(Boolean value) { this.inverted = value; } public CR withName(CV value) { setName(value); return this; } public CR withValue(CD value) { setValue(value); return this; } public CR withInverted(Boolean value) { setInverted(value); return this; } @Override public CR withNullFlavor(String... values) { if (values!= null) { for (String value: values) { getNullFlavor().add(value); } } return this; } @Override public CR 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