public interface MasterDataInstance
DataObjectRuntimeService
and based on a DataObjectDefinition
.Modifier and Type | Method and Description |
---|---|
Date |
getCreationTime()
Returns the creation timestamp of this data instance.
|
String |
getCreatorId()
Returns the id of the user creating this data instance.
|
String |
getDefinitionId()
Returns the id of the master data definition this instance belongs to.
|
String |
getDefinitionKey()
Returns the key of the master data definition this instance belongs to.
|
String |
getDescription()
Returns the optional description of this master data instance, if any, null otherwise.
|
String |
getExternalId()
Returns the external id of this master data instance.
|
String |
getId()
Returns the unique, technical id for this master data instance.
|
String |
getKey()
Returns the key for this master data instance which must be unique, but is human-readable normally and must be the same across environments for the
same master data instance.
|
String |
getLocalizedName(Locale locale)
Returns the name for this instance according the given locale, if available, defaults to the name provided by
getName() if there is no
translation available for the requested locale. |
String |
getName()
Returns the name of this master data instance which is usually used as the label.
|
int |
getSortOrder()
Returns the sort order for this master data instance.
|
String |
getState()
Returns the state of this master data instance which might be active or archived.
|
String |
getTenantId()
Returns the tenant id for this master data instance.
|
Map<String,Map<String,String>> |
getTranslations()
The translations for the master data, a Map having locale as the key and key value pairs for each locale.
|
String |
getUpdaterId()
Returns the optional id of the user having last modified this data instance, if any,
null otherwise. |
Date |
getUpdateTime()
Returns the timestamp of the last update of this data instance, in most cases where events are immutable, this
timestamp is the same as the creation timestamp, but must never be
null . |
Map<String,Object> |
getVariables()
Returns the optional map of variables attached to this master data instance.
|
boolean |
isFavorite()
Returns true, if this master data instance is a favorite, which means it should be shown on the top of the list in a selection for instance.
|
String getId()
String getTenantId()
String getExternalId()
getId()
if this data object is managed internally and not by an external data sourceString getKey()
String getName()
String getDefinitionId()
String getDefinitionKey()
String getState()
for a list of available states
int getSortOrder()
boolean isFavorite()
String getLocalizedName(Locale locale)
getName()
if there is no
translation available for the requested locale.locale
- the locale to return the name forString getDescription()
Date getCreationTime()
String getCreatorId()
Date getUpdateTime()
null
.String getUpdaterId()
null
otherwise.Map<String,Object> getVariables()