edu.ucla.belief.io.xmlbif
Enum XmlbifParser.VariableType

Object
  extended by Enum<XmlbifParser.VariableType>
      extended by XmlbifParser.VariableType
All Implemented Interfaces:
Serializable, Comparable<XmlbifParser.VariableType>
Enclosing class:
XmlbifParser

public static enum XmlbifParser.VariableType
extends Enum<XmlbifParser.VariableType>


Enum Constant Summary
decision
           
discrete
           
nature
           
utility
           
 
Method Summary
 boolean isNatural()
           
static XmlbifParser.VariableType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XmlbifParser.VariableType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

nature

public static final XmlbifParser.VariableType nature

discrete

public static final XmlbifParser.VariableType discrete

decision

public static final XmlbifParser.VariableType decision

utility

public static final XmlbifParser.VariableType utility
Method Detail

values

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

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

valueOf

public static XmlbifParser.VariableType 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

isNatural

public boolean isNatural()


Copyright 2010 UCLA Automated Reasoning Group