org.nakedobjects.plugins.sql.objectstore.auto
Class ReversedAutoAssociationMapper
java.lang.Object
org.nakedobjects.plugins.sql.objectstore.AbstractMapper
org.nakedobjects.plugins.sql.objectstore.auto.AbstractAutoMapper
org.nakedobjects.plugins.sql.objectstore.auto.ReversedAutoAssociationMapper
- All Implemented Interfaces:
- CollectionMapper
public class ReversedAutoAssociationMapper
- extends AbstractAutoMapper
- implements CollectionMapper
used where there is a one to many association, and the elements are only known to parent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ReversedAutoAssociationMapper
public ReversedAutoAssociationMapper(java.lang.String elemenType,
NakedObjectAssociation field,
java.lang.String parameterBase,
FieldMappingLookup lookup)
createTables
public void createTables(DatabaseConnector connection)
- 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
loadFields
protected void loadFields(NakedObject object,
Results rs)
saveInternalCollection
public void saveInternalCollection(DatabaseConnector connector,
NakedObject parent)
- Specified by:
saveInternalCollection in interface CollectionMapper
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.