Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.oracle.sft.api.conferenceinfo
Interface Media


public interface Media

Represents the media element that defined in RFC4575.

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

 <complexType name="media_type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="display_text" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="label" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="src_id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="status" type="{urn:ietf:params:xml:ns:conference-info}media-status-type" minOccurs="0"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 

Method Summary
 String getDisplayText()
          Gets the value of the displayText element.
 String getId()
          Gets the value of the id element.
 String getLabel()
          Gets the value of the label element.
 String getSrcId()
          Gets the value of the srcId element.
 MediaStatus getStatus()
          Gets the value of the status element.
 String getType()
          Gets the value of the type element.
 void setDisplayText(String value)
          Sets the value of the displayText element.
 void setId(String value)
          Sets the value of the id element.
 void setLabel(String value)
          Sets the value of the label element.
 void setSrcId(String value)
          Sets the value of the srcId element.
 void setStatus(MediaStatus value)
          Sets the value of the status element.
 void setType(String value)
          Sets the value of the type element.

 

Method Detail

getDisplayText

String getDisplayText()
Gets the value of the displayText element.
Returns:
a string value represents the dispaly text.

setDisplayText

void setDisplayText(String value)
Sets the value of the displayText element.
Parameters:
value - a string value represents the dispaly text.

getType

String getType()
Gets the value of the type element.
Returns:
the type.

setType

void setType(String value)
Sets the value of the type element.
Parameters:
value - the type.

getLabel

String getLabel()
Gets the value of the label element.
Returns:
the value of label element.

setLabel

void setLabel(String value)
Sets the value of the label element.
Parameters:
value - the label.

getSrcId

String getSrcId()
Gets the value of the srcId element.
Returns:
the value of srdId element

setSrcId

void setSrcId(String value)
Sets the value of the srcId element.
Parameters:
value - the value of srdId element

getStatus

MediaStatus getStatus()
Gets the value of the status element.
Returns:
an instance of MediaStatus

setStatus

void setStatus(MediaStatus value)
Sets the value of the status element.
Parameters:
value - an instance of MediaStatus

getId

String getId()
Gets the value of the id element.
Returns:
the id.

setId

void setId(String value)
Sets the value of the id element.
Parameters:
value - the id.

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.