edu.iastate.metnet.graphmodel
Class VersionGraphModel

java.lang.Object
  extended by org._3pq.jgrapht.graph.AbstractGraph
      extended by org._3pq.jgrapht.graph.GraphDelegator
          extended by org._3pq.jgrapht.graph.DefaultListenableGraph
              extended by org._3pq.jgrapht.graph.ListenableDirectedGraph
                  extended by edu.iastate.metnet.graphmodel.VersionGraphModel
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org._3pq.jgrapht.DirectedGraph, org._3pq.jgrapht.Graph, org._3pq.jgrapht.ListenableGraph

public class VersionGraphModel
extends org._3pq.jgrapht.graph.ListenableDirectedGraph

hold the version graph model through jgrapht

Author:
Jie Li
See Also:
Serialized Form

Field Summary
(package private) static org.apache.log4j.Logger logger
          log4j facility
(package private)  MyVersionGraph myVersionGraph
          version graph structure
 
Constructor Summary
VersionGraphModel()
          default constructor
VersionGraphModel(MyVersionGraph versionGraph)
          constructor
 
Method Summary
 MyVersionGraph getMyVersionGraph()
          get the version graph structure
 void setMyVersionGraph(MyVersionGraph myVersionGraph)
          set the version graph structure
 
Methods inherited from class org._3pq.jgrapht.graph.DefaultListenableGraph
addEdge, addEdge, addGraphListener, addVertex, addVertexSetListener, clone, fireEdgeAdded, fireEdgeRemoved, fireVertexAdded, fireVertexRemoved, isReuseEvents, removeEdge, removeEdge, removeGraphListener, removeVertex, removeVertexSetListener, setReuseEvents
 
Methods inherited from class org._3pq.jgrapht.graph.GraphDelegator
containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, toString, vertexSet
 
Methods inherited from class org._3pq.jgrapht.graph.AbstractGraph
addAllEdges, addAllVertices, assertVertexExist, containsEdge, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toStringFromSets
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org._3pq.jgrapht.DirectedGraph
incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf
 
Methods inherited from interface org._3pq.jgrapht.Graph
addAllEdges, addAllVertices, addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet
 

Field Detail

logger

static org.apache.log4j.Logger logger
log4j facility


myVersionGraph

MyVersionGraph myVersionGraph
version graph structure

Constructor Detail

VersionGraphModel

public VersionGraphModel()
default constructor


VersionGraphModel

public VersionGraphModel(MyVersionGraph versionGraph)
constructor

Parameters:
versionGraph - the graph data structure
Method Detail

getMyVersionGraph

public MyVersionGraph getMyVersionGraph()
get the version graph structure

Returns:
the version graph strcture

setMyVersionGraph

public void setMyVersionGraph(MyVersionGraph myVersionGraph)
set the version graph structure

Parameters:
myVersionGraph - the graph structure to be set