Skip to content
Leon Starr edited this page Mar 13, 2022 · 6 revisions

R152 / Generalization

Reference is an Association Reference or Generalization Reference


A Reference is used either to formalize a Generalization or an Association Relationship. In the case of an Association, the Reference always refers to a Class associated with a specific Perspective. For a Generalization, the Reference refers from a Subclass to its Superclass.

Formalization

Generalization Reference.(Subclass, Superclass, Rnum, Domain) ->
    Reference.(From class, To class, Rnum, Domain)
Association Reference.(Ref type, From class, To class, Rnum, Domain) ->
    Reference.(Ref type, From class, To class, Rnum, Domain)

Note that the Generalization identifier does not include the Ref type attribute. It doesn't need it since the value will always be G. Contrast this with the Association Reference identifier where the value could be T or P. So here we see a rare example of a reference that refers to a subset of the superclass identifier. Figure 2 in the Reference class description shows how it is possible to refer to a subset of an Identifier

Clone this wiki locally