|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.broker.MtoNImplementor
public class MtoNImplementor
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.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 objectMethod Detail |
---|
public CollectionDescriptor getLeftDescriptor()
public java.lang.Class getLeftClass()
public java.lang.Class getRightClass()
public java.lang.Object getLeftObject()
public java.lang.Object getRightObject()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |