org.openmobilealliance.schema.sti.v1_0
Class Audio

java.lang.Object
  extended by org.openmobilealliance.schema.sti.v1_0.Media
      extended by org.openmobilealliance.schema.sti.v1_0.Audio
All Implemented Interfaces:
java.io.Serializable

public class Audio
extends Media
implements java.io.Serializable

Contains audio-specific transcoding params data.

Java class for Audio complex type.

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

 <complexType name="Audio">
   <complexContent>
     <extension base="{http://www.openmobilealliance.org/schema/sti/v1_0}Media">
       <sequence>
         <element name="codec" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="codecParams" type="{http://www.openmobilealliance.org/schema/sti/v1_0}Properties" minOccurs="0"/>
         <element name="bitRate" type="{http://www.openmobilealliance.org/schema/sti/v1_0}nonNegativeInt" minOccurs="0"/>
         <element name="samplingRate" type="{http://www.openmobilealliance.org/schema/sti/v1_0}nonNegativeInt" minOccurs="0"/>
         <element name="samplingResolution" type="{http://www.openmobilealliance.org/schema/sti/v1_0}nonNegativeInt" minOccurs="0"/>
         <element name="channels" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="synthetic" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="channelToUse" type="{http://www.openmobilealliance.org/schema/sti/v1_0}nonNegativeInt" minOccurs="0"/>
                   <element name="channelsPriority" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
                   <element name="instrument" type="{http://www.openmobilealliance.org/schema/sti/v1_0}nonNegativeInt" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Nested Class Summary
static class Audio.Synthetic
          Java class for anonymous complex type.
 
Constructor Summary
Audio()
           
 
Method Summary
 java.lang.Integer getBitRate()
          Gets the value of the bitRate property.
 java.lang.String getChannels()
          Gets the value of the channels property.
 java.lang.String getCodec()
          Gets the value of the codec property.
 Properties getCodecParams()
          Gets the value of the codecParams property.
 java.lang.Integer getSamplingRate()
          Gets the value of the samplingRate property.
 java.lang.Integer getSamplingResolution()
          Gets the value of the samplingResolution property.
 Audio.Synthetic getSynthetic()
          Gets the value of the synthetic property.
 boolean isSetBitRate()
           
 boolean isSetChannels()
           
 boolean isSetCodec()
           
 boolean isSetCodecParams()
           
 boolean isSetSamplingRate()
           
 boolean isSetSamplingResolution()
           
 boolean isSetSynthetic()
           
 void setBitRate(java.lang.Integer value)
          Sets the value of the bitRate property.
 void setChannels(java.lang.String value)
          Sets the value of the channels property.
 void setCodec(java.lang.String value)
          Sets the value of the codec property.
 void setCodecParams(Properties value)
          Sets the value of the codecParams property.
 void setSamplingRate(java.lang.Integer value)
          Sets the value of the samplingRate property.
 void setSamplingResolution(java.lang.Integer value)
          Sets the value of the samplingResolution property.
 void setSynthetic(Audio.Synthetic value)
          Sets the value of the synthetic property.
 
Methods inherited from class org.openmobilealliance.schema.sti.v1_0.Media
getContentType, getContentTypeParams, getExtensionData, getSizeLimit, getTransformations, isSetContentType, isSetContentTypeParams, isSetExtensionData, isSetSizeLimit, isSetTransformations, setContentType, setContentTypeParams, setExtensionData, setSizeLimit, setTransformations
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Audio

public Audio()
Method Detail

getCodec

public java.lang.String getCodec()
Gets the value of the codec property.

Returns:
possible object is String

setCodec

public void setCodec(java.lang.String value)
Sets the value of the codec property.

Parameters:
value - allowed object is String

isSetCodec

public boolean isSetCodec()

getCodecParams

public Properties getCodecParams()
Gets the value of the codecParams property.

Returns:
possible object is Properties

setCodecParams

public void setCodecParams(Properties value)
Sets the value of the codecParams property.

Parameters:
value - allowed object is Properties

isSetCodecParams

public boolean isSetCodecParams()

getBitRate

public java.lang.Integer getBitRate()
Gets the value of the bitRate property.

Returns:
possible object is Integer

setBitRate

public void setBitRate(java.lang.Integer value)
Sets the value of the bitRate property.

Parameters:
value - allowed object is Integer

isSetBitRate

public boolean isSetBitRate()

getSamplingRate

public java.lang.Integer getSamplingRate()
Gets the value of the samplingRate property.

Returns:
possible object is Integer

setSamplingRate

public void setSamplingRate(java.lang.Integer value)
Sets the value of the samplingRate property.

Parameters:
value - allowed object is Integer

isSetSamplingRate

public boolean isSetSamplingRate()

getSamplingResolution

public java.lang.Integer getSamplingResolution()
Gets the value of the samplingResolution property.

Returns:
possible object is Integer

setSamplingResolution

public void setSamplingResolution(java.lang.Integer value)
Sets the value of the samplingResolution property.

Parameters:
value - allowed object is Integer

isSetSamplingResolution

public boolean isSetSamplingResolution()

getChannels

public java.lang.String getChannels()
Gets the value of the channels property.

Returns:
possible object is String

setChannels

public void setChannels(java.lang.String value)
Sets the value of the channels property.

Parameters:
value - allowed object is String

isSetChannels

public boolean isSetChannels()

getSynthetic

public Audio.Synthetic getSynthetic()
Gets the value of the synthetic property.

Returns:
possible object is Audio.Synthetic

setSynthetic

public void setSynthetic(Audio.Synthetic value)
Sets the value of the synthetic property.

Parameters:
value - allowed object is Audio.Synthetic

isSetSynthetic

public boolean isSetSynthetic()