ГОСТ Р 55346—2012
ENTITY oo_generic_association
ABSTRACT SUPERTYPE OF (ONEOF(oo_association. oo_association_role));
(* The description specifies additional information about the Oo_generic_association. *)
description : OPTIONAL text_select;
(* The id specifies the identifier of the Oo_generic_association. *)
id :elementjdentifier.
(* The name specifies the word, or words, that are used to refer to the Oo_generic_association. *)
name: label;
(* The readingjJirection specifies the Oo_generic_association_end object to which the name of the Oo_gene(^associ
ation is directed. <example number=’14">A reading_direction between an Oo_dass named Adult and another Oo_class
named Child is named Parent. The reading direction specifies the Child as the directed object; for example, the associa
tion reads ’Adult is Parent of Child’.</example> *)
readingdirection ; oo_generic_assodation_end;
(* The visibility specifies how the Oo_generic_association may be seen outside its enclosing namespace. Where
applicable the following values should be used;<ul><li>private: Specifies that the Oo_generic_association is only visible
to elements within the same namespace;<;li> <li>protected: Specifies that the Oo_generic_association is only visible
to elements of the same namespace and namespaces that are inherited from this;</li> <li>protected: Specifies that the
Oo_generic_association is only visible to elements of the same namespace and namespaces that are inherited from
this.<tfix/ul> •)
visibility; label;
INVERSE
(* The association specifies the Oo_association object of which the Oo_generic_association j»nd is an end. *)
connection : SET [2 ; ?] OF oo_generic_association_end FOR association;
END_ENTITY;
(*An Oo_generic_association_end is an end point of an Oo_association. •)
ENTITY oo_generic_association_end
ABSTRACT SUPERTYPE OF (ONEOF(oo_association_end. oo_association_end_role));
(* The aggregation specifies the whole-part relationship of the associated elements. *)
aggregation ; label;
(* The association specifies the Oo_association object of which the Oo_generic_association_end is an end. *)
association : oo_generic_association;
(* The description specifies additional information about the Oo_generic_association_end. *)
description : OPTIONAL text_select;
(* The id specifies an identifier for the Oo_generic_association_end. *)
id; elementjdentifier.
(* The is_navigable specifies whether traversal from a source instance to its associated target is possible. *)
is_navigable : BOOLEAN;
(* The multiplicity specifies the number of target instances that may be associated with a single source instance across
the Oo_generic_association specified by the association attribute. *)
multiplicity: cardinality_association_select;
(* The name specifies the word, or words, that are used to refer to the Oo_generic_association_end. *)
name: label;
(* The visibility specifies how the Oo_generic_association_end may be seen outside itsenclosing namespace. Where
applicable the following values should be used:<ul><li>private: Specifies that the Oo_generic_association_end is only
visible to elements within the same namespace;</li> <li>protected: Specifies that the Oo_generic_association_end is
only visible to elements of the same namespace and namespaces that are inherited from this;<Hi> <li>pubtic; Specifies
that the Oo_generic_association_end can be accessed from other elements including those outside the namespace of
the Oo_generic_association_end.</li></ul> *)
visibility ; label;
END_ENTITY;
(*An Oojndusion indicates that an instance of an Oo_use_case object will also contain the behaviour as specified by
another Oo_use_case. *)
ENTITY oojndusion:
(* The addition specifies the included Oo_use_case object. *)
addition; oo_use_case;
(* The base specifies the induding Oo_use_case object. *)
base ;oo_use_case;
END_ENTITY;
356