public abstract class RelationshipBuilder extends Object implements CypherEmitter, Comparable<RelationshipBuilder>
| Modifier and Type | Field and Description |
|---|---|
protected String |
endNodeIdentifier |
protected Long |
id |
protected String |
reference |
protected String |
startNodeIdentifier |
protected String |
type |
| Modifier | Constructor and Description |
|---|---|
protected |
RelationshipBuilder(String variableName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(String propertyName,
Object propertyValue) |
int |
compareTo(RelationshipBuilder o) |
RelationshipBuilder |
direction(String direction) |
Long |
getId() |
String |
getReference() |
String |
getType() |
boolean |
hasDirection(String direction) |
abstract boolean |
isNew() |
Boolean |
isSingleton() |
abstract void |
relate(String startNodeIdentifier,
String endNodeIdentifier) |
void |
setId(Long id) |
void |
setSingleton(Boolean singleton) |
String |
toString() |
RelationshipBuilder |
type(String type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitemitprotected Long id
protected String type
protected String startNodeIdentifier
protected String endNodeIdentifier
protected String reference
protected RelationshipBuilder(String variableName)
public Boolean isSingleton()
public void setSingleton(Boolean singleton)
public String getType()
public RelationshipBuilder type(String type)
public RelationshipBuilder direction(String direction)
public boolean hasDirection(String direction)
public Long getId()
public void setId(Long id)
public abstract boolean isNew()
public String getReference()
public int compareTo(RelationshipBuilder o)
compareTo in interface Comparable<RelationshipBuilder>Copyright © 2015 Neo Technology, Inc.. All rights reserved.