public EdgeType(Edge value, IdMapper<String> ids) { this.sourceId = ids.getId(value.getSource()).toString(); this.sourceOutputPort = value.getSourceOutputPort(); this.targetId = ids.getId(value.getTarget()).toString(); this.targetInputPort = value.getTargetInputPort(); this.tags = value.getTags(); this.alias = value.getAlias(); }
public EdgeType(Edge value, IdMapper<String> ids) { this.sourceId = ids.getId(value.getSource()).toString(); this.sourceOutputPort = value.getSourceOutputPort(); this.targetId = ids.getId(value.getTarget()).toString(); this.targetInputPort = value.getTargetInputPort(); this.tags = value.getTags(); this.alias = value.getAlias(); }