public class SQLDirectoryDescriptor extends BaseDirectoryDescriptor
BaseDirectoryDescriptor.SubstringMatchType
Modifier and Type | Field and Description |
---|---|
String |
dataSourceName |
Boolean |
nativeCase |
static int |
QUERY_SIZE_LIMIT_DEFAULT |
AUTO_INCREMENT_ID_FIELD_DEFAULT, autoincrementIdField, CACHE_MAX_SIZE_DEFAULT, CACHE_TIMEOUT_DEFAULT, cacheEntryName, cacheEntryWithoutReferencesName, cacheMaxSize, cacheTimeout, CREATE_TABLE_POLICIES, CREATE_TABLE_POLICY_ALWAYS, CREATE_TABLE_POLICY_DEFAULT, CREATE_TABLE_POLICY_NEVER, CREATE_TABLE_POLICY_ON_MISSING_COLUMNS, createTablePolicy, dataFileCharacterSeparator, dataFileName, DEFAULT_DATA_FILE_CHARACTER_SEPARATOR, extendz, idField, name, negativeCaching, parentDirectory, passwordField, passwordHashAlgorithm, permissions, READ_ONLY_DEFAULT, readOnly, remove, schemaName, SUBSTRING_MATCH_TYPE_DEFAULT, substringMatchType, tableName, template, types
Constructor and Description |
---|
SQLDirectoryDescriptor() |
Modifier and Type | Method and Description |
---|---|
SQLDirectoryDescriptor |
clone()
Sub-classes MUST OVERRIDE and use a more specific return type.
|
String |
getDataSourceName() |
Reference[] |
getInverseReferences() |
int |
getQuerySizeLimit() |
SQLStaticFilter[] |
getStaticFilters() |
Reference[] |
getTableReferences() |
boolean |
isComputeMultiTenantId()
Returns
true if a multi tenant id should be computed for this directory, if the directory has support for
multi tenancy, false otherwise. |
void |
merge(BaseDirectoryDescriptor other) |
protected void |
merge(SQLDirectoryDescriptor other) |
SQLDirectory |
newDirectory()
Creates a new
Directory instance from this {@link DirectoryDescriptor). |
void |
setDataSourceName(String dataSourceName) |
void |
setInverseReferences(InverseReference[] inverseReferences) |
void |
setQuerySizeLimit(int querySizeLimit) |
void |
setTableReferences(TableReference[] tableReferences) |
getCacheMaxSize, getCacheTimeout, getCreateTablePolicy, getDataFileCharacterSeparator, getDataFileName, getDeleteConstraints, getSubstringMatchType, isAutoincrementIdField, isReadOnly, setAutoincrementIdField, setReadOnly
public static final int QUERY_SIZE_LIMIT_DEFAULT
public String dataSourceName
public Boolean nativeCase
public SQLDirectoryDescriptor()
public String getDataSourceName()
public void setDataSourceName(String dataSourceName)
public Reference[] getInverseReferences()
public Reference[] getTableReferences()
public void setInverseReferences(InverseReference[] inverseReferences)
public void setTableReferences(TableReference[] tableReferences)
public int getQuerySizeLimit()
public void setQuerySizeLimit(int querySizeLimit)
public SQLStaticFilter[] getStaticFilters()
public boolean isComputeMultiTenantId()
true
if a multi tenant id should be computed for this directory, if the directory has support for
multi tenancy, false
otherwise.public void merge(BaseDirectoryDescriptor other)
merge
in class BaseDirectoryDescriptor
protected void merge(SQLDirectoryDescriptor other)
public SQLDirectoryDescriptor clone()
BaseDirectoryDescriptor
Usually it's bad to use clone(), and a copy-constructor is preferred, but here we want the copy method to be inheritable so clone() is appropriate.
clone
in class BaseDirectoryDescriptor
public SQLDirectory newDirectory()
BaseDirectoryDescriptor
Directory
instance from this {@link DirectoryDescriptor).newDirectory
in class BaseDirectoryDescriptor
Copyright © 2016 Nuxeo SA. All rights reserved.