org.enodeframework.domain.IAggregateRootFactory.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enode Show documentation
Show all versions of enode Show documentation
The enodeframework core implementation.
package org.enodeframework.domain
/**
* Defines a factory to create empty aggregate root.
*/
interface IAggregateRootFactory {
/**
* Create an empty aggregate root with the given type.
*/
fun createAggregateRoot(aggregateRootType: Class): T
}