|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TypeOfNumber>
org.jsmpp.bean.TypeOfNumber
public enum TypeOfNumber
Type of Number based on SMPP version 3.4.
Enum Constant Summary | |
---|---|
ABBREVIATED
|
|
ALPHANUMERIC
|
|
INTERNATIONAL
|
|
NATIONAL
|
|
NETWORK_SPECIFIC
|
|
SUBSCRIBER_NUMBER
|
|
UNKNOWN
|
Method Summary | |
---|---|
byte |
value()
Get the byte value of the enum constant. |
static TypeOfNumber |
valueOf(byte value)
Get the TypeOfNumber based on the specified byte value representation. |
static TypeOfNumber |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TypeOfNumber[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TypeOfNumber UNKNOWN
public static final TypeOfNumber INTERNATIONAL
public static final TypeOfNumber NATIONAL
public static final TypeOfNumber NETWORK_SPECIFIC
public static final TypeOfNumber SUBSCRIBER_NUMBER
public static final TypeOfNumber ALPHANUMERIC
public static final TypeOfNumber ABBREVIATED
Method Detail |
---|
public static TypeOfNumber[] values()
for (TypeOfNumber c : TypeOfNumber.values()) System.out.println(c);
public static TypeOfNumber valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic byte value()
public static TypeOfNumber valueOf(byte value)
value
- is the byte value representation.
java.lang.IllegalArgumentException
- if there is no enum const associated
with specified byte value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |