public static interface DbAction.WithGeneratedId<T> extends DbAction.WithEntity<T>
DbAction that may "update" its entity. In order to support immutable entities this requires at least
potentially creating a new instance, which this interface makes available.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>| Modifier and Type | Method and Description |
|---|---|
default Class<T> |
getEntityType() |
Object |
getGeneratedId() |
getEntitydoExecuteWith, executeWith@Nullable Object getGeneratedId()
null.default Class<T> getEntityType()
getEntityType in interface DbAction<T>getEntityType in interface DbAction.WithEntity<T>Copyright © 2017–2019 Pivotal Software, Inc.. All rights reserved.