private NodeTypeEnum label;
- protected GraphNode(NodeTypeEnum label) {
- super(GraphElementTypeEnum.Node);
-
- this.label = label;
- }
-
protected Gson getGson() {
return gson;
}
+ protected GraphNode(NodeTypeEnum label) {
+ super(GraphElementTypeEnum.Node);
+
+ this.label = label;
+ }
+
public String getLabel() {
return label.getName();
}
return new ImmutablePair<>(getUniqueIdKey(), getUniqueId());
}
+
+ public ImmutablePair<String, Object> getKeyValueIdForLog() {
+ return getKeyValueId();
+ }
+
protected void addIfExists(Map<String, Object> map, GraphPropertiesDictionary property, Object value) {
if (value != null) {
if (value instanceof List || value instanceof Map) {