com.martiansoftware.trivialpersist
Interface RecordInitializer


public interface RecordInitializer

Provides a means of automatically initializing any new Records with default values upon Record creation.

Author:
Marty Lamb
See Also:
Table.setRecordInitializer(RecordInitializer)

Method Summary
 void init(Record record)
          Initializes the specified Record.
 

Method Detail

init

public void init(Record record)
          throws TrivialPersistException
Initializes the specified Record.

Parameters:
record - the Record to initialize
Throws:
TrivialPersistException - if an error occurs during initialization.


Copyright © 2004, Martian Software, Inc.. All Rights Reserved.
For the latest version and documentation, please visit http://www.martiansoftware.com/trivialpersist