com.cyclops.dbdigger.schema.torque
Class TorqueDatabase

java.lang.Object
  extended bycom.cyclops.dbdigger.schema.torque.TorqueDatabase

public class TorqueDatabase
extends Object

A database model to mount torque schema

Since:
2003-6-4 15:51:31
Author:
joel guo

Constructor Summary
TorqueDatabase()
           
 
Method Summary
 void addTable(TorqueTable table)
          Method addTable()
 void addToDatabase(DefaultDatabase td)
          Method addDatabase()
 String getDescription()
          Method getDescription()
 String getName()
          Method getName()
 String getPackage()
          Method getPackage()
 TorqueTable[] getTables()
          Get all tables in this temporary database
 void setDescription(String string)
          Method setDescription()
 void setName(String string)
          Method setName()
 void setPackage(String string)
          Method setPackage()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TorqueDatabase

public TorqueDatabase()
Method Detail

addToDatabase

public void addToDatabase(DefaultDatabase td)
Method addDatabase()

Parameters:
td - TorqueDatabase object

addTable

public void addTable(TorqueTable table)
Method addTable()

Parameters:
table - TorqueTable object to be added

getDescription

public String getDescription()
Method getDescription()

Returns:
Description

getName

public String getName()
Method getName()

Returns:
Name of this torque database model

getPackage

public String getPackage()
Method getPackage()

Returns:
Package of this torque database model

getTables

public TorqueTable[] getTables()
Get all tables in this temporary database

Returns:
Table array

setDescription

public void setDescription(String string)
Method setDescription()

Parameters:
string - Description

setName

public void setName(String string)
Method setName()

Parameters:
string - Name of this database model

setPackage

public void setPackage(String string)
Method setPackage()

Parameters:
string - Package of this schema


Copyright © 2003 Cyclops Group. All Rights Reserved.