org.biomage.tools.generate_er
Class AssociationColumn

java.lang.Object
  |
  +--org.biomage.tools.generate_er.DataColumn
        |
        +--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.

Method Detail

getOwner

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

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.

Returns:
return the minimum cardinality of the assocaition class.

getMaxCard

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

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

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

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

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

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

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
Returns:

setMinCard

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

Parameters:
myMinCard - the minimum cardinality
Returns:

setMaxCard

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

Returns:

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
Returns:

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
Returns:

setForeignKey

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

Parameters:
myFK - a foreign key object
Returns:


Copyright (C) 2002 The MicroArray Gene Expression Database group (MGED) All rights reserved.