org.csapi.jr.se.cc
Class CallLegAttachMechanism

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

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

Defines how a CallLeg should be attached to the call.

See Also:
Serialized Form

Field Summary
static int _CALLLEG_ATTACH_EXPLICITLY
          CallLeg should be attached explicitly to the call by using the attachMediaReq() operation.
static int _CALLLEG_ATTACH_IMPLICITLY
          CallLeg should be attached implicitly to the call.
static org.csapi.jr.se.cc.CallLegAttachMechanism CALLLEG_ATTACH_EXPLICITLY
          CallLeg should be attached explicitly to the call by using the attachMediaReq() operation.
static org.csapi.jr.se.cc.CallLegAttachMechanism CALLLEG_ATTACH_IMPLICITLY
          CallLeg should be attached implicitly to the call.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.cc.CallLegAttachMechanism getObject(int value)
          Accepts values in the range of 0 to 1
 int getValue()
          Number representing enum type
 java.lang.String getValueText()
          getValueText method, overrides the getValueText() method in class java.lang.Object
 int hashCode()
          Returns a hashcode value for the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_CALLLEG_ATTACH_IMPLICITLY

public static final int _CALLLEG_ATTACH_IMPLICITLY
CallLeg should be attached implicitly to the call.

See Also:
Constant Field Values

CALLLEG_ATTACH_IMPLICITLY

public static final org.csapi.jr.se.cc.CallLegAttachMechanism CALLLEG_ATTACH_IMPLICITLY
CallLeg should be attached implicitly to the call.


_CALLLEG_ATTACH_EXPLICITLY

public static final int _CALLLEG_ATTACH_EXPLICITLY
CallLeg should be attached explicitly to the call by using the attachMediaReq() operation. This allows for example the application to do first user interaction to the party before he/she is placed in the call.

See Also:
Constant Field Values

CALLLEG_ATTACH_EXPLICITLY

public static final org.csapi.jr.se.cc.CallLegAttachMechanism CALLLEG_ATTACH_EXPLICITLY
CallLeg should be attached explicitly to the call by using the attachMediaReq() operation. This allows for example the application to do first user interaction to the party before he/she is placed in the call.

Method Detail

getValue

public int getValue()
Number representing enum type

Returns:
int number representing type of object, this is defined within the class

getValueText

public java.lang.String getValueText()
getValueText method, overrides the getValueText() method in class java.lang.Object

Returns:
String The stringified version of the CallLegAttachMechanism object

getObject

public static org.csapi.jr.se.cc.CallLegAttachMechanism getObject(int value)
                                                           throws InvalidEnumValueException
Accepts values in the range of 0 to 1

Parameters:
value - number representing type of object, this is defined within the class
Throws:
InvalidEnumValueException - thrown if invalid value is passed into method

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