org.csapi.jr.se.cc
Class CallServiceCodeType

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

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

Defines the different types of service codes that can be received during the call.

See Also:
Serialized Form

Field Summary
static int _CALL_SERVICE_CODE_DIGITS
          The user entered a digit sequence during the call.
static int _CALL_SERVICE_CODE_FACILITY
          A facility information element is received.
static int _CALL_SERVICE_CODE_HOOKFLASH
          The user performed a hookflash, optionally followed by some digits.
static int _CALL_SERVICE_CODE_RECALL
          The user pressed the register recall button, optionally followed by some digits.
static int _CALL_SERVICE_CODE_U2U
          A user-to-user message was received.
static int _CALL_SERVICE_CODE_UNDEFINED
          The type of service code is unknown.
static org.csapi.jr.se.cc.CallServiceCodeType CALL_SERVICE_CODE_DIGITS
          The user entered a digit sequence during the call.
static org.csapi.jr.se.cc.CallServiceCodeType CALL_SERVICE_CODE_FACILITY
          A facility information element is received.
static org.csapi.jr.se.cc.CallServiceCodeType CALL_SERVICE_CODE_HOOKFLASH
          The user performed a hookflash, optionally followed by some digits.
static org.csapi.jr.se.cc.CallServiceCodeType CALL_SERVICE_CODE_RECALL
          The user pressed the register recall button, optionally followed by some digits.
static org.csapi.jr.se.cc.CallServiceCodeType CALL_SERVICE_CODE_U2U
          A user-to-user message was received.
static org.csapi.jr.se.cc.CallServiceCodeType CALL_SERVICE_CODE_UNDEFINED
          The type of service code is unknown.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.cc.CallServiceCodeType getObject(int value)
          Accepts values in the range of 0 to 5
 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_SERVICE_CODE_UNDEFINED

public static final int _CALL_SERVICE_CODE_UNDEFINED
The type of service code is unknown. The corresponding string is operator specific.

See Also:
Constant Field Values

CALL_SERVICE_CODE_UNDEFINED

public static final org.csapi.jr.se.cc.CallServiceCodeType CALL_SERVICE_CODE_UNDEFINED
The type of service code is unknown. The corresponding string is operator specific.


_CALL_SERVICE_CODE_DIGITS

public static final int _CALL_SERVICE_CODE_DIGITS
The user entered a digit sequence during the call. The corresponding string is an ASCII representation of the received digits.

See Also:
Constant Field Values

CALL_SERVICE_CODE_DIGITS

public static final org.csapi.jr.se.cc.CallServiceCodeType CALL_SERVICE_CODE_DIGITS
The user entered a digit sequence during the call. The corresponding string is an ASCII representation of the received digits.


_CALL_SERVICE_CODE_FACILITY

public static final int _CALL_SERVICE_CODE_FACILITY
A facility information element is received. The corresponding string contains the facility information element as defined in ITU-T Recommendation Q.932.

See Also:
Constant Field Values

CALL_SERVICE_CODE_FACILITY

public static final org.csapi.jr.se.cc.CallServiceCodeType CALL_SERVICE_CODE_FACILITY
A facility information element is received. The corresponding string contains the facility information element as defined in ITU-T Recommendation Q.932.


_CALL_SERVICE_CODE_U2U

public static final int _CALL_SERVICE_CODE_U2U
A user-to-user message was received. The associated string contains the content of the user-to-user information element.

See Also:
Constant Field Values

CALL_SERVICE_CODE_U2U

public static final org.csapi.jr.se.cc.CallServiceCodeType CALL_SERVICE_CODE_U2U
A user-to-user message was received. The associated string contains the content of the user-to-user information element.


_CALL_SERVICE_CODE_HOOKFLASH

public static final int _CALL_SERVICE_CODE_HOOKFLASH
The user performed a hookflash, optionally followed by some digits. The corresponding string is an ASCII representation of the entered digits.

See Also:
Constant Field Values

CALL_SERVICE_CODE_HOOKFLASH

public static final org.csapi.jr.se.cc.CallServiceCodeType CALL_SERVICE_CODE_HOOKFLASH
The user performed a hookflash, optionally followed by some digits. The corresponding string is an ASCII representation of the entered digits.


_CALL_SERVICE_CODE_RECALL

public static final int _CALL_SERVICE_CODE_RECALL
The user pressed the register recall button, optionally followed by some digits. The corresponding string is an ASCII representation of the entered digits.

See Also:
Constant Field Values

CALL_SERVICE_CODE_RECALL

public static final org.csapi.jr.se.cc.CallServiceCodeType CALL_SERVICE_CODE_RECALL
The user pressed the register recall button, optionally followed by some digits. The corresponding string is an ASCII representation of the entered digits.

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

getObject

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

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