Package com.saperion.intf
Interface DDC
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DDCImpl
Represents a DDC in the SAPERION system.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
DDC-kinds.static enum
DDC tenant modes. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the datasource this DDC is located in.Returns the type of the datasource this DDC is located in.Returns the kind of the DDC.Returns a map containing information about the fields of this DDC.getName()
Returns the name of this DDC.Returns the name of the hibernate entity corresponding to this DDC.Returns the tenant-mode of the table.int
boolean
-
Method Details
-
getName
String getName()Returns the name of this DDC.- Returns:
- DDC-name
-
getTableName
String getTableName()Returns the name of the hibernate entity corresponding to this DDC.- Returns:
- the name of the hibernate entity corresponding to this DDC
-
getDataSourceType
SQLType getDataSourceType()Returns the type of the datasource this DDC is located in. SeeSQLType
.- Returns:
- type of this DDC's datasource
-
getDataSourceName
String getDataSourceName()Returns the name of the datasource this DDC is located in.- Returns:
- name of this DDC's datasource
-
getDDCKind
DDC.DDCKind getDDCKind()Returns the kind of the DDC. SeeDDC.DDCKind
.- Returns:
- ddc-kind
-
getTenantMode
DDC.TenantMode getTenantMode()Returns the tenant-mode of the table. SeeDDC.TenantMode
.- Returns:
- tenant-mode
-
getFields
Map<String,SaFieldDescription> getFields()Returns a map containing information about the fields of this DDC. The fields are mapped by their name in upper-case.- Returns:
- map of fields
-
getFieldList
List<SaFieldDescription> getFieldList()- Returns:
- the fields of this definition in the order they are defined
-
isOnDefaultDataSource
boolean isOnDefaultDataSource()- Returns:
- true if this DDC is located on the default data-source of the system
-
getVersion
int getVersion()- Returns:
- the version of the DDC
-
getAuditTable
String getAuditTable()
-