public class RenameModelTask
extends java.lang.Object
Constructor and Description |
---|
RenameModelTask(XMLDBModel existingMode,
java.lang.String newModelName)
Construct the object and set the member variables for it.
|
Modifier and Type | Method and Description |
---|---|
XMLDBModel |
getExistingModel()
Return the existing model set in the object.
|
java.lang.String |
getNewModelName()
Return the new name for the model.
|
void |
setExistingModel(XMLDBModel existingModel)
Set the existing model that its name need to be changed.
|
void |
setNewModelName(java.lang.String newModelName)
Set the new model name.
|
public RenameModelTask(XMLDBModel existingMode, java.lang.String newModelName)
existingMode
- The model that its name need to be changed.newModelName
- The new name for the model.public XMLDBModel getExistingModel()
setExistingModel(ptdb.common.dto.XMLDBModel)
public java.lang.String getNewModelName()
setNewModelName(java.lang.String)
public void setExistingModel(XMLDBModel existingModel)
existingModel
- The model that its name needs to be changed.getExistingModel()
public void setNewModelName(java.lang.String newModelName)
newModelName
- The new model name.getNewModelName()