T
- public interface IDataSource<T>
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the data source.
|
T |
get(java.lang.String id)
Get the reaction with this ID.
|
java.lang.Iterable<T> |
getAll()
Get all the reactions in the data source.
|
java.util.List<java.lang.String> |
getIDList()
Get a list of the IDs in this data source.
|
void |
setTransformation(ITransformation<T> transformation)
Set the transformation to apply to the object before returning it.
|
T get(java.lang.String id)
id
- the identifier for this reaction.java.lang.Iterable<T> getAll()
void setTransformation(ITransformation<T> transformation)
transformation
- java.util.List<java.lang.String> getIDList()
void close()