Package com.totvs.tjf.core.common.domain
Class AbstractDomainAggregate<K extends DomainObjectId<?>>
- java.lang.Object
-
- com.totvs.tjf.core.common.domain.AbstractEntity<K>
-
- com.totvs.tjf.core.common.domain.AbstractDomainEntity<K>
-
- com.totvs.tjf.core.common.domain.AbstractDomainAggregate<K>
-
- Type Parameters:
K- the type of identifier aggregate.
- All Implemented Interfaces:
DomainObject,IdentifiableDomainObject<K>
@MappedSuperclass public abstract class AbstractDomainAggregate<K extends DomainObjectId<?>> extends AbstractDomainEntity<K>
Basic definition of an aggregate.
-
-
Field Summary
-
Fields inherited from class com.totvs.tjf.core.common.domain.AbstractEntity
id
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractDomainAggregate()protectedAbstractDomainAggregate(K id)
-
Method Summary
-
Methods inherited from class com.totvs.tjf.core.common.domain.AbstractDomainEntity
afterDomainEventPublication, getEvents, registerEvent, removeEvents
-
Methods inherited from class com.totvs.tjf.core.common.domain.AbstractEntity
equals, getId, hashCode
-
-
-
-
Constructor Detail
-
AbstractDomainAggregate
protected AbstractDomainAggregate()
-
AbstractDomainAggregate
protected AbstractDomainAggregate(K id)
-
-