Class DataObjectDataDictionarySession.DataObjectObjectModelWithEffectiveFieldMappings
java.lang.Object
com.flowable.dataobject.engine.impl.runtime.datasource.DataObjectDataDictionarySession.DataObjectObjectModelWithEffectiveFieldMappings
- All Implemented Interfaces:
DataObjectModel
,ServiceRegistryDataObjectModel
- Enclosing class:
- DataObjectDataDictionarySession
protected static class DataObjectDataDictionarySession.DataObjectObjectModelWithEffectiveFieldMappings
extends Object
implements ServiceRegistryDataObjectModel
A delegate data object model, which is used to hold enriched field mappings derived from the data dictionary information.
-
Field Summary
Modifier and TypeFieldDescriptionprotected ServiceRegistryDataObjectModel
protected List<ServiceRegistryFieldMapping>
-
Constructor Summary
ModifierConstructorDescriptionprotected
DataObjectObjectModelWithEffectiveFieldMappings
(ServiceRegistryDataObjectModel delegate, List<ServiceRegistryFieldMapping> effectiveFieldMappings) -
Method Summary
Modifier and TypeMethodDescriptionThe type name from the referenced data dictionary model.Returns the data object definition type, which can be for example masterData or dataObject.The identity links for the data object model.Returns the optional description of this data object definition which might contain additional information around the data objects described by this definition.Returns the optional external id for this data object definition, if any, otherwise null will be returned.Flag indicating that instance level permissions should not be done for this data object model.The identity links that should be added for every newly created data object instancegetKey()
Returns the key for this data object definition which must be unique, but is human-readable normally and must be the same across environments for the same data object definition.getName()
Returns the name of this data object definition which is usually used as the label.A data object can have a reference to a data dictionary type to inherit fields.The key of the service definition model.Returns the id of the source for this data object definition.Returns a map of source specific attributes for this data object model.Returns the type of the source for this data object definition.The sub type further categorizes this data object definition (see type for more information and examples).Returns the supported caching type for the master data entries based on this definition.getType()
The type of this data object definition, normally used to kind of categorize data object definitions (e.g.
-
Field Details
-
delegate
-
effectiveFieldMappings
-
-
Constructor Details
-
DataObjectObjectModelWithEffectiveFieldMappings
protected DataObjectObjectModelWithEffectiveFieldMappings(ServiceRegistryDataObjectModel delegate, List<ServiceRegistryFieldMapping> effectiveFieldMappings)
-
-
Method Details
-
getKey
Description copied from interface:DataObjectModel
Returns the key for this data object definition which must be unique, but is human-readable normally and must be the same across environments for the same data object definition.- Specified by:
getKey
in interfaceDataObjectModel
- Returns:
- the key for this data object definition
-
getName
Description copied from interface:DataObjectModel
Returns the name of this data object definition which is usually used as the label.- Specified by:
getName
in interfaceDataObjectModel
- Returns:
- the name of this data object definition
-
getDataObjectType
Description copied from interface:DataObjectModel
Returns the data object definition type, which can be for example masterData or dataObject.- Specified by:
getDataObjectType
in interfaceDataObjectModel
- Returns:
- the data object type of this data object definition
- See Also:
-
getDescription
Description copied from interface:DataObjectModel
Returns the optional description of this data object definition which might contain additional information around the data objects described by this definition.- Specified by:
getDescription
in interfaceDataObjectModel
- Returns:
- the optional description of the master data definition, might be null
-
getType
Description copied from interface:DataObjectModel
The type of this data object definition, normally used to kind of categorize data object definitions (e.g. the type might be 'masterData' and the sub type might then reflect another sub type of master data like 'internal' or 'SAP' or whatever makes sense for categorization.- Specified by:
getType
in interfaceDataObjectModel
- Returns:
- the type of this data object definition
-
getSubType
Description copied from interface:DataObjectModel
The sub type further categorizes this data object definition (see type for more information and examples).- Specified by:
getSubType
in interfaceDataObjectModel
- Returns:
- the sub type of this data object description
-
getSourceId
Description copied from interface:DataObjectModel
Returns the id of the source for this data object definition.- Specified by:
getSourceId
in interfaceDataObjectModel
- Returns:
- the id of the source supporting this data objects
-
getSourceType
Description copied from interface:DataObjectModel
Returns the type of the source for this data object definition.- Specified by:
getSourceType
in interfaceDataObjectModel
- Returns:
- the type of the source supporting this data objects
- See Also:
-
getExternalId
Description copied from interface:DataObjectModel
Returns the optional external id for this data object definition, if any, otherwise null will be returned. You can use the external id to map anything you need if this data object definition is actually referencing an external system source.- Specified by:
getExternalId
in interfaceDataObjectModel
- Returns:
- the optional external id for this data object definition or null if none available
-
getSupportedCachingType
Description copied from interface:DataObjectModel
Returns the supported caching type for the master data entries based on this definition. This is typically helpful for external sources of master data but can also be used for internally managed data to support mem based caching for instance.- Specified by:
getSupportedCachingType
in interfaceDataObjectModel
- Returns:
- the supported caching type
- See Also:
-
getSourceSpecificAttributes
Description copied from interface:DataObjectModel
Returns a map of source specific attributes for this data object model. The attributes are depending on the data source handling this data object.- Specified by:
getSourceSpecificAttributes
in interfaceDataObjectModel
- Returns:
- the optional map of data source specific attributes
-
getReferencedDataDictionaryModelKey
Description copied from interface:ServiceRegistryDataObjectModel
A data object can have a reference to a data dictionary type to inherit fields.- Specified by:
getReferencedDataDictionaryModelKey
in interfaceServiceRegistryDataObjectModel
- Returns:
- the model key of the referenced data dictionary model
-
getDataDictionaryTypeName
Description copied from interface:ServiceRegistryDataObjectModel
The type name from the referenced data dictionary model. Inherits (all) fields of the referenced type.- Specified by:
getDataDictionaryTypeName
in interfaceServiceRegistryDataObjectModel
- Returns:
- the type name to inherit fields from
-
getReferencedServiceDefinitionModelKey
Description copied from interface:ServiceRegistryDataObjectModel
The key of the service definition model.- Specified by:
getReferencedServiceDefinitionModelKey
in interfaceServiceRegistryDataObjectModel
-
getFieldMappings
- Specified by:
getFieldMappings
in interfaceServiceRegistryDataObjectModel
-
getDefinitionIdentityLinks
Description copied from interface:ServiceRegistryDataObjectModel
The identity links for the data object model.- Specified by:
getDefinitionIdentityLinks
in interfaceServiceRegistryDataObjectModel
-
getInstanceIdentityLinks
Description copied from interface:ServiceRegistryDataObjectModel
The identity links that should be added for every newly created data object instance- Specified by:
getInstanceIdentityLinks
in interfaceServiceRegistryDataObjectModel
-
getIgnoreInstancePermissions
Description copied from interface:ServiceRegistryDataObjectModel
Flag indicating that instance level permissions should not be done for this data object model.- Specified by:
getIgnoreInstancePermissions
in interfaceServiceRegistryDataObjectModel
- Returns:
- whether instance level permissions need to be applied
-