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

ihe.iti.svs._2008.Thumbnail Maven / Gradle / Ivy

There is a newer version: 0.10.0
Show newest version

package ihe.iti.svs._2008;

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;


/**
 * 
 *                      A thumbnail is an abbreviated rendition of the full
 *                      data. A thumbnail requires significantly fewer
 *                      resources than the full data, while still maintaining
 *                      some distinctive similarity with the full data. A
 *                      thumbnail is typically used with by-reference
 *                      encapsulated data. It allows a user to select data
 *                      more efficiently before actually downloading through
 *                      the reference.
 *                   
 * 
 * 

Java class for thumbnail complex type. * *

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

 * <complexType name="thumbnail">
 *   <complexContent>
 *     <restriction base="{urn:ihe:iti:svs:2008}ED">
 *       <sequence>
 *         <element name="reference" type="{urn:ihe:iti:svs:2008}TEL" minOccurs="0"/>
 *         <element name="thumbnail" type="{urn:ihe:iti:svs:2008}thumbnail" maxOccurs="0" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "thumbnail") public class Thumbnail extends ED { @Override public Thumbnail withReference(TEL value) { setReference(value); return this; } @Override public Thumbnail withThumbnail(Thumbnail value) { setThumbnail(value); return this; } @Override public Thumbnail withMediaType(String value) { setMediaType(value); return this; } @Override public Thumbnail withLanguage(String value) { setLanguage(value); return this; } @Override public Thumbnail withCompression(CompressionAlgorithm value) { setCompression(value); return this; } @Override public Thumbnail withIntegrityCheck(byte[] value) { setIntegrityCheck(value); return this; } @Override public Thumbnail withIntegrityCheckAlgorithm(IntegrityCheckAlgorithm value) { setIntegrityCheckAlgorithm(value); return this; } @Override public Thumbnail withRepresentation(BinaryDataEncoding value) { setRepresentation(value); return this; } @Override public Thumbnail withNullFlavor(String... values) { if (values!= null) { for (String value: values) { getNullFlavor().add(value); } } return this; } @Override public Thumbnail 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