|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biomage.tools.generate_er.Table
public class Table
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 |
---|
public Table()
Method Detail |
---|
public java.lang.String getName()
- Returns:
- return the name of the table
public java.lang.String getType()
- Returns:
- return the type of the table
public java.lang.String getComment()
- Returns:
- return the comment of the table
public java.lang.String getBaseClass()
- Returns:
- return the base class name of the table
public java.lang.String getIsAbstract()
- Returns:
- return "true" if the class is abstract
"false" if the class is not abstract
public PrimaryKey getPK()
- Returns:
- return primary key of the table
public java.util.Vector getDataColumnVector()
- Returns:
- return the vector for all simple data columns
public java.util.Vector getAssoColumnVector()
- Returns:
- return the vector for all association columns
public LinkingKey getLinkingKey()
- Returns:
- return the linking key for the table
public Unique getUnique()
- Returns:
- return the Unique column for the table
public java.util.Vector getIndexVector()
- Returns:
- return the vector containing all indexes
public void setName(java.lang.String myName)
myName
- name of the table
public void setType(java.lang.String myData)
myName
- Type of the table
public void setComment(java.lang.String myComment)
myName
- Comment of the table
public void setBaseClass(java.lang.String myBase)
myBase
- BaseClass of the table
public void setIsAbstract(java.lang.String myAbstract)
myAbstract
- if the table is for an abstract class
public void setPK(PrimaryKey myPK)
myPK
- the primary key for the table
public void setDataColumnVec(java.util.Vector myColumn)
myColumn
- the vector containing
all simple data columns
public void setAssoColumnVec(java.util.Vector myColumn)
myColumn
- the vector containing
all association columns
public void setData(DataColumn myData)
myData
- the simple data column
public void setAsso(AssociationColumn myData)
myData
- the assocaition column
public void setLinkingKey(LinkingKey lk)
lk
- the linking key column
public void setUnique(Unique unique)
unique
- the unique column
public void setIndexVector(java.util.Vector indexVec)
indexVec
- the vector for all index
public void setIndex(Index one)
one
- one index for the table
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |