org.vizzini.ai.logic
Class ArgumentType

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

public class ArgumentType
extends AbstractEnumeratedType

This class provides an enumeration of argument types.

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

Field Summary
static ArgumentType LITERAL
           
static ArgumentType PROPERTY
           
 
Method Summary
static ArgumentType get(int i)
          Return the argument type which corresponds to the given integer.
static int size()
          Return the number of enumerated values.
static ArgumentType valueOf(String name)
          Return the argument 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

LITERAL

public static final ArgumentType LITERAL

PROPERTY

public static final ArgumentType PROPERTY
Method Detail

get

public static ArgumentType get(int i)
Return the argument 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 ArgumentType valueOf(String name)
Return the argument type which corresponds to the given string.

Since:
v0.2


Copyright © 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02