Package com.saperion.intf
Interface DDC
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
DDCImpl
public interface DDC extends java.io.Serializable
Represents a DDC in the SAPERION system.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DDC.DDCKind
DDC-kinds.static class
DDC.TenantMode
DDC tenant modes.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAuditTable()
java.lang.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.java.util.List<SaFieldDescription>
getFieldList()
java.util.Map<java.lang.String,SaFieldDescription>
getFields()
Returns a map containing information about the fields of this DDC.java.lang.String
getName()
Returns the name of this DDC.java.lang.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()
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name of this DDC.- Returns:
- DDC-name
-
getTableName
java.lang.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
java.lang.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
java.util.Map<java.lang.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
java.util.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
java.lang.String getAuditTable()
-
-