public abstract class DbOperation extends Object implements Recyclable
| Modifier and Type | Field and Description |
|---|---|
protected Class<? extends DbEntity> |
entityType
The type of the DbEntity this operation is executed on.
|
protected DbOperationType |
operationType
The type of the operation.
|
| Constructor and Description |
|---|
DbOperation() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends DbEntity> |
getEntityType() |
DbOperationType |
getOperationType() |
abstract boolean |
isFailed() |
void |
recycle() |
void |
setEntityType(Class<? extends DbEntity> entityType) |
void |
setOperationType(DbOperationType operationType) |
protected DbOperationType operationType
public void recycle()
recycle in interface Recyclablepublic abstract boolean isFailed()
public DbOperationType getOperationType()
public void setOperationType(DbOperationType operationType)
Copyright © 2018. All rights reserved.