org.biomage.tools.generate_er
Class LinkingKey

java.lang.Object
  |
  +--org.biomage.tools.generate_er.LinkingKey

public class LinkingKey
extends java.lang.Object


Constructor Summary
LinkingKey()
           Description: Constructor for the LinkingKey object.
LinkingKey(AssociationColumn link1, AssociationColumn link2)
           Description: Constructor for the LinkingKey object.
 
Method Summary
 AssociationColumn getLinkOne()
           Description: get the column of link1 linking key
 java.lang.String getLinkOneId()
           Description: get the column id of link1 linking key
 AssociationColumn getLinkTwo()
           Description: get the column of link2 linking key
 java.lang.String getLinkTwoId()
           Description: get the column id of link2 linking key
 void setLinkOne(AssociationColumn link1)
           Description: set one linking key for the table
 void setLinkTwo(AssociationColumn link2)
           Description: set the other linking key for the table
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkingKey

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


LinkingKey

public LinkingKey(AssociationColumn link1,
                  AssociationColumn link2)
Description: Constructor for the LinkingKey object.

Parameters:
link1 - one of the linking key for the table link2 one of the linking key for the table
Method Detail

getLinkOne

public AssociationColumn getLinkOne()
Description: get the column of link1 linking key

Returns:
return the column of link1 linking key

getLinkTwo

public AssociationColumn getLinkTwo()
Description: get the column of link2 linking key

Returns:
return the column of link2 linking key

getLinkOneId

public java.lang.String getLinkOneId()
Description: get the column id of link1 linking key

Returns:
return the column id of link1 linking key

getLinkTwoId

public java.lang.String getLinkTwoId()
Description: get the column id of link2 linking key

Returns:
return the column id of link2 linking key

setLinkOne

public void setLinkOne(AssociationColumn link1)
Description: set one linking key for the table

Parameters:
link1 - the column for linking key
Returns:

setLinkTwo

public void setLinkTwo(AssociationColumn link2)
Description: set the other linking key for the table

Parameters:
link2 - the column for another linking key
Returns:


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