public interface MasterDataModel extends DataObjectModel
Modifier and Type | Method and Description |
---|---|
String |
getDefaultLocale()
Returns the default locale used for resolving default entry names within this master data definition.
|
List<MasterDataFilterParameter> |
getFilterParameters()
Returns an optional list of filter parameters needed when looking up entries based on this master data definition.
|
String |
getIdField()
Returns the id field name that uniquely identifies the master data instance
|
String |
getKeyField()
Returns the key field name that references the master data instance
|
Map<String,List<String>> |
getManagementCapabilities()
Returns a map containing the capabilities for a management tool defined for this master data definition.
|
String |
getMasterDataSourceId()
Returns the id of the source this master data definition and its entries is served from.
|
String |
getNameField()
Returns the name field name that can be used as a label for the master data instance
|
Map<String,String> |
getVariables()
Returns the field name of each additional variable for the master data instance
|
boolean |
isSupportsNameFiltering()
Returns
true if this master data definition supports name filtering for master data entries or false if filtering for names
should be done by the DataObjectRepositoryService instead. |
getDataObjectType, getDescription, getExternalId, getKey, getName, getSourceId, getSourceSpecificAttributes, getSourceType, getSubType, getSupportedCachingType, getType
String getMasterDataSourceId()
Map<String,List<String>> getManagementCapabilities()
for a list of available and supported types
List<MasterDataFilterParameter> getFilterParameters()
String getDefaultLocale()
boolean isSupportsNameFiltering()
true
if this master data definition supports name filtering for master data entries or false
if filtering for names
should be done by the DataObjectRepositoryService
instead. If this is a master data definition using an external system as its source, it might not
support name filtering thus the filtering must be done at service level and cannot be done within the source.true
if name filtering is supported by this definition, false
if filtering should take place on service levelString getKeyField()
String getIdField()
String getNameField()