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(); }
assertSame(v, vtov2.getSource()); assertEquals(0, vtov2.getSourceOutputPort()); assertSame(v2, vtov2.getTarget()); assertEquals(0, vtov2.getTargetInputPort());
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(); }