| Package | Description |
|---|---|
| org.tentackle.model |
Entity model.
|
| org.tentackle.model.impl |
Default model implementation.
|
| org.tentackle.model.print |
Model pretty printing.
|
| Modifier and Type | Method and Description |
|---|---|
Relation |
EntityFactory.createRelation(Entity entity,
SourceInfo sourceInfo)
Creates a relation.
|
Relation |
Relation.getDefiningNmRelation()
Gets the relation of the entity defining the nm-relation.
|
Relation |
Relation.getForeignRelation()
Gets the foreign (opposite) relation.
|
Relation |
Relation.getNmRelation()
Gets the N:M relation of the foreign entity.
|
Relation |
Attribute.getRelation()
Gets the associated relation.
|
Relation |
Entity.getRelation(String name,
boolean all)
Gets a relation by its name.
|
| Modifier and Type | Method and Description |
|---|---|
Set<List<Relation>> |
Entity.getAllCompositePaths()
Gets the paths of composite relations to this entity.
Notice that this inludes paths to sub-entities and super-entities as well. |
List<Relation> |
Entity.getAllReferencingRelations()
Gets the relations from other entities referencing this entity or any sub-entity or super entity.
|
List<Relation> |
Entity.getAllRelations()
Gets all relations including the inherited and the ones from the sub entities.
|
Set<List<Relation>> |
Entity.getCompositePaths()
Gets the paths of composite relations to this entity.
Notice that this inludes paths to sub-entities as well. |
List<Relation> |
Entity.getDeeplyReferencedComponents()
Gets the deeply referenced components.
Will contain the relations to components where Entity.isDeeplyReferenced() is true. |
List<Relation> |
Entity.getDeepReferences()
Gets the deep references to this entity.
|
List<Relation> |
Entity.getDeepReferencesToComponents()
Gets the deep references to components of this root entity.
Will contain all deep references to all components, not only the direct childs. |
List<Relation> |
Entity.getInheritedReferencingRelations()
Gets the relations from other entities referencing any super-entity.
|
List<Relation> |
Entity.getInheritedRelations()
Gets the inherited relations.
|
List<Relation> |
Entity.getReferencingRelations()
Gets the relations from other entities directly referencing this entity.
|
List<Relation> |
Entity.getReferencingRelationsIncludingInherited()
Gets the relations from other entities referencing this entity or any super-entity.
|
List<Relation> |
Entity.getReferencingRelationsIncludingSubEntities()
Gets the relations from other entities referencing this entity or any sub-entity.
|
List<Relation> |
Entity.getRelations()
Gets the relations.
|
List<Relation> |
Entity.getRelations(Entity entity,
boolean all)
Gets all relations for a given entity type.
|
List<Relation> |
Entity.getRelationsIncludingInherited()
Gets all including inherited relations.
|
List<Relation> |
Entity.getRelationsIncludingSubEntities()
Gets all relations including the ones from the sub entities.
|
List<Relation> |
Entity.getSubEntityReferencingRelations()
Gets the relations from other entities referencing any sub-entity.
|
List<Relation> |
Entity.getSubEntityRelations()
Gets the relations from the sub entities.
|
List<Relation> |
Entity.getTableRelations()
Gets the relations of the table mapped by this entity.
|
| Constructor and Description |
|---|
MethodArgument(Relation relation,
Attribute attribute)
Creates a method argument.
|
MethodArgument(Relation relation,
String foreignAttributeName,
Attribute attribute)
Creates a method argument for another foreign attribute as the relation points to.
|
MethodArgument(Relation relation,
String foreignAttributeName,
String value)
Creates a method argument for another foreign attribute as the relation points to.
If value is a String it must be enclosed in double quotes. |
| Modifier and Type | Class and Description |
|---|---|
class |
RelationImpl
Relation implementation.
|
| Modifier and Type | Method and Description |
|---|---|
Relation |
RelationImpl.getDefiningNmRelation() |
Relation |
RelationImpl.getForeignRelation() |
Relation |
RelationImpl.getNmRelation() |
Relation |
AttributeImpl.getRelation() |
Relation |
EntityImpl.getRelation(String name,
boolean all) |
| Modifier and Type | Method and Description |
|---|---|
void |
RelationImpl.setDefiningNmRelation(Relation definingNmRelation) |
void |
RelationImpl.setForeignRelation(Relation foreignRelation) |
void |
RelationImpl.setNmRelation(Relation nmRelation) |
void |
AttributeImpl.setRelation(Relation relation) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ModelImpl.updateCompositePath(List<Relation> compositePath,
Entity entity)
Updates the composite path.
|
| Constructor and Description |
|---|
RelationPrinter(Relation relation,
PrintConfiguration configuration)
Creates a relation printer.
|
Tentackle - a domain driven enterprise framework