org.biomage.tools.generate_er
Class AssociationColumn

java.lang.Object
  extended by org.biomage.tools.generate_er.DataColumn
      extended by org.biomage.tools.generate_er.AssociationColumn

public class AssociationColumn
extends DataColumn


Constructor Summary
AssociationColumn()
          Description: Constructor for the AssociationColumn object.
 
Method Summary
 ForeignKey getForeignKey()
          Description: return the foreign key object of this table
 java.lang.String getMaxCard()
          Description: return the maximum cardinality of the assocaition class.
 java.lang.String getMinCard()
          Description: return the minimum cardinality of the assocaition class.
 java.lang.String getOtherNav()
          Description: return the maximum cardinality of this class for the association relationship
 java.lang.String getOwner()
          Description: return if this association is the owner of the relationship.
 java.lang.String getThisMaxCard()
          Description: return the minimum cardinality of this class for the association relationship
 java.lang.String getThisMinCard()
          Description: return the maximum cardinality of this class for the association relationship
 java.lang.String getThisNav()
          Description: return the maximum cardinality of this class for the association relationship
 void setForeignKey(ForeignKey myFK)
          Description: set the foreign key object of this table
 void setMaxCard(java.lang.String myMaxCard)
          Description: set the maximum cardinality of the assocaition class
 void setMinCard(java.lang.String myMinCard)
          Description: set the minimum cardinality of the assocaition class
 void setOwner(java.lang.String myOwner)
          Description: set the owner of the association relationship
 void setThisMaxCard(java.lang.String myThisMaxCard)
          Description: set the maximum cardinality of this table for the association relationship
 void setThisMinCard(java.lang.String myThisMinCard)
          Description: set the maximum cardinality of this table for the association relationship
 
Methods inherited from class org.biomage.tools.generate_er.DataColumn
getCanBeNull, getComment, getEnumVector, getFullName, getName, getType, setCanBeNull, setComment, setEnumVector, setFullName, setName, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssociationColumn

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

Parameters:
Method Detail

getOwner

public java.lang.String getOwner()
Description: return if this association is the owner of the relationship.

Parameters:
Returns:
true if this association is the owner of the relationship. true if this association is NOT the owner of the relationship.

getMinCard

public java.lang.String getMinCard()
Description: return the minimum cardinality of the assocaition class.

Parameters:
Returns:
return the minimum cardinality of the assocaition class.

getMaxCard

public java.lang.String getMaxCard()
Description: return the maximum cardinality of the assocaition class.

Parameters:
Returns:
return the maximum cardinality of the assocaition class.

getThisMinCard

public java.lang.String getThisMinCard()
Description: return the maximum cardinality of this class for the association relationship

Parameters:
Returns:
return the maximum cardinality of this class for the association relationship

getThisMaxCard

public java.lang.String getThisMaxCard()
Description: return the minimum cardinality of this class for the association relationship

Parameters:
Returns:
return the minimum cardinality of this class for the association relationship

getThisNav

public java.lang.String getThisNav()
Description: return the maximum cardinality of this class for the association relationship

Parameters:
Returns:
return the maximum cardinality of this class for the association relationship

getOtherNav

public java.lang.String getOtherNav()
Description: return the maximum cardinality of this class for the association relationship

Parameters:
Returns:
return the maximum cardinality of this class for the association relationship

getForeignKey

public ForeignKey getForeignKey()
Description: return the foreign key object of this table

Parameters:
Returns:
return the foreign key object of this table

setOwner

public void setOwner(java.lang.String myOwner)
Description: set the owner of the association relationship

Parameters:
myOwner - true or false

setMinCard

public void setMinCard(java.lang.String myMinCard)
Description: set the minimum cardinality of the assocaition class

Parameters:
myMinCard - the minimum cardinality

setMaxCard

public void setMaxCard(java.lang.String myMaxCard)
Description: set the maximum cardinality of the assocaition class

Parameters:
myMinCard - the maximum cardinality

setThisMinCard

public void setThisMinCard(java.lang.String myThisMinCard)
Description: set the maximum cardinality of this table for the association relationship

Parameters:
myThisMinCard - the minimum cardinality

setThisMaxCard

public void setThisMaxCard(java.lang.String myThisMaxCard)
Description: set the maximum cardinality of this table for the association relationship

Parameters:
myThisMaxCard - the maximum cardinality

setForeignKey

public void setForeignKey(ForeignKey myFK)
Description: set the foreign key object of this table

Parameters:
myFK - a foreign key object