edu.ucla.belief.io.dsl
Class DiagnosisType

Object
  extended by DiagnosisType
All Implemented Interfaces:
EnumValue

public class DiagnosisType
extends Object
implements EnumValue

A class that represents an enumerated type over the designations of nodes in Genie Diagnosis.

Since:
20020304
Author:
keith cascio

Field Summary
static DiagnosisType AUXILIARY
           
static DiagnosisType OBSERVATION
           
static EnumProperty PROPERTY
           
static DiagnosisType TARGET
           
 
Method Summary
static EnumValue forIndex(int index)
           
static DiagnosisType forSmileID(int id)
           
static DiagnosisType forString(String code)
           
static int getNumTypes()
           
 int getSmileID()
           
static int indexOf(EnumValue value)
           
static Iterator iterator()
           
 EnumProperty property()
           
 String toString()
          Call this method to get the standardized string representation of a DiagnosisType.
static DiagnosisType[] valuesAsArray()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TARGET

public static final DiagnosisType TARGET

OBSERVATION

public static final DiagnosisType OBSERVATION

AUXILIARY

public static final DiagnosisType AUXILIARY

PROPERTY

public static EnumProperty PROPERTY
Since:
20030819
Method Detail

toString

public String toString()
Call this method to get the standardized string representation of a DiagnosisType.

Specified by:
toString in interface EnumValue
Overrides:
toString in class Object

getSmileID

public int getSmileID()
Since:
20030916

property

public EnumProperty property()
Specified by:
property in interface EnumValue
Since:
20070420

getNumTypes

public static int getNumTypes()
Since:
20020820

valuesAsArray

public static DiagnosisType[] valuesAsArray()

iterator

public static Iterator iterator()

forString

public static DiagnosisType forString(String code)

forSmileID

public static DiagnosisType forSmileID(int id)
Since:
20030916

indexOf

public static int indexOf(EnumValue value)
Since:
20050823

forIndex

public static EnumValue forIndex(int index)
Since:
20050823


Copyright 2010 UCLA Automated Reasoning Group