Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
GraphChangeHandler uses plain Object as arc identifier:
.. void arcCreated(Object nodeId, Object targetNodeId, Object arcId); void arcDeleted(Object nodeId, Object targetNodeId, Object arcId); ..
We can introduce ArcId object instead that can hold forward and reverse arc names:
public class ArcId { private final String forwardArc; private final String reverseArc; // ... }
This change should simplify code maintenance and refactoring.