Alias - modelint/shlaer-mellor-metamodel GitHub Wiki
A typically shorter name for a Class, especially useful when the Class's name is particularly long. Aliases for long names become useful in action language. Compare these two statements in Scrall:
my aircraft .= /R1/AC( Tail number: in.ID )
as opposed to the slightly longer
my aircraft .= /R1/Aircraft( Tail number: in.ID )
The second example is preferable in the example above since it is easier to read. But a really long name such as Aircraft In Attack Formation
might work better with an abbreviation such as AC_ATTACK
.
An alias is optional since some developers may wish to just use full class names universally, or most of the time, and not bother with devising a set of aliases.
Identifiers
- Name + Domain
- Class + Domain
Attributes
Name
A short name
Type: Alias Name, based on Name (style suggestion: all caps with underscore delimiters with a limit of 16 characters)