org.openmobilealliance.schema.sti.v1_0
Class Media

java.lang.Object
  extended by org.openmobilealliance.schema.sti.v1_0.Media
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Audio, Image, Multipart, Text, Video

public abstract class Media
extends java.lang.Object
implements java.io.Serializable

Contains transcoding params data common to all media types. Each media type structure should extend that abstract data type.

Java class for Media complex type.

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

 <complexType name="Media">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="contentType" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="contentTypeParams" type="{http://www.openmobilealliance.org/schema/sti/v1_0}Properties" minOccurs="0"/>
         <element name="sizeLimit" type="{http://www.openmobilealliance.org/schema/sti/v1_0}unboundedLong" minOccurs="0"/>
         <element name="transformations" type="{http://www.openmobilealliance.org/schema/sti/v1_0}Transformations" minOccurs="0"/>
         <element name="extensionData" type="{http://www.openmobilealliance.org/schema/sti/v1_0}Properties" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Constructor Summary
Media()
           
 
Method Summary
 java.lang.String getContentType()
          Gets the value of the contentType property.
 Properties getContentTypeParams()
          Gets the value of the contentTypeParams property.
 Properties getExtensionData()
          Gets the value of the extensionData property.
 java.lang.Long getSizeLimit()
          Gets the value of the sizeLimit property.
 Transformations getTransformations()
          Gets the value of the transformations property.
 boolean isSetContentType()
           
 boolean isSetContentTypeParams()
           
 boolean isSetExtensionData()
           
 boolean isSetSizeLimit()
           
 boolean isSetTransformations()
           
 void setContentType(java.lang.String value)
          Sets the value of the contentType property.
 void setContentTypeParams(Properties value)
          Sets the value of the contentTypeParams property.
 void setExtensionData(Properties value)
          Sets the value of the extensionData property.
 void setSizeLimit(java.lang.Long value)
          Sets the value of the sizeLimit property.
 void setTransformations(Transformations value)
          Sets the value of the transformations property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Media

public Media()
Method Detail

getContentType

public java.lang.String getContentType()
Gets the value of the contentType property.

Returns:
possible object is String

setContentType

public void setContentType(java.lang.String value)
Sets the value of the contentType property.

Parameters:
value - allowed object is String

isSetContentType

public boolean isSetContentType()

getContentTypeParams

public Properties getContentTypeParams()
Gets the value of the contentTypeParams property.

Returns:
possible object is Properties

setContentTypeParams

public void setContentTypeParams(Properties value)
Sets the value of the contentTypeParams property.

Parameters:
value - allowed object is Properties

isSetContentTypeParams

public boolean isSetContentTypeParams()

getSizeLimit

public java.lang.Long getSizeLimit()
Gets the value of the sizeLimit property.

Returns:
possible object is Long

setSizeLimit

public void setSizeLimit(java.lang.Long value)
Sets the value of the sizeLimit property.

Parameters:
value - allowed object is Long

isSetSizeLimit

public boolean isSetSizeLimit()

getTransformations

public Transformations getTransformations()
Gets the value of the transformations property.

Returns:
possible object is Transformations

setTransformations

public void setTransformations(Transformations value)
Sets the value of the transformations property.

Parameters:
value - allowed object is Transformations

isSetTransformations

public boolean isSetTransformations()

getExtensionData

public Properties getExtensionData()
Gets the value of the extensionData property.

Returns:
possible object is Properties

setExtensionData

public void setExtensionData(Properties value)
Sets the value of the extensionData property.

Parameters:
value - allowed object is Properties

isSetExtensionData

public boolean isSetExtensionData()