View: Hide Browser | Browser on the left | Browser on the right | Dictionary
Report:General Info | Attributes | Constraints

Parent Package: constraint_model
Class ARCHETYPE_INTERNAL_REF


C_REFERENCE_OBJECT
   |
   +--ARCHETYPE_INTERNAL_REF

A constraint defined by proxy, using a reference to an object constraint defined elsewhere in the same archetype. Note that since this object refers to another node, there are two objects with available occurrences values. The local occurrences value on an ARCHETYPE_INTERNAL_REF should always be used; when setting this from a serialised form, if no occurrences is mentioned, the target occurrences should be used (not the standard default of {1..1}); otherwise the locally specified occurrences should be used as normal. When serialising out, if the occurrences is the same as that of the target, it can be left out.

Attributes
SignatureOptionalityMultiplicityConstantDocumentation
 target_path : String  --  Reference to an object node using archetype path notation. 


Constraints
NameExpression
consistencyinv: not any_allowed 
target_path_validinv: target_path <>Void and not target_path.is_empty and ultimate_root.has_path(target_path)