| Constructor and Description |
|---|
AbstractEdge(Node source,
Node target,
Graph graph)
Edges should know their source and target nodes, and their graph.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Does nothing yet.
|
boolean |
equals(Object obj) |
Graph |
getGraph()
Every graph object should have an owner graph.
|
String |
getKey()
This method is used for storing the object in a Map.
|
int |
getSign()
Edges are positive by default.
|
Node |
getSourceNode() |
Node |
getTargetNode() |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisTranscriptionpublic Node getTargetNode()
getTargetNode in interface Edgepublic Node getSourceNode()
getSourceNode in interface Edgepublic Graph getGraph()
GraphObjectgetGraph in interface GraphObjectpublic String getKey()
GraphObjectgetKey in interface GraphObjectpublic int getSign()
public void clear()
clear in interface GraphObjectCopyright © 2015 BioPAX. All rights reserved.