public class ValueRelationship extends ValuePropertyContainer implements org.neo4j.graphdb.Relationship
| Constructor and Description |
|---|
ValueRelationship(long id,
long from,
long to,
org.neo4j.graphdb.RelationshipType type,
Map<String,Object> props) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
boolean |
equals(Object o) |
org.neo4j.graphdb.Node |
getEndNode() |
org.neo4j.graphdb.GraphDatabaseService |
getGraphDatabase() |
long |
getId() |
org.neo4j.graphdb.Node[] |
getNodes() |
org.neo4j.graphdb.Node |
getOtherNode(org.neo4j.graphdb.Node node) |
Object |
getProperty(String s,
Object o) |
org.neo4j.graphdb.Node |
getStartNode() |
org.neo4j.graphdb.RelationshipType |
getType() |
int |
hashCode() |
boolean |
hasProperty(String s) |
boolean |
isType(org.neo4j.graphdb.RelationshipType relationshipType) |
static void |
pack(Neo4jPack.Packer packer,
org.neo4j.graphdb.Relationship rel) |
Object |
removeProperty(String s) |
void |
setProperty(String s,
Object o) |
String |
toString() |
static ValueRelationship |
unpack(Neo4jPack.Unpacker unpacker) |
static ValueRelationship |
unpackFields(Neo4jPack.Unpacker unpacker) |
getAllProperties, getProperties, getProperty, getPropertyKeyspublic static void pack(Neo4jPack.Packer packer, org.neo4j.graphdb.Relationship rel) throws IOException
IOExceptionpublic static ValueRelationship unpack(Neo4jPack.Unpacker unpacker) throws IOException
IOExceptionpublic static ValueRelationship unpackFields(Neo4jPack.Unpacker unpacker) throws IOException
IOExceptionpublic long getId()
getId in interface org.neo4j.graphdb.EntitygetId in interface org.neo4j.graphdb.Relationshippublic org.neo4j.graphdb.Node getStartNode()
getStartNode in interface org.neo4j.graphdb.Relationshippublic org.neo4j.graphdb.Node getEndNode()
getEndNode in interface org.neo4j.graphdb.Relationshippublic org.neo4j.graphdb.RelationshipType getType()
getType in interface org.neo4j.graphdb.Relationshippublic org.neo4j.graphdb.Node getOtherNode(org.neo4j.graphdb.Node node)
getOtherNode in interface org.neo4j.graphdb.Relationshippublic org.neo4j.graphdb.Node[] getNodes()
getNodes in interface org.neo4j.graphdb.Relationshippublic boolean isType(org.neo4j.graphdb.RelationshipType relationshipType)
isType in interface org.neo4j.graphdb.Relationshippublic org.neo4j.graphdb.GraphDatabaseService getGraphDatabase()
getGraphDatabase in interface org.neo4j.graphdb.PropertyContainerpublic boolean hasProperty(String s)
hasProperty in interface org.neo4j.graphdb.PropertyContainerpublic Object getProperty(String s, Object o)
getProperty in interface org.neo4j.graphdb.PropertyContainerpublic void setProperty(String s, Object o)
setProperty in interface org.neo4j.graphdb.PropertyContainerpublic Object removeProperty(String s)
removeProperty in interface org.neo4j.graphdb.PropertyContainerpublic void delete()
delete in interface org.neo4j.graphdb.RelationshipCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.