leila.patterns
Enum LinkageWord.Type

java.lang.Object
  extended by java.lang.Enum<LinkageWord.Type>
      extended by leila.patterns.LinkageWord.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LinkageWord.Type>
Enclosing class:
LinkageWord

public static enum LinkageWord.Type
extends java.lang.Enum<LinkageWord.Type>

Type of LinkageWords


Enum Constant Summary
ABBREVIATION
           
ADJECTIVE
           
COMPANY
           
COULDBEPERSON
           
DATE
           
GERUND
           
NAME
           
NOUN
           
NUMBER
           
PERSON
           
PLURAL
           
PRONOUN
           
STOPWORD
           
UNKNOWN
           
VERB
           
 
Method Summary
static LinkageWord.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LinkageWord.Type[] 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

GERUND

public static final LinkageWord.Type GERUND

PRONOUN

public static final LinkageWord.Type PRONOUN

NOUN

public static final LinkageWord.Type NOUN

NAME

public static final LinkageWord.Type NAME

ABBREVIATION

public static final LinkageWord.Type ABBREVIATION

PLURAL

public static final LinkageWord.Type PLURAL

NUMBER

public static final LinkageWord.Type NUMBER

DATE

public static final LinkageWord.Type DATE

VERB

public static final LinkageWord.Type VERB

ADJECTIVE

public static final LinkageWord.Type ADJECTIVE

UNKNOWN

public static final LinkageWord.Type UNKNOWN

STOPWORD

public static final LinkageWord.Type STOPWORD

PERSON

public static final LinkageWord.Type PERSON

COULDBEPERSON

public static final LinkageWord.Type COULDBEPERSON

COMPANY

public static final LinkageWord.Type COMPANY
Method Detail

values

public static LinkageWord.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (LinkageWord.Type c : LinkageWord.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LinkageWord.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null