Type to start searching...

Augment

Augments are used to extend a class for a given customer or business domain.

Description
Augments are used for modularization, i.e. separating the domain model into several modules without circular dependencies between them. They are similar to Aspects but target a specific class and do not use pointcuts.
Properties
aspects : aspectList

List of names of aspects to include in or exclude from (if prefixed with !) this class. If an aspect is included, the aspect's attributes and events are appended to this class'.

Valid values based on“token”.
(!?:?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)*\s+)*(!?:?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)*)?

Each element in the list must begin with a letter or underscore. Elements are space delimited. To exclude a token, prefix it with the character "!".

description : string

Type description.

facets : string

Facets with values and overrides: <name1> (<name2> <value2> value|list|assoc) ... Override defaults to value if not specified.

for : identifier

The class to augment.

Valid values based on“string”.
:?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)*

Value must begin with a letter or an underscore. Case and length are not restricted. Letters, numbers and underscores are allowed. Colon is used as a scope separator. Spaces and other punctuation characters are not allowed.

transitiveUpdateAudit : boolean

Flag to indicate whether changes propagated to an instance of this class will further be propagated to instances that are observing changes to this instance.

When set to true, instead of using this class instance as the audit context in the audit log, instances observing this instance will be used as audit contexts.
validation : string

Validation expression taking "this" argument and returning #f, a string indentifier or a list of format arguments if the instance is invalid.

where : string

Read restriction on the instances of the class.

Content
  • Sequence of:

    • PersistenceMapping [0..1] - A persistence mapping specifies how instances are persisted in a given data source. The type of the specified data source determines the mapping structure.

  • Sequence of:

    • Attributes [0..1] - Collection of Attributes on a Class or Aspect

    • Events [0..1] - Collection of Events on a Class or Aspect.