public enum TDAPI_REQMODE extends Enum<TDAPI_REQMODE> implements com4j.ComEnum
Flags for requirement factory Find method. Can be combined with binary OR.
Enum Constant and Description |
---|
TDREQMODE_FIND_ANYWHERE
Search for pattern anywhere in requirement name.
|
TDREQMODE_FIND_EXACT
Requirement name exactly matches pattern.
|
TDREQMODE_FIND_START_WITH
Requirement name starts with pattern.
|
TDREQMODE_REC
Not in use.
|
TDREQMODE_REM_REM_ALL
Not in use.
|
TDREQMODE_SMART
Case sensitive search.
|
Modifier and Type | Method and Description |
---|---|
int |
comEnumValue() |
static TDAPI_REQMODE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TDAPI_REQMODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TDAPI_REQMODE TDREQMODE_REC
Not in use.
The value of this constant is 1
public static final TDAPI_REQMODE TDREQMODE_SMART
Case sensitive search.
The value of this constant is 2
public static final TDAPI_REQMODE TDREQMODE_REM_REM_ALL
Not in use.
The value of this constant is 4
public static final TDAPI_REQMODE TDREQMODE_FIND_START_WITH
Requirement name starts with pattern.
The value of this constant is 8
public static final TDAPI_REQMODE TDREQMODE_FIND_EXACT
Requirement name exactly matches pattern.
The value of this constant is 16
public static final TDAPI_REQMODE TDREQMODE_FIND_ANYWHERE
Search for pattern anywhere in requirement name.
The value of this constant is 32
public static TDAPI_REQMODE[] values()
for (TDAPI_REQMODE c : TDAPI_REQMODE.values()) System.out.println(c);
public static TDAPI_REQMODE valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int comEnumValue()
comEnumValue
in interface com4j.ComEnum
Copyright © 2020. All rights reserved.