public class StoreMapping extends Object implements MappingConfiguration
| Modifier and Type | Method and Description |
|---|---|
void |
addTable(TableMapping tableConfig)
Adds the given configuration
|
void |
addTableIfNotExists(TableMapping tableConfig)
Adds the given configuration if not already exists
|
DataGraphMapping |
findDataGraph(QName typeName,
StoreMappingContext context)
Returns a data graph config for the given qualified SDO Type name or null
of not exists.
|
Property |
findProperty(String name) |
TableMapping |
findTable(QName typeName,
StoreMappingContext context)
Returns a table configuration for the given qualified SDO Type name or null
if not found.
|
TableMapping |
findTable(commonj.sdo.Type type,
StoreMappingContext context)
Returns a table configuration for the given SDO Type or null if not found.
|
TableMapping |
findTableByQualifiedLogicalName(String qualifiedLogicaltableName,
StoreMappingContext context)
Returns a table configuration based on the given table name.
|
Charset |
getCharset() |
ConfigProperties |
getConfigProperties() |
DataGraphMapping |
getDataGraph(QName typeName,
StoreMappingContext context)
Returns a data graph mapping for the given qualified SDO Type name.
|
List<TableMapping> |
getDynamicTables(StoreMappingContext context)
Returns all tables dynamically defined, that is those tables defined
dynamically at runtime
|
static MappingConfiguration |
getInstance() |
List<Property> |
getProperties() |
List<TableMapping> |
getStaticTables(StoreMappingContext context)
Returns all tables not dynamically defined, that is those tables defined
within a static mapping resource / file.
|
TableMapping |
getTable(QName typeName,
StoreMappingContext context)
Returns a table configuration for the given qualified SDO Type name.
|
TableMapping |
getTable(commonj.sdo.Type type,
StoreMappingContext context)
Returns a table configuration for the given SDO Type.
|
TableMapping |
getTableByQualifiedLogicalName(String qualifiedLogicalTableName,
StoreMappingContext context)
Returns a table mapping based on the given table name.
|
void |
marshal(OutputStream stream) |
boolean |
optimisticConcurrency() |
void |
removeTable(TableMapping tableConfig)
Adds the given configuration
|
void |
removeTableIfExists(TableMapping tableConfig)
Adds the given configuration if exists
|
String |
tableNamespaceRoot() |
String |
tableVolumeName() |
boolean |
tombstoneRows() |
boolean |
tombstoneRowsOverwriteable() |
boolean |
uniqueChecks() |
public void marshal(OutputStream stream)
marshal in interface MappingConfigurationpublic static MappingConfiguration getInstance() throws StoreMappingException
StoreMappingExceptionpublic ConfigProperties getConfigProperties()
getConfigProperties in interface MappingConfigurationpublic List<Property> getProperties()
getProperties in interface MappingConfigurationpublic Property findProperty(String name)
findProperty in interface MappingConfigurationpublic List<TableMapping> getStaticTables(StoreMappingContext context)
MappingConfigurationgetStaticTables in interface MappingConfigurationcontext - the mapping contextpublic List<TableMapping> getDynamicTables(StoreMappingContext context)
MappingConfigurationgetDynamicTables in interface MappingConfigurationcontext - the mapping contextpublic TableMapping findTable(QName typeName, StoreMappingContext context)
MappingConfigurationfindTable in interface MappingConfigurationtypeName - the qualified name of an SDO Typepublic TableMapping getTable(QName typeName, StoreMappingContext context)
MappingConfigurationgetTable in interface MappingConfigurationtypeName - the qualified name of an SDO Typepublic TableMapping findTable(commonj.sdo.Type type, StoreMappingContext context)
MappingConfigurationfindTable in interface MappingConfigurationtype - the SDO Typepublic TableMapping getTable(commonj.sdo.Type type, StoreMappingContext context)
MappingConfigurationgetTable in interface MappingConfigurationtype - the SDO Typepublic TableMapping findTableByQualifiedLogicalName(String qualifiedLogicaltableName, StoreMappingContext context)
MappingConfigurationfindTableByQualifiedLogicalName in interface MappingConfigurationqualifiedLogicaltableName - the table name or null if not found.public TableMapping getTableByQualifiedLogicalName(String qualifiedLogicalTableName, StoreMappingContext context)
MappingConfigurationgetTableByQualifiedLogicalName in interface MappingConfigurationpublic void addTable(TableMapping tableConfig)
MappingConfigurationaddTable in interface MappingConfigurationtableConfig - the table configurationpublic void addTableIfNotExists(TableMapping tableConfig)
MappingConfigurationaddTableIfNotExists in interface MappingConfigurationtableConfig - the table configurationpublic void removeTable(TableMapping tableConfig)
MappingConfigurationremoveTable in interface MappingConfigurationtableConfig - the table configurationpublic void removeTableIfExists(TableMapping tableConfig)
MappingConfigurationremoveTableIfExists in interface MappingConfigurationtableConfig - the table configurationpublic DataGraphMapping findDataGraph(QName typeName, StoreMappingContext context)
MappingConfigurationfindDataGraph in interface MappingConfigurationpublic DataGraphMapping getDataGraph(QName typeName, StoreMappingContext context)
MappingConfigurationgetDataGraph in interface MappingConfigurationpublic Charset getCharset()
getCharset in interface MappingConfigurationpublic boolean uniqueChecks()
uniqueChecks in interface MappingConfigurationpublic boolean tombstoneRows()
tombstoneRows in interface MappingConfigurationpublic boolean tombstoneRowsOverwriteable()
tombstoneRowsOverwriteable in interface MappingConfigurationpublic String tableVolumeName()
tableVolumeName in interface MappingConfigurationpublic String tableNamespaceRoot()
tableNamespaceRoot in interface MappingConfigurationpublic boolean optimisticConcurrency()
optimisticConcurrency in interface MappingConfigurationCopyright © 2024. All Rights Reserved.