org.openanzo.model.replica
Class EditorGraphFactory

java.lang.Object
  extended by org.openanzo.model.replica.EditorGraphFactory

public class EditorGraphFactory
extends java.lang.Object

Create a graph that has a replica between the parent graph and a transaction queue.

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Constructor Summary
EditorGraphFactory()
           
 
Method Summary
static ITransactionGraph createEditorGraph(INamedGraph parentGraph, boolean isMetadataGraph)
          Create a new graph that has a conflict detection graph and transaction layer on top of the parent graph
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditorGraphFactory

public EditorGraphFactory()
Method Detail

createEditorGraph

public static ITransactionGraph createEditorGraph(INamedGraph parentGraph,
                                                  boolean isMetadataGraph)
Create a new graph that has a conflict detection graph and transaction layer on top of the parent graph

Parameters:
parentGraph - graph to layer upon
isMetadataGraph - is the parent graph a metadata graph
Returns:
new graph with the added layers


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.