public static interface DbAction.WithDependingOn<T> extends DbAction.WithPropertyPath<T>, DbAction.WithEntity<T>
DbAction.AcquireLockAllRoot<T>, DbAction.AcquireLockRoot<T>, 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 |
|---|---|
DbAction.WithEntity<?> |
getDependingOn()
The
DbAction of a parent entity, possibly the aggregate root. |
default Class<T> |
getEntityType() |
default Pair<PersistentPropertyPath<RelationalPersistentProperty>,Object> |
getQualifier() |
Map<PersistentPropertyPath<RelationalPersistentProperty>,Object> |
getQualifiers()
Additional values to be set during insert or update statements.
|
getPropertyPathgetEntityDbAction.WithEntity<?> getDependingOn()
DbAction of a parent entity, possibly the aggregate root. This is used to obtain values needed to
persist the entity, that are not part of the current entity, especially the id of the parent, which might only
become available once the parent entity got persisted.null.getQualifiers()Map<PersistentPropertyPath<RelationalPersistentProperty>,Object> getQualifiers()
Values come from parent entities but one might also add values manually.
null.@Nullable default Pair<PersistentPropertyPath<RelationalPersistentProperty>,Object> getQualifier()
default Class<T> getEntityType()
getEntityType in interface DbAction<T>getEntityType in interface DbAction.WithEntity<T>getEntityType in interface DbAction.WithPropertyPath<T>Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.