org.starhope.appius.util
Interface DataRecordSet<T extends DataRecord>
- Type Parameters:
T
- the data record type in the set
- All Superinterfaces:
- com.whirlycott.cache.Cacheable, Collection<T>, CTime, DataRecord, HasSubversionRevision, Iterable<T>
- All Known Implementing Classes:
- BadMailList, Inventory, NotificationSet, SimpleDataRecordSet, StringSet, TheServers
public interface DataRecordSet<T extends DataRecord>
- extends Collection<T>, DataRecord
This is a simple marker interface which is used to identify a data
record which is, in turn, a collection of other data.
There was originally an intention to provide separate factory methods
to facilitate sets of this type. However, it was discovered that the
DataRecord
class was sufficient to the purpose, and permitted
more flexibility in the implementation details of the backing store.
This interface was, therefore, reduced to a marker interface for
convenience purposes.
A default implementation sufficient for most purposes is being
developed as SimpleDataRecordSet
. As of the writing (Appius
1.1, July 2010), no great effort has been expended toward completing
this base class simply because there is no active consumer of the
type.
- Author:
- brpocock@star-hope.org, twheys@gmail.com
Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from interface com.whirlycott.cache.Cacheable |
onRemove, onRetrieve, onStore |