Package org.jmolecules.ddd.types
Types to define Domain-Driven Design building blocks.
- See Also:
-
Interface Summary Interface Description AggregateRoot<T extends AggregateRoot<T,ID>,ID extends Identifier> Identifies an aggregate root, i.e.Association<T extends AggregateRoot<T,ID>,ID extends Identifier> An association to anAggregateRoot
.Entity<T extends AggregateRoot<T,?>,ID> Identifies anEntity
.Identifiable<ID> An identifiable type, i.e.Identifier Marker interface for identifiers.Repository<T extends AggregateRoot<T,ID>,ID extends Identifier> Identifies aRepository
.ValueObject Identifies a value object.Class Summary Class Description SimpleAssociation<T extends AggregateRoot<T,ID>,ID extends Identifier> Simple implementation ofAssociation
to effectively only defineSimpleAssociation.equals(Object)
andSimpleAssociation.hashCode()
onAssociation
's static factory methods.