com.ibm.pdp.maf.rpp.pac.segment

Enum ClassControlValues

  • java.lang.Object
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ClassControlValues>


    public enum ClassControlValues
    extends java.lang.Enum<ClassControlValues>

    List of class controls.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      _9 
      _A 
      _B 
      _L 
      _U 
      _Z 
      NONE 
    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • _9

        public static final ClassControlValues _9

        Numeric.

        Numeric only. For an alphanumeric class, alphabetic and special characters will be rejected.

      • _A

        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.

      • _B

        public static final ClassControlValues _B

        Numeric after replacing leading blanks with zeros.

        For a numeric class, leading blanks will be replaced by zeros.

      • _L

        public static final ClassControlValues _L

        Lowercase alphabetic.

        For an alphanumeric class, only lowercase letters will be accepted.

      • _U

        public static final ClassControlValues _U

        Uppercase alphabetic.

        For an alphanumeric class, only uppercase letters will be accepted.

      • _Z

        public static final ClassControlValues _Z

        Numeric after replacing all blanks with zeros

        For a numeric class, all blanks will be replaced by zeros.

      • NONE

        public static final ClassControlValues NONE

        No control.

        Only the control automatically generated by the class is requested.

    • Method Detail

      • valueOf

        public static ClassControlValues valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • values

        public static ClassControlValues[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ClassControlValues c : ClassControlValues.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared