org.csapi.jr.se.cc.gccs
Class CallNotificationType

java.lang.Object
  extended byorg.csapi.jr.se.cc.gccs.CallNotificationType
All Implemented Interfaces:
java.io.Serializable

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

Defines the type of notification. Indicates whether it is related to the originating of the terminating user in the call.

See Also:
Serialized Form

Field Summary
static int _ORIGINATING
          Indicates that the notification is related to the originating user in the call.
static int _TERMINATING
          Indicates that the notification is related to the terminating user in the call.
static CallNotificationType ORIGINATING
          Indicates that the notification is related to the originating user in the call.
static CallNotificationType TERMINATING
          Indicates that the notification is related to the terminating user in the call.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static CallNotificationType 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
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_ORIGINATING

public static final int _ORIGINATING
Indicates that the notification is related to the originating user in the call.

See Also:
Constant Field Values

ORIGINATING

public static final CallNotificationType ORIGINATING
Indicates that the notification is related to the originating user in the call.


_TERMINATING

public static final int _TERMINATING
Indicates that the notification is related to the terminating user in the call.

See Also:
Constant Field Values

TERMINATING

public static final CallNotificationType TERMINATING
Indicates that the notification is related to the terminating user 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 CallNotificationType object

getObject

public static CallNotificationType 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.


hashCode

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