public interface IlpDataSource
IlpObject
s.
A data source notifies its listener when an object gets inserted or removed.Modifier and Type | Method and Description |
---|---|
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<IlpObject> |
getObjects()
Returns the objects contained by the data source in a Collection.
|
List<IlpObject> |
getRootObjects()
Returns the objects that have no parent information in the data source.
|
void |
removeDataSourceListener(DataSourceListener l)
Removes a listener of the data source.
|
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<IlpObject> getObjects()
IlpObject
s of the data source.List<IlpObject> getRootObjects()
IlpObject
s of the data source.IlpContext getContext()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.