| java.lang.Object org.apache.ojb.broker.MtoNImplementor
MtoNImplementor | public class MtoNImplementor (Code) | | Helper class to handle single m:n relation entries (m:n indirection table entries).
The "left / right" notation is only used to differ both sides of the relation.
author: Leandro Rodrigo Saad Cruz version: $Id: MtoNImplementor.java,v 1.7.2.4 2005/12/21 22:22:08 tomdz Exp $ |
MtoNImplementor | public MtoNImplementor(PersistenceBroker pb, CollectionDescriptor leftDescriptor, Object left, Object right)(Code) | | Creates a new instance.
Parameters: pb - The currently used PersistenceBroker instance Parameters: leftDescriptor - The collection descriptor for the left side Parameters: left - The left side object Parameters: right - The right side object |
MtoNImplementor | public MtoNImplementor(PersistenceBroker pb, String leftFieldName, Object left, Object right)(Code) | | Creates a new instance.
Parameters: pb - The currently used PersistenceBroker instance Parameters: leftFieldName - Field name of the left m:n reference Parameters: left - The left side object Parameters: right - The right side object |
MtoNImplementor | public MtoNImplementor(CollectionDescriptor leftDescriptor, Object left, Object right)(Code) | | Creates a new instance.
Parameters: leftDescriptor - The collection descriptor for the left side Parameters: left - The left side object Parameters: right - The right side object |
getLeftClass | public Class getLeftClass()(Code) | | Returns the class of the left side of the m:n collection.
The class of the left side |
getLeftDescriptor | public CollectionDescriptor getLeftDescriptor()(Code) | | Returns the collection descriptor for the left side of the m:n collection.
The collection descriptor |
getLeftObject | public Object getLeftObject()(Code) | | Returns the object for the left side of the m:n collection.
The object for the left side |
getRightClass | public Class getRightClass()(Code) | | Returns the class of the right side of the m:n collection.
The class of the right side |
getRightObject | public Object getRightObject()(Code) | | Returns the object for the right side of the m:n collection.
The object for the right side |
|
|