org.csapi.jr.se.mm
Class RoamingStatus

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

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

Defines the roaming status of the user.

See Also:
Serialized Form

Field Summary
static int _HOME_USER
          User is in the home network
static int _INTERNATIONAL_ROAMING
          User has roamed to another operator abroad
static int _NATIONAL_ROAMING
          User has roamed to another operator in the same country
static int _OPERATOR_ROAMING
          User has roamed to a partner operator abroad
static int _UNKNOWN_ROAMING_STATUS
          No information on Roaming status has been found.
static org.csapi.jr.se.mm.RoamingStatus HOME_USER
          User is in the home network
static org.csapi.jr.se.mm.RoamingStatus INTERNATIONAL_ROAMING
          User has roamed to another operator abroad
static org.csapi.jr.se.mm.RoamingStatus NATIONAL_ROAMING
          User has roamed to another operator in the same country
static org.csapi.jr.se.mm.RoamingStatus OPERATOR_ROAMING
          User has roamed to a partner operator abroad
static org.csapi.jr.se.mm.RoamingStatus UNKNOWN_ROAMING_STATUS
          No information on Roaming status has been found.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.mm.RoamingStatus getObject(int value)
          Accepts values in the range of 0 to 4
 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

_UNKNOWN_ROAMING_STATUS

public static final int _UNKNOWN_ROAMING_STATUS
No information on Roaming status has been found.

See Also:
Constant Field Values

UNKNOWN_ROAMING_STATUS

public static final org.csapi.jr.se.mm.RoamingStatus UNKNOWN_ROAMING_STATUS
No information on Roaming status has been found.


_HOME_USER

public static final int _HOME_USER
User is in the home network

See Also:
Constant Field Values

HOME_USER

public static final org.csapi.jr.se.mm.RoamingStatus HOME_USER
User is in the home network


_NATIONAL_ROAMING

public static final int _NATIONAL_ROAMING
User has roamed to another operator in the same country

See Also:
Constant Field Values

NATIONAL_ROAMING

public static final org.csapi.jr.se.mm.RoamingStatus NATIONAL_ROAMING
User has roamed to another operator in the same country


_INTERNATIONAL_ROAMING

public static final int _INTERNATIONAL_ROAMING
User has roamed to another operator abroad

See Also:
Constant Field Values

INTERNATIONAL_ROAMING

public static final org.csapi.jr.se.mm.RoamingStatus INTERNATIONAL_ROAMING
User has roamed to another operator abroad


_OPERATOR_ROAMING

public static final int _OPERATOR_ROAMING
User has roamed to a partner operator abroad

See Also:
Constant Field Values

OPERATOR_ROAMING

public static final org.csapi.jr.se.mm.RoamingStatus OPERATOR_ROAMING
User has roamed to a partner operator abroad

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

getObject

public static org.csapi.jr.se.mm.RoamingStatus getObject(int value)
                                                  throws InvalidEnumValueException
Accepts values in the range of 0 to 4

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