public class UpdateParentsToNewVersionTask extends Task
Modifier and Type | Field and Description |
---|---|
(package private) XMLDBModel |
_newModel |
(package private) XMLDBModel |
_oldModel |
(package private) java.util.ArrayList<java.lang.String> |
_parentsList |
_isUpdateTask
Constructor and Description |
---|
UpdateParentsToNewVersionTask() |
Modifier and Type | Method and Description |
---|---|
XMLDBModel |
getNewModel()
Return the new model that was created.
|
XMLDBModel |
getOldModel()
Return the old model that was being updated.
|
java.util.ArrayList<java.lang.String> |
getParentsList()
Return the list of selected first level parents' model names.
|
void |
setNewModel(XMLDBModel newModel)
Set the new model that was created.
|
void |
setOldModel(XMLDBModel oldModel)
Set the old model that was being updated.
|
void |
setParentsList(java.util.ArrayList<java.lang.String> parentsList)
Set the list of selected first level parents' model names.
|
isUpdateTask, setIsUpdateTask
XMLDBModel _newModel
XMLDBModel _oldModel
java.util.ArrayList<java.lang.String> _parentsList
public XMLDBModel getNewModel()
setNewModel(ptdb.common.dto.XMLDBModel)
public XMLDBModel getOldModel()
setOldModel(ptdb.common.dto.XMLDBModel)
public java.util.ArrayList<java.lang.String> getParentsList()
setParentsList(java.util.ArrayList<java.lang.String>)
public void setNewModel(XMLDBModel newModel)
newModel
- The new model that was created.getNewModel()
public void setOldModel(XMLDBModel oldModel)
oldModel
- The old model that was being updated.getOldModel()
public void setParentsList(java.util.ArrayList<java.lang.String> parentsList)
parentsList
- The list of selected first level parents' model names.getParentsList()