• Keine Ergebnisse gefunden

• Generalizations relate specific classes to more general classes.

N/A
N/A
Protected

Academic year: 2022

Aktie "• Generalizations relate specific classes to more general classes. "

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Modelling with UML, with semantics 90

Inheritance (1)

Generalizations relate specific classes to more general classes.

instances of specific class also instances of the general class

features of general class also implicitly specified for specific class

implies substitutability (in the sense of Liskov & Wing)

must be specified on specific class separately by { substitutable }

• Generalizations also apply to associations.

as both are Classifiers { abstract } class (no direct instances, only specializations may have instances)

if decorated with { root }: no superclass

if decorated with { leaf }: no subclass

(2)

Modelling with UML, with semantics 91

Generalization sets detail the relation between a general and more specific classifiers.

{ complete } (opposite: { incomplete })

all instances of general classifier are instances of one of the specific classifiers in the generalization set

{ disjoint } (opposite: { overlapping })

no instance of general classifier belongs to more than one specific classifier in the generalization set

default: { disjoint, incomplete }

several generalization sets may be applied to a classifier

useful for taxonomies

Inheritance (2)

name of generalization set

Referenzen

ÄHNLICHE DOKUMENTE

Advances in next-generation sequencing technologies and in genome assembly and annotation methodologies [63–66] have facilitated the generation of -omics data for

In the area of Description Logics the least common subsumer (lcs) and the most specific concept (msc) are inferences that generalize a set of concepts or an individual,

There we show that the characterization can be used to verify whether a given generalization is the most specific one and that the size of the lcs, if it exists, is polynomially

Furthermore, the anticipated usefulness of the project was seen in gaining career related proficiency (83%), with 48% seeing the foreign language as useful only in the context

• features of general class also implicitly specified for specific class.. • implies substitutability (in the sense of Liskov

As an illustration of the relationship between the fraction of people possessing income y and the deprivation of an individual lacking y, consider a population (reference group) of

Once an instance of Out-Forest Vertex Deletion Set has been reduced by all previous rules except the one of Lemma 7 and additionally by the one of Lemma 14, we can also bound the

B. Solicit feedback from students on coverage activity: Require students to respond to  i) one or two conceptually-based questions students can get right if they have done