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

com.github.rahulsom.cda.ST 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.io.Serializable;
import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSeeAlso;
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;


/**
 *  The character string data type stands for text data, primarily intended for machine processing (e.g., sorting, querying, indexing, etc.) Used for names, symbols, and formal expressions. 
 * 
 * 

Java class for ST complex type. * *

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

 * <complexType name="ST">
 *   <complexContent>
 *     <restriction base="{urn:hl7-org:v3}ED">
 *       <sequence>
 *         <element name="reference" type="{urn:hl7-org:v3}TEL" maxOccurs="0" minOccurs="0"/>
 *         <element name="thumbnail" type="{urn:hl7-org:v3}ED" maxOccurs="0" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="representation" type="{urn:hl7-org:v3}BinaryDataEncoding" fixed="TXT" />
 *       <attribute name="mediaType" type="{urn:hl7-org:v3}cs" fixed="text/plain" />
 *       <attribute name="language" type="{urn:hl7-org:v3}cs" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ST", namespace = "urn:hl7-org:v3") @XmlSeeAlso({ SC.class, ENXP.class, ADXP.class }) public class ST extends ED { @Override public ST withMediaType(String value) { setMediaType(value); return this; } @Override public ST withLanguage(String value) { setLanguage(value); return this; } @Override public ST withCompression(CompressionAlgorithm value) { setCompression(value); return this; } @Override public ST withIntegrityCheck(byte[] value) { setIntegrityCheck(value); return this; } @Override public ST withIntegrityCheckAlgorithm(IntegrityCheckAlgorithm value) { setIntegrityCheckAlgorithm(value); return this; } @Override public ST withContent(Serializable... values) { if (values!= null) { for (Serializable value: values) { getContent().add(value); } } return this; } @Override public ST withContent(Collection values) { if (values!= null) { getContent().addAll(values); } return this; } @Override public ST withRepresentation(BinaryDataEncoding value) { setRepresentation(value); return this; } @Override public ST withNullFlavor(String... values) { if (values!= null) { for (String value: values) { getNullFlavor().add(value); } } return this; } @Override public ST 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