public enum PhraseType extends java.lang.Enum<PhraseType>
| Modifier and Type | Method and Description |
|---|---|
static PhraseType |
fromDescription(java.lang.String description) |
java.lang.String |
getDescription() |
static PhraseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PhraseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhraseType AP
public static final PhraseType CP
public static final PhraseType CR
public static final PhraseType DP
public static final PhraseType NP
public static final PhraseType PN
public static final PhraseType PP
public static final PhraseType RP
public static final PhraseType VP
public static final PhraseType NA
public static PhraseType[] values()
for (PhraseType c : PhraseType.values()) System.out.println(c);
public static PhraseType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static PhraseType fromDescription(java.lang.String description)
public java.lang.String getDescription()