org.vizzini.ui.ai.logic
Class SentenceType

java.lang.Object
  extended by org.vizzini.util.AbstractEnumeratedType
      extended by org.vizzini.ui.ai.logic.SentenceType
All Implemented Interfaces:
Comparable, IEnumeratedType

public class SentenceType
extends AbstractEnumeratedType

This class provides an enumeration of sentence types.

Since:
v0.2
Version:
v0.3
Author:
Jeffrey M. Thompson

Field Summary
static SentenceType ATOMIC
           
static SentenceType COMPLEX
           
 
Method Summary
static SentenceType get(int i)
          Return the sentence type which corresponds to the given integer.
static int size()
          Return the number of enumerated values.
static SentenceType valueOf(String name)
          Return the sentence type which corresponds to the given string.
 
Methods inherited from class org.vizzini.util.AbstractEnumeratedType
compareTo, equals, getDisplayName, getName, hashCode, intValue, setOrdinal, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ATOMIC

public static final SentenceType ATOMIC

COMPLEX

public static final SentenceType COMPLEX
Method Detail

get

public static SentenceType get(int i)
Return the sentence type which corresponds to the given integer.

Since:
v0.2

size

public static final int size()
Return the number of enumerated values.

Since:
v0.2

valueOf

public static SentenceType valueOf(String name)
Return the sentence type which corresponds to the given string.

Since:
v0.2


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02