|
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.GenericRelationHandler
public class GenericRelationHandler
The relation is implemented using basic "intarsys" style reflection.
| Constructor Summary | |
|---|---|
GenericRelationHandler(String attribute)
|
|
| Method Summary | |
|---|---|
Object[] |
get(Object owner)
The objects associated with owner. |
String |
getAttribute()
|
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 GenericRelationHandler(String attribute)
| Method Detail |
|---|
public Object[] get(Object owner)
IRelationHandler
get in interface IRelationHandlerget in class RelationHandlerAdapterpublic String getAttribute()
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 | |||||||||