org.apache.ojb.broker
Class MtoNImplementor

java.lang.Object
  extended byorg.apache.ojb.broker.MtoNImplementor

public class MtoNImplementor
extends java.lang.Object

Author:
Leandro Rodrigo Saad Cruz

Constructor Summary
MtoNImplementor(PersistenceBroker pb, CollectionDescriptor cod, java.lang.Object left, java.lang.Object right)
           
MtoNImplementor(PersistenceBroker pb, java.lang.String collectionName, java.lang.Object left, java.lang.Object right)
           
 
Method Summary
 CollectionDescriptor getCollectionDescriptor()
           
 java.lang.String getInsertStmt(java.util.Collection mnKeys)
           
 java.lang.Object getLeftObject()
           
 java.lang.Object[] getLeftPkValues()
           
 java.lang.Object getRightObject()
           
 java.lang.Object[] getRightPkValues()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MtoNImplementor

public MtoNImplementor(PersistenceBroker pb,
                       CollectionDescriptor cod,
                       java.lang.Object left,
                       java.lang.Object right)

MtoNImplementor

public MtoNImplementor(PersistenceBroker pb,
                       java.lang.String collectionName,
                       java.lang.Object left,
                       java.lang.Object right)
Method Detail

getLeftObject

public java.lang.Object getLeftObject()

getRightObject

public java.lang.Object getRightObject()

getCollectionDescriptor

public CollectionDescriptor getCollectionDescriptor()

getInsertStmt

public java.lang.String getInsertStmt(java.util.Collection mnKeys)
Parameters:
mnKeys -
Returns:

getLeftPkValues

public java.lang.Object[] getLeftPkValues()
Returns:
an Object Array with the primary key values of the left object

getRightPkValues

public java.lang.Object[] getRightPkValues()
Returns:
an Object Array with the primary key values of the right object


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14