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.
|
DDCImpl(String definitionName,
String tableName,
SQLType dataSourceType,
String dataSourceName,
boolean onDefaultDataSource,
DDC.DDCKind ddcKind,
DDC.TenantMode tenantMode,
SaFieldDescription[] descriptions,
String auditTable)
Creates a new DDCImpl.
|
Modifier and Type | Method and Description |
---|---|
String |
getAuditTable() |
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.
|
String |
toString() |
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 DDCImpl(String definitionName, String tableName, SQLType dataSourceType, String dataSourceName, boolean onDefaultDataSource, DDC.DDCKind ddcKind, DDC.TenantMode tenantMode, SaFieldDescription[] descriptions, String auditTable)
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 DDCauditTable
- name of the associated audit tablepublic String getAuditTable()
getAuditTable
in interface DDC
public String getName()
DDC
public String getTableName()
DDC
getTableName
in interface DDC
public SQLType getDataSourceType()
DDC
SQLType
.getDataSourceType
in interface DDC
public String getDataSourceName()
DDC
getDataSourceName
in interface DDC
public DDC.DDCKind getDDCKind()
DDC
DDC.DDCKind
.getDDCKind
in interface DDC
public DDC.TenantMode getTenantMode()
DDC
DDC.TenantMode
.getTenantMode
in interface DDC
public Map<String,SaFieldDescription> getFields()
DDC
public List<SaFieldDescription> getFieldList()
getFieldList
in interface DDC
public boolean isOnDefaultDataSource()
isOnDefaultDataSource
in interface DDC
public int getVersion()
getVersion
in interface DDC
public void setVersion(int version)
version
- the version of the DDC.Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.