Skip to main content
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.

MetaModel

Draft

This is a preliminary version of the VDM documentation.

MetaModel definition

Virtual datamodels provide unified data interface for applications connected to AVAplace platform. Virtual datamodels provide clear and unambiguous interconnection to support integration of loosely coupled applications. Virtual datamodels represent key items to establish ubiquitous language across integrated applications (see Domain Driven Design for more details).

System Properties

  • id - the unique identifier of virtual record, struct: modelId (GUID) + recordId (GUID)
  • externalId - the fully qualified unique identifier of source record (i.e. source record, source entity and data source)
  • sourceId - the identifier of publisher data-source (GUID)
  • referenceId - (optional) the reference identifier of original record from primary data-source (GUID)
  • mandantCode - (optional) mandant/organization identifier, null = non-mandant record
  • deleted - (optinal) flag that record has been marked as deleted

Entity Types

  • AggregateRoot - data are persisted as standalone records and can be queried separately
  • NestedEntity - data are persisted as aggregate(s) of master record and can't be queried separately

Field Types

NameDescription
Textsingle-line text (string)
MultilineTextmulti-line text (string)
TwoOptionstwo-value switch (boolean)
WholeNumberwhole number (long)
DecimalNumberdecimal number (decimal)
CurrencyNumbercurrency number (decimal value with currency code of ISO 4217 - alphabetic)
UniqueIdentifierunique identifier (guid)
Datedate without time
UtcDateTimedate and time in UTC
LookupEntityassociation type relationship to aggregate root entity
NestedEntityvalue object or composition type relationship to nested entity
FileReferencestructured contract representing a link to the file stored in Content Manager service
SingleSelectOptionSetsingle-select value of predefined option set
MultiSelectOptionSetmulti-select value of predefined option set