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

generated.Thumbnail 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:44 PM 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;


/**
 * 
 *                      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="{}ED">
 *       <sequence>
 *         <element name="reference" type="{}TEL" minOccurs="0"/>
 *         <element name="thumbnail" type="{}thumbnail" maxOccurs="0" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "thumbnail") public class Thumbnail extends ED { @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 withContent(Serializable... values) { if (values!= null) { for (Serializable value: values) { getContent().add(value); } } return this; } @Override public Thumbnail withContent(Collection values) { if (values!= null) { getContent().addAll(values); } 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