In a setting model (pick Figure 6

In a setting model (pick Figure 6

Computer Setting Model inside UML: Design

seven ), the dwelling out of good configurable product is outlined towards foundation of the acting organization part versions (concepts or classes), connections which have multiplicities, and generalizations. Note that established industrial configuration environments do not individually help UML-depending representations but usually are comparable modeling facilities that allow the logo of partonomies, generalization hierarchies, and you may limitations.

Component brands: A feature type of provides another type of name that is described as a couple of features. Services try outlined on such basis as datatypes (the fresh new datatype each and every feature is scheduled inside [datatype], which can denote a stable, a keen enumeration, or a selection). For example, maxprice[0..2500] specifies a keen integer variety trait of the role type Pc . On advice contained in this publication, services is single-valued; which is, no feature keeps multiple worthy of.

Connections and Multiplicities: The new part-off modeling business is utilized to spell it out area-regarding relationships anywhere between parts systems. Within the ideal setting, these types of connections is actually assumed become out-of sorts of element (not common); as a result no such as for example (component) off a component type is going to be part of more than one for example (entire component). Such as for instance, for each and every Central processing unit is part of exactly one MB (motherboard) and each MB contains a few CPUs . Remember that i incorporate multiplicities to further explain connectivity anywhere between component models. Almost every other examples of multiplicities is the following the: for every Desktop computer (computer) includes a minumum of one Software (zero higher limit discussed here) and each Software program is section of exactly you to definitely Pc . Each hard disk ( HDisk ) possess exactly one to DiskPort each DiskPort was associated with you to HDisk (into the same HDUnit ). In addition, for each DiskPort try about an excellent ControllerPort . Remember that more style of contacts are part of the individual book sections in which necessary.

Generalizations: Which modeling facility relates a couple of parts models as a result of an effective subset family. The fresh new generalization dating ranging from subtypes and you may supertype (or perhaps the inverse specialty dating anywhere between supertype and you will subtypes) will be distinguisheded as the disjoint and you may over. Disjointness means each exemplory case of an element variety of X can also be end up being allotted to just one of subtypes out of X. Particularly, per Cpu is possibly off particular CPUS otherwise CPUD although not bothpleteness means per for example is assigned to among the leaf nodes of the generalization steps . In addition, generalization hierarchies regarding the setting framework normally do not allow multiple heredity. Once more, subsequent acting organization with assorted semantics is actually produced regarding the almost every other chapters of so it book where needed. Note that to possess reasons away from ease zero definition of particular software items is included inside our analogy; it is assumed that every illustration of type Software gets the exact same expected hdcapacity (200) together with exact same rates , that’s fifty. Inside a whole make of a computer even more subtypes create be added otherwise identified as part of a corresponding component collection.

Generalization: Supertypes and you can Subtypes

The first Emergency room design could have been efficiently used in connecting fundamental study and you will relationship definitions toward user for some time day. However, utilizing it to grow and you can feature abstract patterns with assorted stop member views are seriously minimal until it can be extended so you can become database abstraction concepts particularly generalization. The fresh generalization relationships specifies you to several kinds of entities having specific preferred features would be generalized towards increased-height organization types of-a simple or superclass organization, that’s more commonly called a great supertype entity. The low quantities of entities-subtypes in good generalization steps -are often militarycupid disjoint or overlapping subsets of one’s supertype organization. For-instance, for the Profile dos.5 this new organization Worker try a top-height abstraction from Movie director, Professional, Specialist, and you will Assistant, all of which try disjoint style of Worker. The latest Er design construct on the generalization abstraction is the partnership out of a supertype entity using its subtypes, having fun with a group therefore the subset symbol for the hooking up contours from the network into subtype organizations. The latest network contains a letter specifying a good disjointness limitation (see the following discussion). Specialty, the reverse out-of generalization, is an enthusiastic inversion of the same concept; it indicates one to subtypes specialise brand new supertype.










Công ty TNHH GCTECH VIETNAM