ecl-logo Documentation

Model

Model[id]reference

returns the fully qualified model object reference with the given id.

Model[symbols,id]reference

represents a fully qualified object reference to an model in the ECL system.

Model[symbols,name]reference

represents the fully qualified model object reference with the given name (if it exists).

Model[symbols]type

represents a type of model object in the ECL system.

Details

  • When using a name to identify an object that name must be unique across all objects of the same type.
  • Models can be used the same as Objects but have a special 1-to-1 relationship with Objects.
  • Every Object can (optionally) have exactly 1 Model (linked via the Model field).
  • Input
    Output

Examples

Basic Examples  (3)

Given an ID, returns the fully qualified object reference:

Find all objects with the model:

Lookup the definition for a type:

Additional Examples  (1)

Returns $Failed if an object does not exist with the given ID: