Uses of Interface
org.tentackle.model.Relation
Packages that use Relation
Package
Description
Entity model.
Default model implementation.
Model pretty printing.
-
Uses of Relation in org.tentackle.model
Methods in org.tentackle.model that return RelationModifier and TypeMethodDescriptionEntityFactory.createRelation(Entity entity, SourceInfo sourceInfo) Creates a relation.Relation.getDefiningNmRelation()Gets the relation of the entity defining the nm-relation.Relation.getForeignRelation()Gets the foreign (opposite) relation.Relation.getNmRelation()Gets the N:M relation of the foreign entity.Attribute.getRelation()Gets the associated relation.Entity.getRelation(String name, boolean all) Gets a relation by its name.Methods in org.tentackle.model that return types with arguments of type RelationModifier and TypeMethodDescriptionEntity.getAllCompositePaths()Gets the paths of composite relations to this entity.
Notice that this inludes paths to sub-entities and super-entities as well.Entity.getAllReferencingRelations()Gets the relations from other entities referencing this entity or any sub-entity or super entity.Entity.getAllRelations()Gets all relations including the inherited and the ones from the sub entities.Entity.getCompositePaths()Gets the paths of composite relations to this entity.
Notice that this inludes paths to sub-entities as well.Entity.getDeeplyReferencedComponents()Gets the deeply referenced components.
Will contain the relations to components whereEntity.isDeeplyReferenced()is true.Entity.getDeepReferences()Gets the deep references to this entity.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.Entity.getInheritedReferencingRelations()Gets the relations from other entities referencing any super-entity.Entity.getInheritedRelations()Gets the inherited relations.Entity.getReferencingRelations()Gets the relations from other entities directly referencing this entity.Gets the relations from other entities referencing this entity or any super-entity.Gets the relations from other entities referencing this entity or any sub-entity.Entity.getRelations()Gets the relations.Entity.getRelations(Entity entity, boolean all) Gets all relations for a given entity type.Entity.getRelationsIncludingInherited()Gets all including inherited relations.Entity.getRelationsIncludingSubEntities()Gets all relations including the ones from the sub entities.Entity.getSubEntityReferencingRelations()Gets the relations from other entities referencing any sub-entity.Entity.getSubEntityRelations()Gets the relations from the sub entities.Entity.getTableRelations()Gets the relations of the table mapped by this entity.Methods in org.tentackle.model with parameters of type RelationModifier and TypeMethodDescriptionCodeFactory.createDeclaredJavaType(Relation relation, boolean withinForeignEntity) Creates the declared type of a relation.CodeFactory.createGetterName(Relation relation) Creates the name of the getter for a relation.CodeFactory.createJavaType(Relation relation) Creates the java type of a relation.CodeFactory.createSetterName(Relation relation) Creates the name of the setter for a relation.Constructors in org.tentackle.model with parameters of type RelationModifierConstructorDescriptionMethodArgument(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.MethodArgument(Relation relation, String foreignAttributeName, Attribute attribute) Creates a method argument for another foreign attribute as the relation points to.MethodArgument(Relation relation, Attribute attribute) Creates a method argument. -
Uses of Relation in org.tentackle.model.impl
Classes in org.tentackle.model.impl that implement RelationMethods in org.tentackle.model.impl that return RelationModifier and TypeMethodDescriptionRelationImpl.getDefiningNmRelation()RelationImpl.getForeignRelation()RelationImpl.getNmRelation()AttributeImpl.getRelation()EntityImpl.getRelation(String name, boolean all) Methods in org.tentackle.model.impl that return types with arguments of type RelationModifier and TypeMethodDescriptionEntityImpl.getAllCompositePaths()EntityImpl.getAllReferencingRelations()EntityImpl.getAllRelations()EntityImpl.getCompositePaths()EntityImpl.getDeeplyReferencedComponents()EntityImpl.getDeepReferences()EntityImpl.getDeepReferencesToComponents()EntityImpl.getInheritedReferencingRelations()EntityImpl.getInheritedRelations()EntityImpl.getReferencingRelations()EntityImpl.getReferencingRelationsIncludingInherited()EntityImpl.getReferencingRelationsIncludingSubEntities()EntityImpl.getRelations()EntityImpl.getRelations(Entity entity, boolean all) EntityImpl.getRelationsIncludingInherited()EntityImpl.getRelationsIncludingSubEntities()EntityImpl.getSubEntityReferencingRelations()EntityImpl.getSubEntityRelations()EntityImpl.getTableRelations()Methods in org.tentackle.model.impl with parameters of type RelationModifier and TypeMethodDescriptionvoidRelationImpl.setDefiningNmRelation(Relation definingNmRelation) voidRelationImpl.setForeignRelation(Relation foreignRelation) voidRelationImpl.setNmRelation(Relation nmRelation) voidAttributeImpl.setRelation(Relation relation) Method parameters in org.tentackle.model.impl with type arguments of type RelationModifier and TypeMethodDescriptionprotected voidModelImpl.updateCompositePath(List<Relation> compositePath, Entity entity) Updates the composite path. -
Uses of Relation in org.tentackle.model.print
Constructors in org.tentackle.model.print with parameters of type RelationModifierConstructorDescriptionRelationPrinter(Relation relation, PrintConfiguration configuration) Creates a relation printer.