public abstract class Task
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
_isUpdateTask
There are two types of tasks - Update/Write tasks
that change the data in the database and Select/Read
that read the data from the database.
|
Constructor and Description |
---|
Task() |
Modifier and Type | Method and Description |
---|---|
boolean |
isUpdateTask()
Return true if the given task is an update task or
false if it is a select task.
|
void |
setIsUpdateTask(boolean isUpdateTask)
Set the given task as an update task or select task
depending on the value of isUpdateTask.
|
protected boolean _isUpdateTask
public boolean isUpdateTask()
public void setIsUpdateTask(boolean isUpdateTask)
isUpdateTask
- Boolean that specifies if the
given task is an update task.