public class RelationHandlerAdapter extends Object implements IRelationHandler
IRelationHandler| Constructor and Description |
|---|
RelationHandlerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
get(Object owner)
The objects associated with owner.
|
Object |
getOwner(Object element)
The owner associated with the element.
|
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.
|
int |
size(Object owner)
The number of objects associated with owner.
|
Object |
update(Object owner,
Object value,
Object newValue)
Update value in the association for owner to newValue
|
public Object[] get(Object owner)
IRelationHandlerget in interface IRelationHandlerpublic Object getOwner(Object element)
IRelationHandlergetOwner in interface IRelationHandlerpublic Object insert(Object owner, Object value)
IRelationHandlerinsert in interface IRelationHandlerpublic Object remove(Object owner, Object value)
IRelationHandlerremove in interface IRelationHandlerpublic int size(Object owner)
IRelationHandlersize in interface IRelationHandlerpublic Object update(Object owner, Object value, Object newValue)
IRelationHandlerupdate in interface IRelationHandlerCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.