gov.llnl.ontology.wordnet
Enum SynsetRelations.HypernymStatus

java.lang.Object
  extended by java.lang.Enum<SynsetRelations.HypernymStatus>
      extended by gov.llnl.ontology.wordnet.SynsetRelations.HypernymStatus
All Implemented Interfaces:
Serializable, Comparable<SynsetRelations.HypernymStatus>
Enclosing class:
SynsetRelations

public static enum SynsetRelations.HypernymStatus
extends Enum<SynsetRelations.HypernymStatus>

The possible hypernym statuses.


Enum Constant Summary
KNOWN_HYPERNYM
           
KNOWN_NON_HYPERNYM
           
NOVEL_HYPERNYM
           
NOVEL_HYPONYM
           
TERMS_MISSING
           
 
Method Summary
static SynsetRelations.HypernymStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SynsetRelations.HypernymStatus[] 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

TERMS_MISSING

public static final SynsetRelations.HypernymStatus TERMS_MISSING

NOVEL_HYPONYM

public static final SynsetRelations.HypernymStatus NOVEL_HYPONYM

NOVEL_HYPERNYM

public static final SynsetRelations.HypernymStatus NOVEL_HYPERNYM

KNOWN_HYPERNYM

public static final SynsetRelations.HypernymStatus KNOWN_HYPERNYM

KNOWN_NON_HYPERNYM

public static final SynsetRelations.HypernymStatus KNOWN_NON_HYPERNYM
Method Detail

values

public static SynsetRelations.HypernymStatus[] 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 (SynsetRelations.HypernymStatus c : SynsetRelations.HypernymStatus.values())
    System.out.println(c);

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

valueOf

public static SynsetRelations.HypernymStatus valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2010-2011. All Rights Reserved.