org.csapi.jr.se.mm
Class TerminalType

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

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

Defines which kind of terminal is used.

See Also:
Serialized Form

Field Summary
static int _M_FIXED
          Fixed terminal.
static int _M_IP
          IP terminal.
static int _M_MOBILE
          Mobile terminal.
static org.csapi.jr.se.mm.TerminalType M_FIXED
          Fixed terminal.
static org.csapi.jr.se.mm.TerminalType M_IP
          IP terminal.
static org.csapi.jr.se.mm.TerminalType M_MOBILE
          Mobile terminal.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.mm.TerminalType 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

_M_FIXED

public static final int _M_FIXED
Fixed terminal.

See Also:
Constant Field Values

M_FIXED

public static final org.csapi.jr.se.mm.TerminalType M_FIXED
Fixed terminal.


_M_MOBILE

public static final int _M_MOBILE
Mobile terminal.

See Also:
Constant Field Values

M_MOBILE

public static final org.csapi.jr.se.mm.TerminalType M_MOBILE
Mobile terminal.


_M_IP

public static final int _M_IP
IP terminal.

See Also:
Constant Field Values

M_IP

public static final org.csapi.jr.se.mm.TerminalType M_IP
IP terminal.

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

getObject

public static org.csapi.jr.se.mm.TerminalType 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