org.openanzo.server.repository.rdb
Class RepositoryConnectionConfiguration

java.lang.Object
  extended by org.openanzo.common.rdb.container.CoreDBConfiguration
      extended by org.openanzo.server.repository.rdb.RepositoryConnectionConfiguration

public class RepositoryConnectionConfiguration
extends CoreDBConfiguration

Store configuration about RepositoryConnection

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Constructor Summary
RepositoryConnectionConfiguration(java.util.Properties oldProperties)
          Create a new RepositoryConnectionConfiguration using the provided properties
 
Method Summary
 java.lang.String getIndexFactory()
          Get the indexer factory class name
 java.lang.String getIndexLocation()
          Get the index location
 int getIndexPageSize()
          Get the index page size
 java.lang.String getRdfInitFile()
          Get the RDF initialization file name
 boolean isIndexEnabled()
          Get if indexing is enabled
 void setIndexEnabled(boolean indexEnabled)
          Set if indexing is enabled
 void setIndexFactory(java.lang.String indexFactory)
          Set the indexer factory class name
 void setIndexLocation(java.lang.String indexLocation)
          Set the indexLocation
 void setIndexPageSize(int indexPageSize)
          Set the index page size
 void setRdfInitFile(java.lang.String rdfInitFile)
          Set the the RDF initialization file name
 
Methods inherited from class org.openanzo.common.rdb.container.CoreDBConfiguration
getBigInt, getClearOnStartup, getDBContainerName, getDriverClassName, getDropExtras, getFileLocation, getForceTempCreation, getForceTempTablePurge, getIndexSuffix, getJdbcUrl, getLiteralFalse, getLiteralTrue, getMaxIndexKeyLength, getMaxLongObjectLength, getMaxTablenameLength, getNodeCacheSize, getOptimizationString, getPassword, getQuoteChar, getRequiresUniqueTempNames, getSessionPrefix, getSmallInt, getSqlFilename, getSupportsFullouterJoins, getSupportsIsolation, getSupportsSequences, getSupportsTableLocks, getSupportsTableUnLocks, getSupportsTempForInsert, getSupportsTempOnFind, getSupportsWithClause, getTableCreateExtras, getTableLocksExtras, getTextFieldExtras, getType, getUniqueTempName, getUrlPostfix, getUrlPrefix, getUser, getUsesUppercase, getUsesUppercaseTempTables, getVarChar, setClearOnStartup, setDBContainerName, setDriverClassName, setDropExtras, setFileLocation, setForceTempCreation, setForceTempTablePurge, setJBDCUrl, setLiteralFalse, setLiteralTrue, setMaxIndexKeyLength, setMaxLongObjectLength, setMaxTablenameLength, setNodeCacheSize, setOptimizationString, setPassword, setQuoteChar, setRequiresUniqueTempNames, setSessionPrefix, setSqlFilename, setSupportsFullouterJoins, setSupportsSequences, setSupportsTableLocks, setSupportsTableUnLocks, setSupportsTempForInsert, setSupportsTempOnFind, setSupportsWithClause, setTableCreateExtras, setTableLocksExtras, setTextFieldExtras, setType, setUrlPostfix, setUrlPrefix, setUser, setUsesUppercase, setUsesUppercaseTempTables
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryConnectionConfiguration

public RepositoryConnectionConfiguration(java.util.Properties oldProperties)
Create a new RepositoryConnectionConfiguration using the provided properties

Parameters:
oldProperties - properties with which to initialize configuration values
Method Detail

getIndexFactory

public java.lang.String getIndexFactory()
Get the indexer factory class name

Returns:
the indexer factory class name

setIndexFactory

public void setIndexFactory(java.lang.String indexFactory)
Set the indexer factory class name

Parameters:
indexFactory - the indexer factory class name

getIndexPageSize

public int getIndexPageSize()
Get the index page size

Returns:
the index page size

setIndexPageSize

public void setIndexPageSize(int indexPageSize)
Set the index page size

Parameters:
indexPageSize - the index Page Size

isIndexEnabled

public boolean isIndexEnabled()
Get if indexing is enabled

Returns:
if indexing is enabled

setIndexEnabled

public void setIndexEnabled(boolean indexEnabled)
Set if indexing is enabled

Parameters:
indexEnabled - the indexEnabled to set

getIndexLocation

public java.lang.String getIndexLocation()
Get the index location

Returns:
the indexLocation

setIndexLocation

public void setIndexLocation(java.lang.String indexLocation)
Set the indexLocation

Parameters:
indexLocation - the indexLocation to set

getRdfInitFile

public java.lang.String getRdfInitFile()
Get the RDF initialization file name

Returns:
the RDF initialization file name

setRdfInitFile

public void setRdfInitFile(java.lang.String rdfInitFile)
Set the the RDF initialization file name

Parameters:
rdfInitFile - RDF initialization file name


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