User Tools

Site Tools


01_user_documentation:06_graph:06_extent:01_structure

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
01_user_documentation:06_graph:06_extent:01_structure [2025/10/13 09:38] – created gaetan01_user_documentation:06_graph:06_extent:01_structure [2025/10/13 09:41] (current) gaetan
Line 4: Line 4:
 Extents are double linked lists. They could be used for any type of java classes. But, in GroIMP they are only created for Nodes in the graph. Thus, the elements of the extents will be referred as Node (and their subclasses).  Extents are double linked lists. They could be used for any type of java classes. But, in GroIMP they are only created for Nodes in the graph. Thus, the elements of the extents will be referred as Node (and their subclasses). 
 To be part of the project graph an object needs to extends [[https://javadoc.grogra.de/graph/de/grogra/graph/impl/Node.html|Node]]. Thus, the highest level of Extent is the one wrapping the type Node. To be part of the project graph an object needs to extends [[https://javadoc.grogra.de/graph/de/grogra/graph/impl/Node.html|Node]]. Thus, the highest level of Extent is the one wrapping the type Node.
-Then, for each new type of Node added in the graph, an extent is created and linked to its direct super class. The type of Node is described by its [[https://javadoc.grogra.de/graph/de/grogra/graph/impl/Node.NType.html|NType]]. The NType is an internal class defined by each Node. In java it is usually created with the [[dev-guide:automatic-code-enhancement|code enhancer]] to ensure that all the required attributes for the persistence management are created. In RGG, the NType is automatically created for all ''modules''.+Then, for each new type of Node added in the graph, an extent is created and linked to its direct super class. The type of Node is described by its [[https://javadoc.grogra.de/graph/de/grogra/graph/impl/Node.NType.html|NType]]. The NType is an internal class defined by each Node. In java it is usually created with the [[:01_user_documentation:06_graph:07_persistence:99_code_enhancement|code enhancer]] to ensure that all the required attributes for the persistence management are created. In RGG, the NType is automatically created for all ''modules''.
 If a Node is added to the graph and it extends several level of Nodes, an extent for each intermediate NTypes is created.  If a Node is added to the graph and it extends several level of Nodes, an extent for each intermediate NTypes is created. 
 +
 +=====  =====
  
  
01_user_documentation/06_graph/06_extent/01_structure.1760341124.txt.gz · Last modified: 2025/10/13 09:38 by gaetan