com.tensegrity.graph.persistence
Class GraphModelPersistenceFactory

java.lang.Object
  extended bycom.tensegrity.graph.persistence.GraphModelPersistenceFactory

public abstract class GraphModelPersistenceFactory
extends java.lang.Object

TODO: comment

Version:
$Id: GraphModelPersistenceFactory.java,v 1.1 2005/04/07 12:46:33 MichaelKegel Exp $
Author:
MKegel

Constructor Summary
GraphModelPersistenceFactory()
           
 
Method Summary
abstract  Builder newEdgeBuilder(com.tensegrity.graph.defaultview.InternalIDPool poolIDs)
           
abstract  Serializer newEdgeSerializer(Edge edge, com.tensegrity.graph.defaultview.InternalIDPool poolIDs)
           
static GraphModelPersistenceFactory newInstance()
          This method creates a new instance of the actual GraphModelPersistenceFactory implementation.
abstract  Builder newNodeBuilder(com.tensegrity.graph.defaultview.InternalIDPool poolIDs)
           
abstract  Serializer newNodeSerializer(Node node, com.tensegrity.graph.defaultview.InternalIDPool poolIDs)
           
abstract  Builder newSubgraphBuilder(com.tensegrity.graph.defaultview.InternalIDPool poolIDs)
           
abstract  Serializer newSubgraphSerializer(Subgraph subgraph, com.tensegrity.graph.defaultview.InternalIDPool poolIDs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphModelPersistenceFactory

public GraphModelPersistenceFactory()
Method Detail

newEdgeSerializer

public abstract Serializer newEdgeSerializer(Edge edge,
                                             com.tensegrity.graph.defaultview.InternalIDPool poolIDs)

newEdgeBuilder

public abstract Builder newEdgeBuilder(com.tensegrity.graph.defaultview.InternalIDPool poolIDs)

newNodeSerializer

public abstract Serializer newNodeSerializer(Node node,
                                             com.tensegrity.graph.defaultview.InternalIDPool poolIDs)

newNodeBuilder

public abstract Builder newNodeBuilder(com.tensegrity.graph.defaultview.InternalIDPool poolIDs)

newSubgraphSerializer

public abstract Serializer newSubgraphSerializer(Subgraph subgraph,
                                                 com.tensegrity.graph.defaultview.InternalIDPool poolIDs)

newSubgraphBuilder

public abstract Builder newSubgraphBuilder(com.tensegrity.graph.defaultview.InternalIDPool poolIDs)

newInstance

public static GraphModelPersistenceFactory newInstance()
This method creates a new instance of the actual GraphModelPersistenceFactory implementation.

Returns:
the GraphModelPersistenceFactory. instance
Throws:
FactoryConfigurationError - is thrown whenever something goes wrong. For instance, there is no factory classname found or the factory class itself is not found or not accessible and so on


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.