Class JpaEntityPointerDefinition

  • All Implemented Interfaces:
    Visitable<JpaDataNodeDefinition<JpaEntityPointerDefinition>>, DebugDumpable

    public class JpaEntityPointerDefinition
    extends JpaDataNodeDefinition<JpaEntityPointerDefinition>
    Special placeholder to allow for cross-references: entity definition that points to another entity. Currently, the process of resolving allows to point to root entity definitions here only. As a hack, we implement self pointers (e.g. RAssignment.metadata->RAssignment) also for non-root entities, provided they are resolved on creation. (The reason of using JpaEntityPointerDefinition there is just to break navigation cycles e.g. when using a visitor.)