|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ExtractionPart>
edu.washington.cs.knowitall.ExtractionPart
public enum ExtractionPart
An enum representing a section of an extraction.
| Enum Constant Summary | |
|---|---|
ARGUMENT1
The first argument of the extraction. |
|
ARGUMENT2
The second argument of the extraction. |
|
LEFT
Everything in the sentence left of the extraction. |
|
PREDICATE
The predicate of the extraction. |
|
RELATION
The entire extraction. |
|
RIGHT
Everything in the sentence right of the extraction. |
|
SENTENCE
The entire sentence the extraction is in. |
|
| Method Summary | |
|---|---|
boolean |
isExternal()
Determines if the part is outside the extraction. |
boolean |
isExtractionPart()
Determines if the part is in the extraction. |
static ExtractionPart |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ExtractionPart[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ExtractionPart SENTENCE
public static final ExtractionPart RELATION
public static final ExtractionPart PREDICATE
public static final ExtractionPart ARGUMENT1
public static final ExtractionPart ARGUMENT2
public static final ExtractionPart LEFT
public static final ExtractionPart RIGHT
| Method Detail |
|---|
public static ExtractionPart[] values()
for (ExtractionPart c : ExtractionPart.values()) System.out.println(c);
public static ExtractionPart valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic boolean isExtractionPart()
public boolean isExternal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||