public class MemoryRelationship extends MemoryEdge implements Relationship
Type | Property and Description |
---|---|
boolean |
is
Gets the value of the property property.
|
Modifier and Type | Method and Description |
---|---|
void |
delete() |
Node |
getEnd() |
Collection<? extends Node> |
getNodes() |
Node |
getOtherNode(Node n) |
String |
getRelationshipType() |
boolean |
isIncidentOn(Node n) |
boolean |
isProperty()
Gets the value of the property property.
|
boolean |
isRelationship() |
boolean |
isSelfLoop(Node node) |
getStart
createProperty, createRelationship, getAttribute, getAttribute, getEdgeIterator, getEdges, getNoEdges, getNoProperties, getNoRelationships, getProperties, getProperties, getPropertyIterator, getPropertyIterator, getRelationshipIterator, getRelationshipIterator, getRelationships, getRelationships
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createProperty, createRelationship, getAttribute, getAttribute, getEdgeIterator, getEdges, getNoEdges, getNoProperties, getNoRelationships, getProperties, getProperties, getPropertyIterator, getPropertyIterator, getRelationshipIterator, getRelationshipIterator, getRelationships, getRelationships
public boolean isProperty
isProperty
in interface Edge
public boolean isProperty()
isProperty
in interface Edge
public boolean isRelationship()
isRelationship
in interface Edge
public Node getEnd()
getEnd
in interface Relationship
public Node getOtherNode(Node n)
getOtherNode
in interface Relationship
public String getRelationshipType()
getRelationshipType
in interface Relationship
public boolean isSelfLoop(Node node)
isSelfLoop
in interface Relationship
public boolean isIncidentOn(Node n)
isIncidentOn
in interface Edge
public Collection<? extends Node> getNodes()
public void delete()
delete
in interface Node
delete
in class MemoryNode
Copyright © 2018 University of California, Santa Cruz. All rights reserved.