|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IInstanceMapping
IInstanceMapping is an interface to access a mapping between existing Brahms and Java objects used to ensure that during the conversion between Brahms and Java objects no new objects are created when a mapping already exists, in that case state information is updated in the mapped object.
Method Summary | |
---|---|
void |
addMapping(java.lang.Object jobj,
IObject bobj)
Adds the specified mapping between the specified Java object and Brahms object. |
IObject |
getBrahmsMapping(java.lang.Object obj)
Returns the Brahms object mapped to the specified Java object. |
java.lang.Object |
getJavaMapping(IObject obj)
Returns the Java object mapped to the specified Brahms object. |
void |
removeMapping(java.lang.Object jobj,
IObject bobj)
Removes the specified mapping between the specified Java object and Brahms object. |
Method Detail |
---|
void addMapping(java.lang.Object jobj, IObject bobj)
jobj
- the Java Object being mappedbobj
- the Brahms IObject being mappedvoid removeMapping(java.lang.Object jobj, IObject bobj)
jobj
- the mapped Java Objectbobj
- the mapped Brahms IObjectjava.lang.Object getJavaMapping(IObject obj)
obj
- the Brahms IObject for which to return its Java counterpart
IObject getBrahmsMapping(java.lang.Object obj)
obj
- the Java Object for which to return its Brahms counterpart
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |