Enum TDAPI_REQMODE

  • All Implemented Interfaces:
    com4j.ComEnum, java.io.Serializable, java.lang.Comparable<TDAPI_REQMODE>

    public enum TDAPI_REQMODE
    extends java.lang.Enum<TDAPI_REQMODE>
    implements com4j.ComEnum

    Flags for requirement factory Find method. Can be combined with binary OR.

    • Enum Constant Detail

      • TDREQMODE_REC

        public static final TDAPI_REQMODE TDREQMODE_REC

        Not in use.

        The value of this constant is 1

      • TDREQMODE_SMART

        public static final TDAPI_REQMODE TDREQMODE_SMART

        Case sensitive search.

        The value of this constant is 2

      • TDREQMODE_REM_REM_ALL

        public static final TDAPI_REQMODE TDREQMODE_REM_REM_ALL

        Not in use.

        The value of this constant is 4

      • TDREQMODE_FIND_START_WITH

        public static final TDAPI_REQMODE TDREQMODE_FIND_START_WITH

        Requirement name starts with pattern.

        The value of this constant is 8

      • TDREQMODE_FIND_EXACT

        public static final TDAPI_REQMODE TDREQMODE_FIND_EXACT

        Requirement name exactly matches pattern.

        The value of this constant is 16

      • TDREQMODE_FIND_ANYWHERE

        public static final TDAPI_REQMODE TDREQMODE_FIND_ANYWHERE

        Search for pattern anywhere in requirement name.

        The value of this constant is 32

    • Method Detail

      • values

        public static TDAPI_REQMODE[] 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 (TDAPI_REQMODE c : TDAPI_REQMODE.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TDAPI_REQMODE 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
      • comEnumValue

        public int comEnumValue()
        Specified by:
        comEnumValue in interface com4j.ComEnum