org.biomage.tools.generate_er
Class DataColumn

java.lang.Object
  extended by org.biomage.tools.generate_er.DataColumn
Direct Known Subclasses:
AssociationColumn

public class DataColumn
extends java.lang.Object


Constructor Summary
DataColumn()
          Description: Constructor for the DataColumn object.
 
Method Summary
 java.lang.String getCanBeNull()
          Description: get if this column can have null as a value
 java.lang.String getComment()
          Description: get the comment of the column
 java.util.Vector getEnumVector()
          Description: get all enumeration values
 java.lang.String getFullName()
          Description: get the full name of the column
 java.lang.String getName()
          Description: get teh name of the column
 java.lang.String getType()
          Description: get the type of the column
 void setCanBeNull(java.lang.String myNull)
          Description: set the canBeNull field of this column
 void setComment(java.lang.String myComment)
          Description: set the Comment of this column
 void setEnumVector(java.util.Vector vec)
          Description: set the all enum values
 void setFullName(java.lang.String myFullName)
          Description: set the full name of this column
 void setName(java.lang.String myName)
          Description: set the name of this column
 void setType(java.lang.String myData)
          Description: set the Type of this column
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataColumn

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

Parameters:
Method Detail

getName

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

Parameters:
Returns:
return teh name of the column

getFullName

public java.lang.String getFullName()
Description: get the full name of the column

Parameters:
Returns:
return teh full name of the column

getType

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

Parameters:
Returns:
return the type of the column

getComment

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

Parameters:
Returns:
return the comment of the column

getCanBeNull

public java.lang.String getCanBeNull()
Description: get if this column can have null as a value

Parameters:
Returns:
true if this column can be null false if this column can not be null

getEnumVector

public java.util.Vector getEnumVector()
Description: get all enumeration values

Parameters:
Returns:
return all enumeration values

setName

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

Parameters:
myName - name of the column

setFullName

public void setFullName(java.lang.String myFullName)
Description: set the full name of this column

Parameters:
myFullName - the full name of the column

setType

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

Parameters:
myData - the type of the column

setComment

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

Parameters:
myComment - the Comment of the column

setCanBeNull

public void setCanBeNull(java.lang.String myNull)
Description: set the canBeNull field of this column

Parameters:
myNull - if the column cacn be null

setEnumVector

public void setEnumVector(java.util.Vector vec)
Description: set the all enum values

Parameters:
vec - the vector holding all enum values