| Package | Description |
|---|---|
| org.tentackle.model |
Entity model.
|
| org.tentackle.model.impl |
Default model implementation.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
ModelError.toString(Collection<ModelError> errors)
Creates a string from a collection of errors.
Multiple errors are separated by a newline. |
| Constructor and Description |
|---|
ModelException(Collection<ModelError> errors)
Creates a model exception from a collection of errors.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ModelImpl.validateComponents(Entity entity,
Integrity integrity,
Set<ModelError> errors)
Verifies that the integrity is the same within a given composite hierarchy.
|
protected void |
ModelImpl.validateInheritanceHierarchy(Entity entity,
InheritanceType inheritanceType,
TrackType trackType,
Integrity integrity,
Set<ModelError> errors)
Verifies that the inheritance, integrity and track type is the same within a given interitance hierarchy.
Notice that concrete classes (the leafs of the hierarchy) must have InheritanceType.NONE defined! |
Tentackle - a domain driven enterprise framework