Class BaseDataObjectModel
java.lang.Object
com.flowable.dataobject.api.repository.BaseDataObjectModel
- All Implemented Interfaces:
DataObjectModel
- Direct Known Subclasses:
BaseServiceRegistryDataObjectModel,DefaultMasterDataModel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the data object definition type, which can be for example masterData or dataObject.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.getKey()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.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.voidsetDataObjectType(String dataObjectType) voidsetDescription(String description) voidsetExternalId(String externalId) voidvoidvoidsetSourceId(String sourceId) voidsetSourceSpecificAttributes(Map<String, Object> sourceSpecificAttributes) voidsetSourceType(String sourceType) voidsetSubType(String subType) voidsetSupportedCachingType(String supportedCachingType) void
-
Field Details
-
key
-
name
-
dataObjectType
-
description
-
type
-
subType
-
sourceId
-
sourceType
-
externalId
-
supportedCachingType
-
sourceSpecificAttributes
-
-
Constructor Details
-
BaseDataObjectModel
public BaseDataObjectModel()
-
-
Method Details
-
getKey
Description copied from interface:DataObjectModelReturns 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:
getKeyin interfaceDataObjectModel- Returns:
- the key for this data object definition
-
setKey
-
getName
Description copied from interface:DataObjectModelReturns the name of this data object definition which is usually used as the label.- Specified by:
getNamein interfaceDataObjectModel- Returns:
- the name of this data object definition
-
setName
-
getDataObjectType
Description copied from interface:DataObjectModelReturns the data object definition type, which can be for example masterData or dataObject.- Specified by:
getDataObjectTypein interfaceDataObjectModel- Returns:
- the data object type of this data object definition
- See Also:
-
setDataObjectType
-
getDescription
Description copied from interface:DataObjectModelReturns the optional description of this data object definition which might contain additional information around the data objects described by this definition.- Specified by:
getDescriptionin interfaceDataObjectModel- Returns:
- the optional description of the master data definition, might be null
-
setDescription
-
getType
Description copied from interface:DataObjectModelThe 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:
getTypein interfaceDataObjectModel- Returns:
- the type of this data object definition
-
setType
-
getSubType
Description copied from interface:DataObjectModelThe sub type further categorizes this data object definition (see type for more information and examples).- Specified by:
getSubTypein interfaceDataObjectModel- Returns:
- the sub type of this data object description
-
setSubType
-
getSourceId
Description copied from interface:DataObjectModelReturns the id of the source for this data object definition.- Specified by:
getSourceIdin interfaceDataObjectModel- Returns:
- the id of the source supporting this data objects
-
setSourceId
-
getSourceType
Description copied from interface:DataObjectModelReturns the type of the source for this data object definition.- Specified by:
getSourceTypein interfaceDataObjectModel- Returns:
- the type of the source supporting this data objects
- See Also:
-
setSourceType
-
getExternalId
Description copied from interface:DataObjectModelReturns 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:
getExternalIdin interfaceDataObjectModel- Returns:
- the optional external id for this data object definition or null if none available
-
setExternalId
-
getSupportedCachingType
Description copied from interface:DataObjectModelReturns 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:
getSupportedCachingTypein interfaceDataObjectModel- Returns:
- the supported caching type
- See Also:
-
setSupportedCachingType
-
getSourceSpecificAttributes
Description copied from interface:DataObjectModelReturns 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:
getSourceSpecificAttributesin interfaceDataObjectModel- Returns:
- the optional map of data source specific attributes
-
setSourceSpecificAttributes
-