Interface DataFactory

All Superinterfaces:
Serializable
All Known Implementing Classes:
DataFactoryImpl

@Exported public interface DataFactory extends Serializable
Defines interface for implementations of factory class for creation of DataBinder, DataObject and DataResultSet.
  • Method Details

    • createBinder

      DataBinder createBinder()
      Create a new empty binder
      Returns:
      a new binder instance
    • synchronizeLocal

      void synchronizeLocal(DataBinder dataBinder, DataFactory.Direction in)
      Called by the serializers. Allows binder a chance to synchronize any local data values with other specific field-level values.
      Parameters:
      dataBinder - the data binder
      in - the directory; if IN, the binder is synchronizing data just read; if OUT, synchronizing fields with localdata
    • createDataObject

      DataObject createDataObject()
      Create a new empty data object
      Returns:
      a data object
    • createResultSet

      DataResultSet createResultSet()
      Create a new empty result set
      Returns:
      the result set