
org.hl7.v3.AdxpDelimiter 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.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:44 PM PDT
//
package org.hl7.v3;
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.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 adxp.delimiter complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="adxp.delimiter">
* <complexContent>
* <restriction base="{urn:hl7-org:v3}ADXP">
* <attribute name="partType" type="{urn:hl7-org:v3}AddressPartType" fixed="DEL" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "adxp.delimiter", namespace = "urn:hl7-org:v3")
public class AdxpDelimiter
extends ADXP
{
@Override
public AdxpDelimiter withPartType(String... values) {
if (values!= null) {
for (String value: values) {
getPartType().add(value);
}
}
return this;
}
@Override
public AdxpDelimiter withPartType(Collection values) {
if (values!= null) {
getPartType().addAll(values);
}
return this;
}
@Override
public AdxpDelimiter withMediaType(String value) {
setMediaType(value);
return this;
}
@Override
public AdxpDelimiter withLanguage(String value) {
setLanguage(value);
return this;
}
@Override
public AdxpDelimiter withCompression(CompressionAlgorithm value) {
setCompression(value);
return this;
}
@Override
public AdxpDelimiter withIntegrityCheck(byte[] value) {
setIntegrityCheck(value);
return this;
}
@Override
public AdxpDelimiter withIntegrityCheckAlgorithm(IntegrityCheckAlgorithm value) {
setIntegrityCheckAlgorithm(value);
return this;
}
@Override
public AdxpDelimiter withContent(Serializable... values) {
if (values!= null) {
for (Serializable value: values) {
getContent().add(value);
}
}
return this;
}
@Override
public AdxpDelimiter withContent(Collection values) {
if (values!= null) {
getContent().addAll(values);
}
return this;
}
@Override
public AdxpDelimiter withRepresentation(BinaryDataEncoding value) {
setRepresentation(value);
return this;
}
@Override
public AdxpDelimiter withNullFlavor(String... values) {
if (values!= null) {
for (String value: values) {
getNullFlavor().add(value);
}
}
return this;
}
@Override
public AdxpDelimiter 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