public static enum RelationType.Polarity extends Enum<RelationType.Polarity>
Enum Constant and Description |
---|
BIPOLAR |
NEGATIVE |
NEUTRAL |
POSITIVE |
Modifier and Type | Method and Description |
---|---|
static RelationType.Polarity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelationType.Polarity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelationType.Polarity POSITIVE
public static final RelationType.Polarity NEGATIVE
public static final RelationType.Polarity NEUTRAL
public static final RelationType.Polarity BIPOLAR
public static RelationType.Polarity[] values()
for (RelationType.Polarity c : RelationType.Polarity.values()) System.out.println(c);
public static RelationType.Polarity 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 nullCopyright © 2010–2016. All rights reserved.