seniorproj
Class DataSet

java.lang.Object
  extended by seniorproj.DataSet

public class DataSet
extends java.lang.Object

Creates a dataset object containing a name, tables, and the number of tables.

Author:
Steven Weigand

Constructor Summary
DataSet()
          Default constructor for initialization.
DataSet(java.lang.String name, java.lang.Object[] tnames, int index)
          Initializes and creates a DataSet object.
 
Method Summary
 java.lang.String getName()
          Retrieves the dataset name for the user.
 java.lang.Object[] getNames()
          Retrieves the table names for the user.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSet

public DataSet()
Default constructor for initialization.


DataSet

public DataSet(java.lang.String name,
               java.lang.Object[] tnames,
               int index)
Initializes and creates a DataSet object.

Parameters:
name - name of the dataset
tnames - array of table names in dataset
index - the number of table names in dataset
Method Detail

getNames

public java.lang.Object[] getNames()
Retrieves the table names for the user.

Returns:
returns the array of table names

getName

public java.lang.String getName()
Retrieves the dataset name for the user.

Returns:
the id of the dataset