Added API docs to DataEntry interface.

Added equals and hashCode methods to DataRecord, to help with testing.