@Test public void testUpdateRelationship(){ Relationship relationship = new GraphRelationship.Builder().setName(Name.valueOf("test-relation")) .setSourceID(Entity.ID.valueOf("test-source")).setTargetID(Entity.ID.valueOf("test-target")).build(); GraphAttributeOperations operations = new GraphAttributeOperations(); UpdateRelationship updateRelationship = new UpdateRelationship(relationship , operations ); assertEquals(updateRelationship.getOperations(), operations); assertEquals(updateRelationship.getRelationship(), relationship); assertEquals(updateRelationship.toString(), "Operation [Update Relationship] source id [test-source] target id [test-target]"); }
public UpdateRelationship(Relationship relationship, GraphAttributeOperations operations) { super(); this.relationship = relationship; this.operations = operations; }
UpdateRelationship implements Operation { public UpdateRelationship(Relationship relationship, GraphAttributeOperations operations) { super(); this.relationship = relationship; this.operations = operations; } }
UpdateRelationship implements Operation { public UpdateRelationship(Relationship relationship, GraphAttributeOperations operations) { super(); this.relationship = relationship; this.operations = operations; } UpdateRelationship(Relationship relationship,
            GraphAttributeOperations operations); }
UpdateRelationship implements Operation { public UpdateRelationship(Relationship relationship, GraphAttributeOperations operations) { super(); this.relationship = relationship; this.operations = operations; } UpdateRelationship(Relationship relationship,
            GraphAttributeOperations operations); Relationship getRelationship(); GraphAttributeOperations getOperations(); @Override String toString(); }
UpdateRelationship implements Operation { public UpdateRelationship(Relationship relationship, GraphAttributeOperations operations) { super(); this.relationship = relationship; this.operations = operations; } UpdateRelationship(Relationship relationship,
            GraphAttributeOperations operations); Relationship getRelationship(); GraphAttributeOperations getOperations(); @Override String toString();  }