Object Types and Instances

Object can be used to mean type or instance depending on context

Object Type

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

Object Instance - a record

An Object instance represents actual data - an instance is a record of one of the defined Object Types

Every instance of an Object Type will contain values for all of the fields and Relationships defined by the type.

Comparison with databases

Logiak Object Spreadsheet
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

Logiak Object Spreadsheet
Type the column headers of a spreadsheet - definition of what the column contains
Instance A row in the spreadsheet, containing data

Example spreadsheet

This spreadsheet, for example, would correspond with a Logiak Object type which had the fields:

  • id
  • firstname
  • lastname
  • company
  • address
  • city
  • county
  • postal
  • phone1
  • phone2

While the rows from 2 onwards each represent an instance of that type