erkka
Class Relations

java.lang.Object
  |
  +--erkka.Relations

public class Relations
extends java.lang.Object

Title: SQL-parser

Description: the program reads SQL-file and finds all necessary information about it by inserting them to datastructure. Relations has the list about all relations.

Copyright: Copyright (c) 2002

Company:University of Jyväskylä

Version:
1.0

Constructor Summary
Relations()
          constructor creates new Relations
 
Method Summary
 java.util.Hashtable getCreateTables()
           
 void readFile(java.lang.String fileName)
          This method read the file and allways when CREATE TABLE exist is invited the function, whice search all information of this relation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Relations

public Relations()
constructor creates new Relations

Method Detail

getCreateTables

public java.util.Hashtable getCreateTables()
Returns:
createTables as Hastable

readFile

public void readFile(java.lang.String fileName)

This method read the file and allways when CREATE TABLE exist is invited the function, whice search all information of this relation. All relations are added to vector createTables.