|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ValidatorSpecialChar com.ibm.etools.iseries.rse.ui.validators.ValidatorIBMiUserId
public class ValidatorIBMiUserId
This class is used in dialogs that prompt for an iSeries userId.
This does very basic userId validation, just to ensure there are no problems when the user Id is saved in the preferences. This means restricting use of a couple special characters that would mess up the key/value processing of the preference data. The IInputValidator interface is used by jface's InputDialog class and numerous other platform and system classes.
Field Summary | |
---|---|
static String |
Copyright
|
static String |
ISERIES_INVALID_CHARS_USERID
|
static int |
ISERIES_MAXLENGTH_USERID
|
Constructor Summary | |
---|---|
ValidatorIBMiUserId()
Constructor when a blank userId is not ok |
|
ValidatorIBMiUserId(boolean emptyAllowed)
Constructor when a blank userId is ok |
Method Summary | |
---|---|
int |
getMaximumNameLength()
Return the max number of chars for user ID: 128 |
SystemMessage |
isSyntaxOk(String newText)
We could do additional syntax checking here if we decide to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
public static final String ISERIES_INVALID_CHARS_USERID
public static final int ISERIES_MAXLENGTH_USERID
Constructor Detail |
---|
public ValidatorIBMiUserId()
public ValidatorIBMiUserId(boolean emptyAllowed)
Method Detail |
---|
public SystemMessage isSyntaxOk(String newText)
public int getMaximumNameLength()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |