// Path: src/main/java/org/neo4j/neode/RelationshipSpecification.java
// public class RelationshipSpecification
// {
//     private final RelationshipType relationshipType;
//     private final List<Property> properties;
//     private final GraphDatabaseService db;
// 
//     RelationshipSpecification( RelationshipType relationshipType, List<Property> properties, GraphDatabaseService db )
//     {
//         this.relationshipType = relationshipType;
//         this.properties = properties;
//         this.db = db;
//     }
// 
//     Relationship createRelationship( Node startNode, Node endNode, int iteration )
//     {
//         Relationship rel = startNode.createRelationshipTo( endNode, relationshipType );
// 
//         for ( Property property : properties )
//         {
//             property.setProperty( rel, relationshipType.name(), iteration );
//         }
// 
//         return rel;
//     }
// 
//     String label()
//     {
//         return relationshipType.name();
//     }
// 
//     Expander expander( Direction direction )
//     {
//         return expanderForTypes( relationshipType, direction );
//     }
// }


import org.neo4j.graphdb.Direction;
import org.neo4j.neode.RelationshipSpecification;
/*
 * Copyright (C) 2012 Neo Technology
 * All rights reserved
 */
package org.neo4j.neode.interfaces;


public interface SetRelationshipInfo
{
// Path: src/main/java/org/neo4j/neode/RelationshipSpecification.java
// public class RelationshipSpecification
// {
//     private final RelationshipType relationshipType;
//     private final List<Property> properties;
//     private final GraphDatabaseService db;
// 
//     RelationshipSpecification( RelationshipType relationshipType, List<Property> properties, GraphDatabaseService db )
//     {
//         this.relationshipType = relationshipType;
//         this.properties = properties;
//         this.db = db;
//     }
// 
//     Relationship createRelationship( Node startNode, Node endNode, int iteration )
//     {
//         Relationship rel = startNode.createRelationshipTo( endNode, relationshipType );
// 
//         for ( Property property : properties )
//         {
//             property.setProperty( rel, relationshipType.name(), iteration );
//         }
// 
//         return rel;
//     }
// 
//     String label()
//     {
//         return relationshipType.name();
//     }
// 
//     Expander expander( Direction direction )
//     {
//         return expanderForTypes( relationshipType, direction );
//     }
// }


// Path: src/main/java/org/neo4j/neode/interfaces/SetRelationshipInfo.java
import org.neo4j.graphdb.Direction;
import org.neo4j.neode.RelationshipSpecification;

/*
 * Copyright (C) 2012 Neo Technology
 * All rights reserved
 */
package org.neo4j.neode.interfaces;


public interface SetRelationshipInfo
{
    SetRelationshipConstraints relationship( RelationshipSpecification relationshipSpecification, Direction direction );