public class MtoNImplementor
extends java.lang.Object
Constructor and Description |
---|
MtoNImplementor(CollectionDescriptor leftDescriptor,
java.lang.Object left,
java.lang.Object right)
Deprecated.
|
MtoNImplementor(PersistenceBroker pb,
CollectionDescriptor leftDescriptor,
java.lang.Object left,
java.lang.Object right)
Deprecated.
|
MtoNImplementor(PersistenceBroker pb,
java.lang.String leftFieldName,
java.lang.Object left,
java.lang.Object right)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getLeftClass()
Returns the class of the left side of the m:n collection.
|
CollectionDescriptor |
getLeftDescriptor()
Returns the collection descriptor for the left side of the m:n collection.
|
java.lang.Object |
getLeftObject()
Returns the object for the left side of the m:n collection.
|
java.lang.Class |
getRightClass()
Returns the class of the right side of the m:n collection.
|
java.lang.Object |
getRightObject()
Returns the object for the right side of the m:n collection.
|
public MtoNImplementor(PersistenceBroker pb, CollectionDescriptor leftDescriptor, java.lang.Object left, java.lang.Object right)
pb
- The currently used PersistenceBroker
instanceleftDescriptor
- The collection descriptor for the left sideleft
- The left side objectright
- The right side objectpublic MtoNImplementor(PersistenceBroker pb, java.lang.String leftFieldName, java.lang.Object left, java.lang.Object right)
pb
- The currently used PersistenceBroker
instanceleftFieldName
- Field name of the left m:n referenceleft
- The left side objectright
- The right side objectpublic MtoNImplementor(CollectionDescriptor leftDescriptor, java.lang.Object left, java.lang.Object right)
leftDescriptor
- The collection descriptor for the left sideleft
- The left side objectright
- The right side objectpublic CollectionDescriptor getLeftDescriptor()
public java.lang.Class getLeftClass()
public java.lang.Class getRightClass()
public java.lang.Object getLeftObject()
public java.lang.Object getRightObject()
(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30