|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<GSMSpecificFeature>
org.jsmpp.bean.GSMSpecificFeature
public enum GSMSpecificFeature
Enum Constant Summary | |
---|---|
DEFAULT
|
|
REPLYPATH
Reply path. |
|
UDHI
User data header indicator. |
|
UDHI_REPLYPATH
User data header indicator and Reply path. |
Field Summary | |
---|---|
static byte |
CLEAR_BYTE
|
static byte |
MASK_BYTE
|
Method Summary | |
---|---|
static byte |
clear(byte esmClass)
Clear the bit 0 - 6. |
static byte |
compose(byte esmClass,
GSMSpecificFeature specificFeature)
Compose the existing ESM class with the GSM specific feature. |
boolean |
containedIn(byte esmClass)
Check the GSM Specific Feature is contained in ESM class value. |
boolean |
containedIn(ESMClass esmClass)
Check the GSM Specific Feature is contained in ESM class value. |
byte |
value()
|
static GSMSpecificFeature |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GSMSpecificFeature[] |
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 GSMSpecificFeature DEFAULT
public static final GSMSpecificFeature UDHI
public static final GSMSpecificFeature REPLYPATH
public static final GSMSpecificFeature UDHI_REPLYPATH
Field Detail |
---|
public static final byte CLEAR_BYTE
public static final byte MASK_BYTE
Method Detail |
---|
public static GSMSpecificFeature[] values()
for (GSMSpecificFeature c : GSMSpecificFeature.values()) System.out.println(c);
public static GSMSpecificFeature 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 boolean containedIn(ESMClass esmClass)
esmClass
- is the ESM class.
public boolean containedIn(byte esmClass)
esmClass
- is the ESM class.
public static byte compose(byte esmClass, GSMSpecificFeature specificFeature)
esmClass
- is the existing ESM class.specificFeature
- the GSM specific feature.
public static byte clear(byte esmClass)
esmClass
- is the ESM class value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |