|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlpDataSource
Interface of data sources.
A data source contains a number of IlpObjects.
A data source notifies its listener when an object gets inserted or removed.
| Method Summary | |
|---|---|
void |
addDataSourceListener(DataSourceListener l)
Adds a listener to the data source. |
IlpChild |
getChildInterface(Object childIdOrIlpObject)
Returns the child interface corresponding to an object. |
IlpContainer |
getContainerInterface(Object containerIdOrIlpObject)
Returns the container interface corresponding to an object. |
IlpContext |
getContext()
Returns the context used by this data source. |
IlpLinkExtremity |
getLinkExtremityInterface(Object linkIdOrIlpObject)
Returns the link extremity interface corresponding to an object. |
IlpLink |
getLinkInterface(Object linkIdOrIlpObject)
Returns the link interface corresponding to an object. |
IlpObject |
getObject(Object identifier)
Returns the IlpObject corresponding to an identifier. |
Collection |
getObjects()
Returns the objects contained by the data source in a Collection. |
void |
removeDataSourceListener(DataSourceListener l)
Removes a listener of the data source. |
| Method Detail |
|---|
void addDataSourceListener(DataSourceListener l)
l - The listener to add.void removeDataSourceListener(DataSourceListener l)
l - The listener to remove.IlpContainer getContainerInterface(Object containerIdOrIlpObject)
containerIdOrIlpObject - The identifier of the object
or the object itself that may be a container.
null.IlpChild getChildInterface(Object childIdOrIlpObject)
childIdOrIlpObject - The identifier of the object
or the object itself that may be a child.
null.IlpLink getLinkInterface(Object linkIdOrIlpObject)
linkIdOrIlpObject - The identifier of the object
or the object itself that may be a link.
null.IlpLinkExtremity getLinkExtremityInterface(Object linkIdOrIlpObject)
linkIdOrIlpObject - The identifier of the object
or the object itself that may be a link extremity.
null.IlpObject getObject(Object identifier)
IlpObject corresponding to an identifier.
identifier - The identifier.
IlpObject corresponding to the identifier. May
be null if there is no corresponding IlpObject.Collection getObjects()
IlpObjects of the data source.IlpContext getContext()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||