public class SaveModelTask extends Task
It is used as a data transfer object that hold the model as XMLDBModel object with its getter and setter methods.
_isUpdateTask
Constructor and Description |
---|
SaveModelTask()
Default nullary constructor.
|
SaveModelTask(XMLDBModel xmlDBModel)
Construct an instance of this class and set the model to be saved in the
database.
|
Modifier and Type | Method and Description |
---|---|
XMLDBModel |
getXMLDBModel()
Return the model to be saved in the database.
|
void |
setXMLDBModel(XMLDBModel xmlDBModel)
Set the model to be saved in the database.
|
isUpdateTask, setIsUpdateTask
public SaveModelTask()
Should be removed once the code using it is fixed to use the constructor with the XMLDBModel parameter.
public SaveModelTask(XMLDBModel xmlDBModel)
xmlDBModel
- the model to be saved in the database.public XMLDBModel getXMLDBModel()
setXMLDBModel(ptdb.common.dto.XMLDBModel)
public void setXMLDBModel(XMLDBModel xmlDBModel)
xmlDBModel
- the model to be saved to the database.getXMLDBModel()