org.biomage.tools.generate_er
Class Table

java.lang.Object
  extended by org.biomage.tools.generate_er.Table

public class Table
extends java.lang.Object


Constructor Summary
Table()
          Description: Constructor for the Table object.
 
Method Summary
 java.util.Vector getAssoColumnVector()
          Description: get the vector for all association columns
 java.lang.String getBaseClass()
          Description: get teh base class name of the table
 java.lang.String getComment()
          Description: get teh comment of the table
 java.util.Vector getDataColumnVector()
          Description: get the vector for all simple data columns
 java.util.Vector getIndexVector()
          Description: get the vector containing all indexes
 java.lang.String getIsAbstract()
          Description: get if the class is abstract
 LinkingKey getLinkingKey()
          Description: get the linking key for the table
 java.lang.String getName()
          Description: get teh name of the table
 PrimaryKey getPK()
          Description: get primary key of the table
 java.lang.String getType()
          Description: get teh type of the table
 Unique getUnique()
          Description: get the Unique column for the table
 void setAsso(AssociationColumn myData)
          Description: set one association column
 void setAssoColumnVec(java.util.Vector myColumn)
          Description: set the vector containing all association columns
 void setBaseClass(java.lang.String myBase)
          Description: set the BaseClass of this table
 void setComment(java.lang.String myComment)
          Description: set the Comment of this table
 void setData(DataColumn myData)
          Description: set one simple data column
 void setDataColumnVec(java.util.Vector myColumn)
          Description: set the vector containing all simple data columns
 void setIndex(Index one)
          Description: set one index
 void setIndexVector(java.util.Vector indexVec)
          Description: set the vector for all index
 void setIsAbstract(java.lang.String myAbstract)
          Description: set if the table is for an abstract class
 void setLinkingKey(LinkingKey lk)
          Description: set linking key column
 void setName(java.lang.String myName)
          Description: set the name of this table
 void setPK(PrimaryKey myPK)
          Description: set the primary key for the table
 void setType(java.lang.String myData)
          Description: set the Type of this table
 void setUnique(Unique unique)
          Description: set the unique column
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Table

public Table()
Description: Constructor for the Table object.

Parameters:
Method Detail

getName

public java.lang.String getName()
Description: get teh name of the table

Parameters:
Returns:
return the name of the table

getType

public java.lang.String getType()
Description: get teh type of the table

Parameters:
Returns:
return the type of the table

getComment

public java.lang.String getComment()
Description: get teh comment of the table

Parameters:
Returns:
return the comment of the table

getBaseClass

public java.lang.String getBaseClass()
Description: get teh base class name of the table

Parameters:
Returns:
return the base class name of the table

getIsAbstract

public java.lang.String getIsAbstract()
Description: get if the class is abstract

Parameters:
Returns:
return "true" if the class is abstract "false" if the class is not abstract

getPK

public PrimaryKey getPK()
Description: get primary key of the table

Parameters:
Returns:
return primary key of the table

getDataColumnVector

public java.util.Vector getDataColumnVector()
Description: get the vector for all simple data columns

Parameters:
Returns:
return the vector for all simple data columns

getAssoColumnVector

public java.util.Vector getAssoColumnVector()
Description: get the vector for all association columns

Parameters:
Returns:
return the vector for all association columns

getLinkingKey

public LinkingKey getLinkingKey()
Description: get the linking key for the table

Parameters:
Returns:
return the linking key for the table

getUnique

public Unique getUnique()
Description: get the Unique column for the table

Parameters:
Returns:
return the Unique column for the table

getIndexVector

public java.util.Vector getIndexVector()
Description: get the vector containing all indexes

Parameters:
Returns:
return the vector containing all indexes

setName

public void setName(java.lang.String myName)
Description: set the name of this table

Parameters:
myName - name of the table

setType

public void setType(java.lang.String myData)
Description: set the Type of this table

Parameters:
myName - Type of the table

setComment

public void setComment(java.lang.String myComment)
Description: set the Comment of this table

Parameters:
myName - Comment of the table

setBaseClass

public void setBaseClass(java.lang.String myBase)
Description: set the BaseClass of this table

Parameters:
myBase - BaseClass of the table

setIsAbstract

public void setIsAbstract(java.lang.String myAbstract)
Description: set if the table is for an abstract class

Parameters:
myAbstract - if the table is for an abstract class

setPK

public void setPK(PrimaryKey myPK)
Description: set the primary key for the table

Parameters:
myPK - the primary key for the table

setDataColumnVec

public void setDataColumnVec(java.util.Vector myColumn)
Description: set the vector containing all simple data columns

Parameters:
myColumn - the vector containing all simple data columns

setAssoColumnVec

public void setAssoColumnVec(java.util.Vector myColumn)
Description: set the vector containing all association columns

Parameters:
myColumn - the vector containing all association columns

setData

public void setData(DataColumn myData)
Description: set one simple data column

Parameters:
myData - the simple data column

setAsso

public void setAsso(AssociationColumn myData)
Description: set one association column

Parameters:
myData - the assocaition column

setLinkingKey

public void setLinkingKey(LinkingKey lk)
Description: set linking key column

Parameters:
lk - the linking key column

setUnique

public void setUnique(Unique unique)
Description: set the unique column

Parameters:
unique - the unique column

setIndexVector

public void setIndexVector(java.util.Vector indexVec)
Description: set the vector for all index

Parameters:
indexVec - the vector for all index

setIndex

public void setIndex(Index one)
Description: set one index

Parameters:
one - one index for the table