| Package | Description |
|---|---|
| org.tentackle.model |
Entity model.
|
| org.tentackle.model.impl |
Default model implementation.
|
| Modifier and Type | Method and Description |
|---|---|
InheritanceType |
Entity.getHierarchyInheritanceType()
Gets the inheritance type of the hierarchy.
For leafs, which have NONE, the type of the super entity is returned. |
InheritanceType |
Entity.getInheritanceType()
Gets the inheritance type.
|
static InheritanceType |
InheritanceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InheritanceType[] |
InheritanceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
InheritanceType |
EntityImpl.getHierarchyInheritanceType() |
InheritanceType |
EntityImpl.getInheritanceType() |
| Modifier and Type | Method and Description |
|---|---|
void |
EntityImpl.setInheritanceType(InheritanceType inheritanceType)
Sets the inheritance type.
|
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