edu.udo.cs.miningmart.m4.utils
Class InterM4ForeignColumnsetForeignKey

java.lang.Object
  extended byedu.udo.cs.miningmart.m4.utils.InterM4Communicator
      extended byedu.udo.cs.miningmart.m4.utils.InterM4ForeignColumnsetForeignKey

public class InterM4ForeignColumnsetForeignKey
extends InterM4Communicator

Helper class for standard communication between Columnset (container) and ForeignKey. Each ForeignKey has two links to Columnsets, one for the primary key columnset and one for the foreign key columnset. This class is used for the link to the foreign key columnset.

Version:
$Id: InterM4ForeignColumnsetForeignKey.java,v 1.4 2006/04/11 14:10:10 euler Exp $
Author:
Martin Scholz

Constructor Summary
InterM4ForeignColumnsetForeignKey()
           
 
Method Summary
 java.util.Collection getCollection(java.lang.Object columnset)
           
 java.lang.Object getSingleRef(M4Object fKey)
           
 void setSingleRefPrimitive(M4Object fKey, java.lang.Object columnset)
           
 
Methods inherited from class edu.udo.cs.miningmart.m4.utils.InterM4Communicator
add, checkNameExists, remove, setCollectionTo, updateReferenceTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterM4ForeignColumnsetForeignKey

public InterM4ForeignColumnsetForeignKey()
Method Detail

getSingleRef

public java.lang.Object getSingleRef(M4Object fKey)
                              throws M4Exception
Parameters:
fKey - a ForeignKey
Returns:
the current container object
Throws:
M4Exception
See Also:
InterM4Communicator#getSingleRef(M4Object)

getCollection

public java.util.Collection getCollection(java.lang.Object columnset)
                                   throws M4Exception
Parameters:
columnset - a Columnset
Returns:
the container object's collection
Throws:
M4Exception
See Also:
InterM4Communicator#getCollection(M4Object)

setSingleRefPrimitive

public void setSingleRefPrimitive(M4Object fKey,
                                  java.lang.Object columnset)
                           throws M4Exception
Parameters:
columnset - a Columnset
fKey - the "non-container" M4Object
Throws:
M4Exception
See Also:
InterM4Communicator#setSingleRefPrimitive(M4Object, M4Object)


Copyright © 2001-2005