Package org.biopax.paxtools.query.model
Interface GraphObject
- All Known Implementing Classes:
AbstractEdge,AbstractNode,ControlWrapper,ControlWrapper,ConversionWrapper,EdgeL3,EdgeL3,EventWrapper,EventWrapper,InteractionWrapper,PhysicalEntityWrapper,PhysicalEntityWrapper,TemplateReactionWrapper
public interface GraphObject
A graph object is the common interface for nodes and edges in a graph.
- Author:
- Ozgun Babur
-
Method Summary
-
Method Details
-
getGraph
Graph getGraph()Every graph object should have an owner graph.- Returns:
- The owner graph
-
getKey
String getKey()This method is used for storing the object in a Map. The key should be uniquely generated for each edge in a graph.- Returns:
- The key
-
clear
void clear()This method should clear any analysis specific labels on the object.
-