public enum StringParameter extends java.lang.Enum<StringParameter>
Enum Constant and Description |
---|
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 |
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 namejava.lang.NullPointerException
- if the argument is nullpublic int getMax()
public int getMin()
public boolean isRangeMinAndMax()
public StringType getType()
public int getErrCode()