Object Types and Instances
An Object Type is the definition of a data structure. A template for a specific kind of data.
In defining an Object Type, you specify
An Object type maps onto a database table when Apps are running on mobile devices.
If you define an Object type customer with fields “name”,“phone”, as the App is running on device, there will be an SQLite database table called customer with columns “name” and “phone”.
Object Instance - a record
An Object instance represents actual data - an instance is a record of one of the defined Object Types
Comparison with databases
|Type||the definition of the database table (which columns and relationships it has)|
|Instance||a row in the table, containing data valuess|
Comparison with spreadsheets
|Type||the column headers of a spreadsheet - definition of what the column contains|
|Instance||A row in the spreadsheet, containing data|
This spreadsheet, for example, would correspond with a Logiak Object type which had the fields:
While the rows from 2 onwards each represent an instance of that type
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.