org.openanzo.server.repository.structures
Class ACI.Factory

java.lang.Object
  extended by org.openanzo.server.repository.structures.ACI.Factory
All Implemented Interfaces:
CachableResourceFactory<ACI>
Enclosing class:
ACI

public static class ACI.Factory
extends java.lang.Object
implements CachableResourceFactory<ACI>

Static factory to create ACI objects


Constructor Summary
ACI.Factory()
           
 
Method Summary
 ACI getResource(RepositoryConnection repositoryConnection, java.lang.Long id, boolean forceCreate)
          Creates an instance of a CachableResource via Id lookup.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACI.Factory

public ACI.Factory()
Method Detail

getResource

public ACI getResource(RepositoryConnection repositoryConnection,
                       java.lang.Long id,
                       boolean forceCreate)
                throws AnzoException
Description copied from interface: CachableResourceFactory
Creates an instance of a CachableResource via Id lookup.

Specified by:
getResource in interface CachableResourceFactory<ACI>
Parameters:
repositoryConnection - RepositoryConnection to run queries against
id - Unique id of the resource to fetch
forceCreate - Create resource if not present
Returns:
an instance of a cached object
Throws:
AnzoException


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