org.tolven.rim
Class Thumbnail

java.lang.Object
  extended by org.tolven.rim.Thumbnail

public class Thumbnail
extends java.lang.Object

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="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="reference" type="{urn:tolven-org:rim:1.0}TEL" minOccurs="0"/>
       </sequence>
       <attribute name="mediaType" type="{urn:tolven-org:rim:1.0}cs" default="text/plain" />
       <attribute name="representation" type="{urn:tolven-org:rim:1.0}BinaryDataEncoding" default="TXT" />
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
Thumbnail()
           
 
Method Summary
 java.util.List<java.io.Serializable> getContent()
          A thumbnail is an abbreviated rendition of the full data.
 java.lang.String getMediaType()
          Gets the value of the mediaType property.
 BinaryDataEncoding getRepresentation()
          Gets the value of the representation property.
 void setMediaType(java.lang.String value)
          Sets the value of the mediaType property.
 void setRepresentation(BinaryDataEncoding value)
          Sets the value of the representation property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Thumbnail

public Thumbnail()
Method Detail

getContent

public java.util.List<java.io.Serializable> getContent()
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. Gets the value of the content property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the content property.

For example, to add a new item, do as follows:

    getContent().add(newItem);
 

Objects of the following type(s) are allowed in the list String JAXBElement<TEL>


getMediaType

public java.lang.String getMediaType()
Gets the value of the mediaType property.

Returns:
possible object is String

setMediaType

public void setMediaType(java.lang.String value)
Sets the value of the mediaType property.

Parameters:
value - allowed object is String

getRepresentation

public BinaryDataEncoding getRepresentation()
Gets the value of the representation property.

Returns:
possible object is BinaryDataEncoding

setRepresentation

public void setRepresentation(BinaryDataEncoding value)
Sets the value of the representation property.

Parameters:
value - allowed object is BinaryDataEncoding