public enum ClassControlValues extends java.lang.Enum<ClassControlValues>
List of class controls.
Enum Constant and Description |
---|
_9
Numeric.
|
_A
Alphabetic.
|
_B
Numeric after replacing leading blanks with zeros.
|
_L
Lowercase alphabetic.
|
_U
Uppercase alphabetic.
|
_Z
Numeric after replacing all blanks with zerosFor a numeric class, all blanks will be replaced by zeros.
|
NONE
No control.
|
Modifier and Type | Method and Description |
---|---|
static ClassControlValues |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClassControlValues[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassControlValues _9
Numeric.
Numeric only. For an alphanumeric class, alphabetic and special characters will be rejected.
public static final ClassControlValues _A
Alphabetic.
For an alphanumeric class, numeric and special characters will be rejected. This control is the same as the automatically generated control if the Pure alphabetic box is checked.
public static final ClassControlValues _B
Numeric after replacing leading blanks with zeros.
For a numeric class, leading blanks will be replaced by zeros.
public static final ClassControlValues _L
Lowercase alphabetic.
For an alphanumeric class, only lowercase letters will be accepted.
public static final ClassControlValues _U
Uppercase alphabetic.
For an alphanumeric class, only uppercase letters will be accepted.
public static final ClassControlValues _Z
Numeric after replacing all blanks with zeros
For a numeric class, all blanks will be replaced by zeros.
public static final ClassControlValues NONE
No control.
Only the control automatically generated by the class is requested.
public static ClassControlValues 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 static ClassControlValues[] values()
for (ClassControlValues c : ClassControlValues.values()) System.out.println(c);