Package com.niggle.data

Interface Summary
DataChangeNotifier Interface implemented by objects that will send out notifications about data changes.
DataListener The interface implemented by objects that listen to data-related events thrown by instances of com.niggle.data.MutableDataSource.
DataRegistry The interface implemented by objects that vend "virgin" instances of a Record.
DataSource a marker interface representing objects that contain a set of Records indexed by a lookup key
FieldDescriptor An interface implemented by objects that describe the constraints on the field of a niggle data record.
MutableDataSource Interface implemented by objects that manage a collection of records.
Record An interface that describes the canonical methods of a data record in the niggle framework.
RecordDescriptor A metadata object that describes what is in a record.
RecordFilter An interface for objects that can filter a set of records based on some criterion.
Session Interface that represents a session
SessionManager A class that represents an object that creates, vends, and validates sessions.
ValidatingRecordInput A marker interface that indicates that records should be validated as they are read in.
 

Class Summary
AbstractDataSource An possible base class for DataSource implementations.
AbstractMutableDataSource An possible base class for MutableDataSource implementations.
AntiRecord An AntiRecord is to a regular record like Anti-matter is to matter.
DataEvent An event that encapsulates something happening in a RecordManager -- the insertion, deletion or updating of a record
DataRegistryImpl This object plays a central role in the niggle framework.
DataUtil a holder for various useful static routines dealing with niggle data
DefaultRecord A concrete implementation of the Record interface In this implementation, the records can be written out as a human-readable string.
DefaultRecordInputStream An implementation of the ObjectInput interface for slurping Records off a stream in their default flat-file format, which is not the standard Java serialised object format.
DefaultRecordOutputStream An implementation of ObjectOutput for spitting out niggle records onto a stream in their default flat-file format.
RecordFilter.ClassConstraint  
RecordFilter.FieldConstraint  
RecordFilter.IntersectionFilter  
RecordFilter.NegationFilter  
RecordFilter.NullFilter  
RecordFilter.TypeConstraint  
RecordFilter.UnionFilter  
RecordReference An object that represents a weak or soft reference to an underlying Record object.
SessionImpl An implementation of com.niggle.data.Session that leverages the functionality of the DefaultRecord implementation
 

Exception Summary
DataException The base exception for niggle data.
DuplicateRecordException Thrown when a client tries to add a record that already exists.
ImmutableDataException thrown when an attempt is made to modify data in an immutable data record.
InvalidDataException thrown when there is an attempt to set data in some invalid way.
InvalidFieldException thrown when there is an attempt to access data from a record via a field that does not belong to that record.
MangledDataException Thrown when there is an attempt to put a value in a record's fields that does not match the metadata description, e.g.
MissingDataException Thrown when an attempt is made to initialize a record which is missing a required field.
MissingRecordException Thrown when a client tries to modify a record that has already been deleted.
ModifiedRecordException Thrown when a client tries to modify a record that was modified by another process since it was requested from a data source.
UnknownRecordTypeException exception thrown when an customized object input stream encounters a record type that it doesn't know about.
UnsetDataException Thrown when an attempt is made to retrieve a data element that has not been set.