T
- type of the entity for which this represents a database interaction.public static final class DbAction.DeleteRoot<T> extends Object implements DbAction<T>
Note that deletes for contained entities that reference the root are to be represented by separate
DbAction
s.
DbAction.Delete<T>, DbAction.DeleteAll<T>, DbAction.DeleteAllRoot<T>, DbAction.DeleteRoot<T>, DbAction.Insert<T>, DbAction.InsertRoot<T>, DbAction.Merge<T>, DbAction.Update<T>, DbAction.UpdateRoot<T>, DbAction.WithDependingOn<T>, DbAction.WithEntity<T>, DbAction.WithGeneratedId<T>, DbAction.WithPropertyPath<T>, DbAction.WithVersion
Constructor and Description |
---|
DeleteRoot(@NonNull Object id,
@NonNull Class<T> entityType,
Number previousVersion) |
Modifier and Type | Method and Description |
---|---|
void |
doExecuteWith(Interpreter interpreter)
Executing this DbAction with the given
Interpreter without any exception handling. |
boolean |
equals(Object o) |
@NonNull Class<T> |
getEntityType() |
@NonNull Object |
getId() |
Number |
getPreviousVersion() |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
executeWith
public void doExecuteWith(Interpreter interpreter)
DbAction
Interpreter
without any exception handling.doExecuteWith
in interface DbAction<T>
interpreter
- the Interpreter
responsible for actually executing the DbAction
.@NonNull public @NonNull Object getId()
@NonNull public @NonNull Class<T> getEntityType()
getEntityType
in interface DbAction<T>
Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.