ColdFrame uses some names to build the framework for you. It will at best cause confusion if you use these names in your models.
The table below shows the names and their uses.
Name | Use |
---|---|
All_Instances | utility operation to obtain all current instances of a class |
Cascade_Initialize | domain initialization operation, can initialize other domains (especially in unit test) |
Cascade_Tear_Down | domain teardown operation, can tear down other domains (only in unit test) |
Class_Initialize | class initialization operation |
Counterpart | reference to a class in another Domain |
Delete | instance deletion operation |
Events | domain event support |
Filter_Function | generic, to select some instances of a collection of instances |
Find | instance location operation |
Handle | type used to access instances |
Handle_Hash | operation to support Booch Sets |
Identifier | type used to identify instances |
Initialize | domain initialization operation |
Instance | type to hold instance data |
Instance_Hash | operation to support Booch Maps |
Iterate | generic, to iterate over a collection of instances |
Next_Identifier | class variable to support Autonumber |
Old_State_Machine_State | attribute to contain the previous state of an instance's state machine during an action procedure call |
Selection_Function | generic, to select some of the current instances of a class |
State_Image | operation to return a string describing the state of an instance's state machine |
State_Machine_State | attribute to contain the state of an instance's state machine (the new state, during an action procedure call) |
State_Machine_State_T | type to describe the state of an instance's state machine |
Tear_Down | operation to return the domain to its initial state |
Text | translates to Ada.Strings.Unbounded.Unbounded_String |
The_Container | class variable to contain all the instances (will be a pointer, an array or a Map) |
This | parameter (or, for singletons, class variable) to hold the (current) instance |
Time | translates to ColdFrame.Project.Calendar.Time |
Timer | type of an attribute to hold cancellable delayed events |