Calculated Writing Access Area
As standard, the writing access area of an object is stored in the "_Authorization" MetaAttribute and takes the value of the writing access area absolute identifier. It is assigned at creation and you can modify it.
You can install up calculated writing access area.
For example, you can deduce the writing access area of an operation from that of the process on which it depends. You need only change the writing access area of a process, and those of the dependent operations will automatically adapt.
*In this case, watch performance.
To customize the writing access area of an object:
*Replace the "_Authorization" MetaAttribute (which carries the object writing access area) by a calculated MetaAttribute.
Calculated MetaAttribute
A calculated MetaAttribute is a software device enabling deduction of the MetaAttribute value of an object as a function of data around the object or dependent on other sources (system, current user, etc.).
HOPEX uses a set of "conventional" MetaAttributes (including the writing access area) that do not require metamodel definition.
A substitution device is available in HOPEX; it enables replacement of an implicit MetaAttribute by another for a MetaClass.
This device is required when you need to alter behavior of an existing MetaAttribute by implementing a calculated MetaAttribute.
To customize writing access area of an object, you must:
1. Create a MetaAttribute with characteristics close to those of the "_Authorization" MetaAttribute.
2. Substitute the "_HexaIdAbs" value of the new MetaAttribute by the "_HexaIdAbs" value of the "_Authorization" MetaAttribute.
3. Calculate the writing access area.