UniVista.support
Class VariableFactory

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

public class VariableFactory
extends java.lang.Object

Creates instances of fundamental type Variable objects


Constructor Summary
VariableFactory()
           
 
Method Summary
static Variable makeVariable(int classVal)
          creates an approprite Variable object cast to the base class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableFactory

public VariableFactory()
Method Detail

makeVariable

public static Variable makeVariable(int classVal)
creates an approprite Variable object cast to the base class
Parameters:
classVal - taken from the constants in the Variable class
Returns:
object if classVal is a recognized type, null otherwise