pl.edu.agh.cast.model.mapper.internal
Class DBSaver
java.lang.Object
pl.edu.agh.cast.model.mapper.internal.AbstractSaver
pl.edu.agh.cast.model.mapper.internal.DBSaver
- All Implemented Interfaces:
- Saver
public class DBSaver
- extends AbstractSaver
The saver implementation which uses relational data base to store objects.
- Author:
- AGH CAST Team
Constructor Summary |
DBSaver(Mappable object,
boolean force)
The parameterized constructor. |
Method Summary |
boolean |
save()
Save the model. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBSaver
public DBSaver(Mappable object,
boolean force)
- The parameterized constructor.
- Parameters:
object
- The object to save.force
- Flag indicating that given object should be saved, no matter if it was saved earlier.
save
public boolean save()
- Save the model.
- Returns:
- true if the model was saved successfully.
- See Also:
Saver.save()
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.