UniVista.support
Class Globals

java.lang.Object
  |
  +--UniVista.support.Globals

public class Globals
extends java.lang.Object

Holds instances of information strucutures loaded from the database currently connected to


Constructor Summary
Globals()
           
 
Method Summary
static void addCode(Code toAdd)
          Adds in a new code object.
static CodeHash getCodes()
          Accessors for the code listing
static VariableHash getVariableTypes()
          Accessors for the variable types structure
static void initializeGlobals()
          Loads all of the globals.
static void setCodes(CodeHash newCodes)
           
static void setVariableTypes(VariableHash newTypes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Globals

public Globals()
Method Detail

addCode

public static void addCode(Code toAdd)
Adds in a new code object. Creates the database records and such and puts it into the CodeHash.

getCodes

public static CodeHash getCodes()
Accessors for the code listing

getVariableTypes

public static VariableHash getVariableTypes()
Accessors for the variable types structure

initializeGlobals

public static void initializeGlobals()
Loads all of the globals. Should be called after the appropriate database path has been set.

setCodes

public static void setCodes(CodeHash newCodes)

setVariableTypes

public static void setVariableTypes(VariableHash newTypes)