org.openanzo.client
Class LocalGraph

java.lang.Object
  extended by org.openanzo.model.proxy.ProxyGraph
      extended by org.openanzo.model.proxy.NamedGraphWithMetaData<INamedGraph>
          extended by org.openanzo.client.NamedGraphBase
              extended by org.openanzo.client.LocalGraph
All Implemented Interfaces:
INamedGraph, INamedGraphWithMetaData, IProxyGraph

public class LocalGraph
extends NamedGraphBase

The underlying graph implementation for local models. Caches tracked statements (and other data) locally to avoid server transactions for every graph operation.

Author:
Christopher R. Vincent, Jordi A. Albornoz Mulligan, Matthew Roy ( mroy@cambridgesemantics.com )

Method Summary
 void close()
          Close the graph.
 INamedGraphEventManager getEventManager()
          Return INamedGraphEventManager for this graph
 
Methods inherited from class org.openanzo.client.NamedGraphBase
add, clear, delete, getDataSetService, getMetaDataGraph, getParentGraph, getTransactionQueueHandler, getUsageCount, isClosed
 
Methods inherited from class org.openanzo.model.proxy.NamedGraphWithMetaData
createDefault, getNamedGraphUri, setNamedGraphUri, toString
 
Methods inherited from class org.openanzo.model.proxy.ProxyGraph
add, add, contains, contains, delete, delete, find, getStatements, getTransactionManager, isEmpty, size
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openanzo.model.INamedGraph
add, add, contains, contains, delete, delete, find, getStatements, getTransactionManager, isEmpty, size
 

Method Detail

close

public void close()
Description copied from interface: INamedGraph
Close the graph.

Specified by:
close in interface INamedGraph
Overrides:
close in class ProxyGraph

getEventManager

public INamedGraphEventManager getEventManager()
Description copied from interface: INamedGraph
Return INamedGraphEventManager for this graph

Specified by:
getEventManager in interface INamedGraph
Overrides:
getEventManager in class ProxyGraph
Returns:
INamedGraphEventManager for this graph


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