|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<StringParameter>
org.jsmpp.util.StringParameter
public enum StringParameter
Enum Constant Summary | |
---|---|
ADDRESS_RANGE
Invalid address range assume should return the error of invalid source address. |
|
DEL_MESSAGE_ID
|
|
DESTINATION_ADDR
|
|
DL_NAME
Validator for DL_NAME (Distribution List) |
|
ESME_ADDR
ESME_ADDR has error code OK because there is not response to alert_notification (ESME_ADDR only use on alert_notification), so there is no error code to return. |
|
FINAL_DATE
When validating final date is failed, then we should throw error with status STAT_ESME_RINVDFTMSGID, means that predefined message are not exist. |
|
MESSAGE_ID
|
|
PASSWORD
password string parameter. |
|
SCHEDULE_DELIVERY_TIME
|
|
SERVICE_TYPE
|
|
SHORT_MESSAGE
|
|
SOURCE_ADDR
|
|
SYSTEM_ID
system_id string parameter. |
|
SYSTEM_TYPE
system_type string parameter. |
|
VALIDITY_PERIOD
|
Field Summary | |
---|---|
private int |
errCode
|
private int |
max
|
private int |
min
|
private boolean |
rangeMinAndMax
|
private StringType |
type
|
Method Summary | |
---|---|
int |
getErrCode()
Get the corresponding error code if the rule has broken. |
int |
getMax()
|
int |
getMin()
|
StringType |
getType()
|
boolean |
isRangeMinAndMax()
|
static StringParameter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StringParameter[] |
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 StringParameter SYSTEM_ID
public static final StringParameter PASSWORD
public static final StringParameter SYSTEM_TYPE
public static final StringParameter ADDRESS_RANGE
public static final StringParameter SERVICE_TYPE
public static final StringParameter SOURCE_ADDR
public static final StringParameter DESTINATION_ADDR
public static final StringParameter SCHEDULE_DELIVERY_TIME
public static final StringParameter VALIDITY_PERIOD
public static final StringParameter DL_NAME
public static final StringParameter FINAL_DATE
public static final StringParameter SHORT_MESSAGE
public static final StringParameter MESSAGE_ID
public static final StringParameter DEL_MESSAGE_ID
public static final StringParameter ESME_ADDR
Field Detail |
---|
private StringType type
private final int min
private final int max
private final boolean rangeMinAndMax
private final int errCode
Method Detail |
---|
public static StringParameter[] values()
for (StringParameter c : StringParameter.values()) System.out.println(c);
public static StringParameter 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 int getMax()
public int getMin()
public boolean isRangeMinAndMax()
public StringType getType()
public int getErrCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |