public class RemoveModelsTask extends Task
It is used as a data transfer object that hold a list of models as XMLDBModel objects with its getter and setter methods.
Modifier and Type | Field and Description |
---|---|
(package private) java.util.ArrayList<XMLDBModel> |
_modelsList
List of models to be deleted.
|
_isUpdateTask
Constructor and Description |
---|
RemoveModelsTask(java.util.ArrayList<XMLDBModel> modelsList)
Construct an object from this class and set the models list.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<XMLDBModel> |
getModelsList()
Return the list of models to be deleted from the database.
|
void |
setModelsList(java.util.ArrayList<XMLDBModel> modelsList)
Set the list of models to be deleted from the database.
|
isUpdateTask, setIsUpdateTask
java.util.ArrayList<XMLDBModel> _modelsList
public RemoveModelsTask(java.util.ArrayList<XMLDBModel> modelsList)
modelsList
- The models list to be removed from the database.public java.util.ArrayList<XMLDBModel> getModelsList()
setModelsList(java.util.ArrayList<ptdb.common.dto.XMLDBModel>)
public void setModelsList(java.util.ArrayList<XMLDBModel> modelsList)
modelsList
- List of models to be deleted from the database.getModelsList()