org.csapi.jr.se.ui
Class UICollectMode

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

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

Defines the type of collection.

See Also:
Serialized Form

Field Summary
static int _UI_COLLECT_MODE_DTMF
          Collect DTMF digits only
static int _UI_COLLECT_MODE_DTMFANDVOICE
          Collect both DTMF digits and voice recognized data
static int _UI_COLLECT_MODE_VOICE
          Collect Voice recognized data
static org.csapi.jr.se.ui.UICollectMode UI_COLLECT_MODE_DTMF
          Collect DTMF digits only
static org.csapi.jr.se.ui.UICollectMode UI_COLLECT_MODE_DTMFANDVOICE
          Collect both DTMF digits and voice recognized data
static org.csapi.jr.se.ui.UICollectMode UI_COLLECT_MODE_VOICE
          Collect Voice recognized data
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.ui.UICollectMode 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

_UI_COLLECT_MODE_DTMF

public static final int _UI_COLLECT_MODE_DTMF
Collect DTMF digits only

See Also:
Constant Field Values

UI_COLLECT_MODE_DTMF

public static final org.csapi.jr.se.ui.UICollectMode UI_COLLECT_MODE_DTMF
Collect DTMF digits only


_UI_COLLECT_MODE_VOICE

public static final int _UI_COLLECT_MODE_VOICE
Collect Voice recognized data

See Also:
Constant Field Values

UI_COLLECT_MODE_VOICE

public static final org.csapi.jr.se.ui.UICollectMode UI_COLLECT_MODE_VOICE
Collect Voice recognized data


_UI_COLLECT_MODE_DTMFANDVOICE

public static final int _UI_COLLECT_MODE_DTMFANDVOICE
Collect both DTMF digits and voice recognized data

See Also:
Constant Field Values

UI_COLLECT_MODE_DTMFANDVOICE

public static final org.csapi.jr.se.ui.UICollectMode UI_COLLECT_MODE_DTMFANDVOICE
Collect both DTMF digits and voice recognized data

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

getObject

public static org.csapi.jr.se.ui.UICollectMode 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