Package net.sf.basedb.core.data


package net.sf.basedb.core.data

This package contains pure data-holder classes which are mapped to the database using Hibernate. In general, they are not much more than structs with get and set methods to access the data.

The code in this package does not include any business logic, data validation, error handling, database queries or Hibernate dependant code. It is the repsonsibility of the business layer (the net.sf.basedb.core package) to perform those tasks. For each class in this package, there usually is a corresponding class in the business layer, for example net.sf.basedb.core.data.UserData and net.sf.basedb.core.User.

Client applications do not get direct access to any of the classes in this package. They must use classes from the bussiness layer package net.sf.basedb.core.

See also
This class/package is not part of the Public API
Except for the BatchableData interface and classes implementing it.