org.biomage.tools.generate_er
Class PrimaryKey

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

public class PrimaryKey
extends java.lang.Object


Constructor Summary
PrimaryKey()
          Description: Constructor for the PrimaryKey object.
PrimaryKey(DataColumn myColumn)
          Description: Constructor for the PrimaryKey object.
 
Method Summary
 java.lang.String getColumnID()
          Description: get id of the primery key column
 DataColumn getDataColumn()
          Description: get primary key column
 void setDataColumn(DataColumn column)
          Description: set the primary key column
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimaryKey

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

Parameters:

PrimaryKey

public PrimaryKey(DataColumn myColumn)
Description: Constructor for the PrimaryKey object.

Parameters:
myColumn - the primary key column
Method Detail

getDataColumn

public DataColumn getDataColumn()
Description: get primary key column

Parameters:
Returns:
return primary key column

getColumnID

public java.lang.String getColumnID()
Description: get id of the primery key column

Parameters:
Returns:
return id of the primery key column

setDataColumn

public void setDataColumn(DataColumn column)
Description: set the primary key column

Parameters:
column - the column of prieary key