Prism Schema

Last modified 22 Apr 2021 17:31 +02:00
This page is a stub, it is a work in progress.

Prism is a completely schema-based system. It is supposed to know definition of every data item it works with. Prism knows whether the item is string, whether it is a structured container, what data items it contains, whether it is single-value of multi-valued and so on.

Static and Dynamic Schema

Prism is built on an assumption that the basic part of the data model (schema) is available during compile time. This static schema is used to generate the code for the "bean" Java classes, used to access Prism data structures. However, Prism can also work with dynamic schemas that are available at run-time. This method is usually used to extend the basic data model with custom data items (schema extension). However, Prism can work with a schema that is dynamically discovered at run-time.