org.hydrateframework
Interface QueryRunner.Observer
- All Known Implementing Classes:
- ObjectIndexer, QueryRunner.GetSingleObject
- Enclosing class:
- QueryRunner
public static interface QueryRunner.Observer
This interface should be supported by objects that require notification of the construction
of objects as they are loaded from the data source.
Method Summary |
boolean |
built(java.lang.Object obj,
boolean isNew)
This method is called each time an object is constructed from a row in the query. |
built
boolean built(java.lang.Object obj,
boolean isNew)
- This method is called each time an object is constructed from a row in the query.
It will be called up to a maximum of n times per row, where n is the number
of assemblers that were added to the
BuildObjects
class.
- Parameters:
obj
- an object that has just been read from a row of data.isNew
- true if the object was already in memory and has just been refreshed or
false if this is the first time this object has been seen by the current ObjectContext
Copyright © 2000 The Hydrate Project. All Rights Reserved.