org.apache.turbine.util.db.map
Interface MapBuilder
- All Known Implementing Classes:
- TurbineMapBuilder
- public interface MapBuilder
MapBuilders are wrappers around DatabaseMaps. You use a MapBuilder
to populate a DatabaseMap. You should implement this interface to create
your own MapBuilders. The MapBuilder interface exists to support ease of
casting.
- Version:
- $Id$
- Author:
- John D. McNally
Method Summary |
void |
doBuild()
Build up the database mapping. |
DatabaseMap |
getDatabaseMap()
Gets the database mapping this map builder built. |
boolean |
isBuilt()
Tells us if the database mapping is built so that we can avoid
re-building it repeatedly. |
doBuild
public void doBuild()
throws java.lang.Exception
- Build up the database mapping.
- Throws:
java.lang.Exception
- Couldn't build mapping.
isBuilt
public boolean isBuilt()
- Tells us if the database mapping is built so that we can avoid
re-building it repeatedly.
- Returns:
- Whether the DatabaseMap is built.
getDatabaseMap
public DatabaseMap getDatabaseMap()
- Gets the database mapping this map builder built.
- Returns:
- A DatabaseMap.
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.