org.nakedobjects.plugins.sql.objectstore.auto
Class AutoCollectionMapper

java.lang.Object
  extended by org.nakedobjects.plugins.sql.objectstore.AbstractMapper
      extended by org.nakedobjects.plugins.sql.objectstore.auto.AutoCollectionMapper
All Implemented Interfaces:
CollectionMapper

public class AutoCollectionMapper
extends AbstractMapper
implements CollectionMapper


Constructor Summary
AutoCollectionMapper(NakedObjectSpecification specification, NakedObjectAssociation field, FieldMappingLookup lookup)
           
 
Method Summary
 void createTables(DatabaseConnector connector)
           
 void loadInternalCollection(DatabaseConnector connector, NakedObject parent)
           
 boolean needsTables(DatabaseConnector connector)
           
 void saveInternalCollection(DatabaseConnector connector, NakedObject parent)
           
 
Methods inherited from class org.nakedobjects.plugins.sql.objectstore.AbstractMapper
addPrimaryKeyMapper, asSqlName, createVersion, getFieldMappingLookup, recreateOid, shutdown, startup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoCollectionMapper

public AutoCollectionMapper(NakedObjectSpecification specification,
                            NakedObjectAssociation field,
                            FieldMappingLookup lookup)
Method Detail

createTables

public void createTables(DatabaseConnector connector)
Specified by:
createTables in interface CollectionMapper
Specified by:
createTables in class AbstractMapper

loadInternalCollection

public void loadInternalCollection(DatabaseConnector connector,
                                   NakedObject parent)
Specified by:
loadInternalCollection in interface CollectionMapper

needsTables

public boolean needsTables(DatabaseConnector connector)
Specified by:
needsTables in interface CollectionMapper
Overrides:
needsTables in class AbstractMapper

saveInternalCollection

public void saveInternalCollection(DatabaseConnector connector,
                                   NakedObject parent)
Specified by:
saveInternalCollection in interface CollectionMapper


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.