org.csapi.jr.se.cc.mmccs
Class MediaStreamDataTypeRequest

java.lang.Object
  |
  +--org.csapi.jr.se.cc.mmccs.MediaStreamDataTypeRequest
All Implemented Interfaces:
java.io.Serializable

public final class MediaStreamDataTypeRequest
extends java.lang.Object
implements java.io.Serializable

Defines the Tagged Choice of Data Elements that specify the media type and associated codecs that are of interest.

See Also:
Serialized Form

Constructor Summary
MediaStreamDataTypeRequest()
          Creates a new MediaStreamDataTypeRequest.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 int getAudio()
          This method returns a Audio
 int getData()
          This method returns a Data
 org.csapi.jr.se.cc.mmccs.MediaStreamDataTypeRequestType getDiscriminator()
          This method returns the discriminator.
 int getVideo()
          This method returns a Video
 int hashCode()
          Returns a hashcode value for the object.
 void setAudio(int value)
          This method sets a Audio
 void setData(int value)
          This method sets a Data
 void setUndefined(org.csapi.jr.se.cc.mmccs.MediaStreamDataTypeRequestType discriminator)
          This method will receive the discriminator as a parameter and will set _object to null
 void setVideo(int value)
          This method sets a Video
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaStreamDataTypeRequest

public MediaStreamDataTypeRequest()
Creates a new MediaStreamDataTypeRequest. Tagged choice of data elements always have empty constructors

Method Detail

getDiscriminator

public org.csapi.jr.se.cc.mmccs.MediaStreamDataTypeRequestType getDiscriminator()
                                                                         throws InvalidUnionAccessorException
This method returns the discriminator.

Returns:
a MediaStreamDataTypeRequestType value
Throws:
InvalidUnionAccessorException - if an error occurs

getAudio

public int getAudio()
             throws InvalidUnionAccessorException
This method returns a Audio

Returns:
a int value
Throws:
InvalidUnionAccessorException - if an error occurs

setAudio

public void setAudio(int value)
This method sets a Audio

Parameters:
value - a int value

getVideo

public int getVideo()
             throws InvalidUnionAccessorException
This method returns a Video

Returns:
a int value
Throws:
InvalidUnionAccessorException - if an error occurs

setVideo

public void setVideo(int value)
This method sets a Video

Parameters:
value - a int value

getData

public int getData()
            throws InvalidUnionAccessorException
This method returns a Data

Returns:
a int value
Throws:
InvalidUnionAccessorException - if an error occurs

setData

public void setData(int value)
This method sets a Data

Parameters:
value - a int value

setUndefined

public void setUndefined(org.csapi.jr.se.cc.mmccs.MediaStreamDataTypeRequestType discriminator)
This method will receive the discriminator as a parameter and will set _object to null

Parameters:
discriminator - a MediaStreamDataTypeRequestType value

equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object