public class DDCImpl extends Object implements DDC
DDC.DDC.DDCKind, DDC.TenantMode| Constructor and Description |
|---|
DDCImpl(String definitionName,
String tableName,
SQLType dataSourceType,
String dataSourceName,
boolean onDefaultDataSource,
DDC.DDCKind ddcKind,
DDC.TenantMode tenantMode,
SaFieldDescription[] descriptions)
Creates a new DDCImpl.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDataSourceName()
Returns the name of the datasource this DDC is located in.
|
SQLType |
getDataSourceType()
Returns the type of the datasource this DDC is located in.
|
DDC.DDCKind |
getDDCKind()
Returns the kind of the DDC.
|
List<SaFieldDescription> |
getFieldList() |
Map<String,SaFieldDescription> |
getFields()
Returns a map containing information about the fields of this DDC.
|
String |
getName()
Returns the name of this DDC.
|
String |
getTableName()
Returns the name of the hibernate entity corresponding to this DDC.
|
DDC.TenantMode |
getTenantMode()
Returns the tenant-mode of the table.
|
int |
getVersion() |
boolean |
isOnDefaultDataSource() |
void |
setVersion(int version)
Sets the version.
|
public DDCImpl(String definitionName, String tableName, SQLType dataSourceType, String dataSourceName, boolean onDefaultDataSource, DDC.DDCKind ddcKind, DDC.TenantMode tenantMode, SaFieldDescription[] descriptions)
definitionName - name of the DDCtableName - name of the database tabledataSourceType - type of the data-sourcedataSourceName - name of the data-sourceddcKind - kind of the DDCtenantMode - tenant mode of the DDCdescriptions - fields of the DDCpublic String getName()
DDCpublic String getTableName()
DDCgetTableName in interface DDCpublic SQLType getDataSourceType()
DDCSQLType.getDataSourceType in interface DDCpublic String getDataSourceName()
DDCgetDataSourceName in interface DDCpublic DDC.DDCKind getDDCKind()
DDCDDC.DDCKind.getDDCKind in interface DDCpublic DDC.TenantMode getTenantMode()
DDCDDC.TenantMode.getTenantMode in interface DDCpublic Map<String,SaFieldDescription> getFields()
DDCpublic List<SaFieldDescription> getFieldList()
getFieldList in interface DDCpublic boolean isOnDefaultDataSource()
isOnDefaultDataSource in interface DDCpublic int getVersion()
getVersion in interface DDCpublic void setVersion(int version)
version - the version of the DDC.Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.