Home   :   Matrix Language   :   Primitive Action Statements   :   Create Statements

Create Statements

 

Statements

 

    CreateActive

    CreatePassive

    Delete

 

 

General

 

Create and delete statements allow the synchronous creation and deletion of objects.  The create statement appears in two forms, one for active objects which have state machines and another for passive objects which don't.

 

CreateActive and CreatePassive statements create a new context, that of the new object.  The CreateActive statement can only be used to create objects in the creation state.

 

CreateActive Statement

 

    CreateActive:Account:Creating_Account

 

A created object context is only valid within the scope of the CreateActive subregion.

 

The statement name is followed by the entity name and the creation state.  Only creation states may be specified.

 

All identifying attributes if present must be set within the scope of the statement.

 

 

CreatePassive Statement

 

    CreatePassive:Bank_Policy

 

This statement creates an object that has no state machine.

 

 

Delete Statement

 

    Delete

        Ping

        Pong

 

This statement deletes one or more objects.  All the object's outgoing relationships must be unrelated before an object can be removed.

 

The Delete statement can delete an object in any state (except the deletion state!).

Copyright 2017 Dark Matter Systems Ltd. All Rights Reserved.