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