New relations can be added with method 'addEntitiesData' where the expected format
GraphDefinition entities where every entity has a
Set of target entities.
In other words, there is an oriented Edge between enetity and its target entities.
After specifying entities data, you have to set edge type with method 'withEdgeType'.
New relations can also be added with method 'addEntity'. After specifying the entity, you have to set target entities with method 'withTargetEntities'. After that you must set the graph edge type. Example: graphDefinition.addEntity(entity).withTargetEntities(targetEntities).withEdgeType(GraphEdge.Type.BOLD);
- Vojtech Sassmann <firstname.lastname@example.org>
Nested Class SummaryModifier and TypeClassDescription
classClass representing the state of adding new data to the
classClass representing the state of adding new entity to the
classClass representing the state of adding target entities.
addEntitiesDataMethod used to add entities data to definition. After calling this method you have to set the Graph edge type.
entityWithTargetEntities- entities data
- object defining that entities data has been set
addEntityMethod used to add entity to definition. After calling this method you have to set the target entities.
- object defining that entity data has been set