org.csapi.jr.se.cc
Class CallTreatmentType

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

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

Defines the treatment for calls that will be handled only by the network.

See Also:
Serialized Form

Field Summary
static int _CALL_TREATMENT_DEFAULT
          Default treatment
static int _CALL_TREATMENT_RELEASE
          Release the call
static int _CALL_TREATMENT_SIAR
          Send information to the user, and release the call (Send Info & Release)
static org.csapi.jr.se.cc.CallTreatmentType CALL_TREATMENT_DEFAULT
          Default treatment
static org.csapi.jr.se.cc.CallTreatmentType CALL_TREATMENT_RELEASE
          Release the call
static org.csapi.jr.se.cc.CallTreatmentType CALL_TREATMENT_SIAR
          Send information to the user, and release the call (Send Info & Release)
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.cc.CallTreatmentType getObject(int value)
          Accepts values in the range of 0 to 2
 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

_CALL_TREATMENT_DEFAULT

public static final int _CALL_TREATMENT_DEFAULT
Default treatment

See Also:
Constant Field Values

CALL_TREATMENT_DEFAULT

public static final org.csapi.jr.se.cc.CallTreatmentType CALL_TREATMENT_DEFAULT
Default treatment


_CALL_TREATMENT_RELEASE

public static final int _CALL_TREATMENT_RELEASE
Release the call

See Also:
Constant Field Values

CALL_TREATMENT_RELEASE

public static final org.csapi.jr.se.cc.CallTreatmentType CALL_TREATMENT_RELEASE
Release the call


_CALL_TREATMENT_SIAR

public static final int _CALL_TREATMENT_SIAR
Send information to the user, and release the call (Send Info & Release)

See Also:
Constant Field Values

CALL_TREATMENT_SIAR

public static final org.csapi.jr.se.cc.CallTreatmentType CALL_TREATMENT_SIAR
Send information to the user, and release the call (Send Info & Release)

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 CallTreatmentType object

getObject

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

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