|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.tools.reflect.RelationHandlerAdapter
de.intarsys.tools.reflect.MapRelationHandler
public class MapRelationHandler
The relation is implemented in a Map.
| Constructor Summary | |
|---|---|
MapRelationHandler()
|
|
| Method Summary | |
|---|---|
Object[] |
get(Object owner)
The objects associated with owner. |
Object |
insert(Object owner,
Object value)
Add a new object to the association in owner. |
Object |
remove(Object owner,
Object value)
Remove an object from the association in owner. |
Object |
update(Object owner,
Object value,
Object newValue)
Update value in the association for owner to newValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapRelationHandler()
| Method Detail |
|---|
public Object[] get(Object owner)
IRelationHandler
get in interface IRelationHandlerget in class RelationHandlerAdapter
public Object insert(Object owner,
Object value)
IRelationHandler
insert in interface IRelationHandlerinsert in class RelationHandlerAdapter
public Object remove(Object owner,
Object value)
IRelationHandler
remove in interface IRelationHandlerremove in class RelationHandlerAdapter
public Object update(Object owner,
Object value,
Object newValue)
IRelationHandler
update in interface IRelationHandlerupdate in class RelationHandlerAdapter
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||