Constructor and Description |
---|
CmdInsertEntity(java.lang.Class<T> type,
T entity)
create a new command to insert new entities into database.
|
Modifier and Type | Method and Description |
---|---|
int |
getInsertedKey()
returns the ID of the new inserted datarow
|
T |
getToAddingEntity() |
java.lang.Class<T> |
getType()
gets the Class Type of the model
|
void |
setInsertedKey(int key) |
void |
setToAddingEntity(T toAddingEntity) |
public java.lang.Class<T> getType()
public int getInsertedKey()
public void setInsertedKey(int key)
public T getToAddingEntity()
public void setToAddingEntity(T toAddingEntity)