Interface DbAction.WithRoot<T>

All Superinterfaces:
DbAction<T>, DbAction.WithEntity<T>
All Known Implementing Classes:
DbAction.InsertRoot, DbAction.UpdateRoot
Enclosing interface:
DbAction<T>

public static interface DbAction.WithRoot<T> extends DbAction.WithEntity<T>
A DbAction pertaining to the root on an aggregate.
Author:
Chirag Tailor
  • Method Details

    • setEntity

      void setEntity(T entity)
      Parameters:
      entity - the entity to persist. Must not be null.