public final class IlrGender
extends ilog.rules.vocabulary.util.IlrAbstractEnumerator
| Modifier and Type | Field and Description |
|---|---|
static int |
FEMALE
Constant integer value for the constant
FEMALE_LITERAL. |
static IlrGender |
FEMALE_LITERAL
Female gender constant.
|
static int |
MALE
Constant integer value for the constant
MALE_LITERAL. |
static IlrGender |
MALE_LITERAL
Male gender constant.
|
static int |
NEUTRAL
Constant integer value for the constant
NEUTRAL_LITERAL. |
static IlrGender |
NEUTRAL_LITERAL
Neutral gender constant.
|
static int |
UNSPECIFIED
Constant integer value for the constant
NEUTRAL_LITERAL. |
static IlrGender |
UNSPECIFIED_LITERAL
Unspecified gender constant.
|
| Modifier and Type | Method and Description |
|---|---|
static IlrGender |
get(int value)
Gets a gender constant from the specified value.
|
static IlrGender |
get(java.lang.String name)
Gets a gender constant from the specified name.
|
public static final int MALE
MALE_LITERAL.public static final int FEMALE
FEMALE_LITERAL.public static final int NEUTRAL
NEUTRAL_LITERAL.public static final int UNSPECIFIED
NEUTRAL_LITERAL.public static final IlrGender MALE_LITERAL
public static final IlrGender FEMALE_LITERAL
public static final IlrGender NEUTRAL_LITERAL
public static final IlrGender UNSPECIFIED_LITERAL
public static IlrGender get(java.lang.String name)
name - The name of the constant.public static IlrGender get(int value)
value - © Copyright IBM Corp. 1987, 2017