org.problets.lib.io.output.state
Class StateDiagramModel

java.lang.Object
  extended by org.problets.lib.io.output.state.StateDiagramModel

public class StateDiagramModel
extends java.lang.Object

Holds all the information about the states in a state diagram

Since:
12 / 16 / 2008
Author:
Amruth Kumar

Constructor Summary
StateDiagramModel(java.lang.String path, java.lang.String inResourceName)
           
 
Method Summary
 int getFirstState()
          Returns the id of the first state to be visited
 java.lang.String getResourceName()
          Returns the name of this resource, i.e., lesson
 java.util.Vector getStateVector()
          Returns a clone of the vector holding all the states
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateDiagramModel

public StateDiagramModel(java.lang.String path,
                         java.lang.String inResourceName)
Method Detail

getStateVector

public java.util.Vector getStateVector()
Returns a clone of the vector holding all the states


getFirstState

public int getFirstState()
Returns the id of the first state to be visited


getResourceName

public java.lang.String getResourceName()
Returns the name of this resource, i.e., lesson


main

public static void main(java.lang.String[] args)