Pc Configuration Model in UML: Framework
7 ), the structure regarding good configurable device is discussed to the base of your own acting organization parts types (concepts otherwise categories), relationships with multiplicities, and you may generalizations. Remember that present commercial arrangement environment don’t privately service UML-centered representations however, generally is equivalent modeling facilities that enable this new signal from partonomies, generalization hierarchies, and limitations.
Role types: An element sorts of features an alternative title that’s described as a set of functions. Characteristics are outlined on the basis of datatypes (the fresh datatype of each and every attribute is placed in [datatype], which can signify a constant, an enumeration, or a variety). Such as for example, maxprice[0..2500] specifies an integer variety characteristic of your own parts form of Pc . On the examples within this publication, properties try unmarried-valued; that is, zero characteristic has actually more than one worth.
Associations and you will Multiplicities: The fresh region-regarding modeling facility is employed to explain part-from associations between role sizes. In simplest setting, these types of connectivity is actually assumed wantmatures kupony becoming out-of sorts of element (not mutual); consequently zero eg (component) of a component sorts of are going to be element of more than one such as for instance (entire component). Particularly, each Central processing unit belongs to exactly one MB (motherboard) and every MB include a couple of CPUs . Keep in mind that we use multiplicities to further explain relationships between part versions. Other types of multiplicities is the following: per Desktop computer (pc) include a minumum of one Software (no upper restrict discussed right here) and each Application is part of precisely one Pc . For each harddisk ( HDisk ) provides precisely one to DiskPort and every DiskPort are of this that HDisk (from inside the exact same HDUnit ). Additionally, per DiskPort try connected with an excellent ControllerPort . Note that additional kind of connections are part of the individual guide sections where expected.
Generalizations: That it acting facility applies a couple of parts types owing to an excellent subset family members. Brand new generalization matchmaking anywhere between subtypes and you can supertype (or perhaps the inverse specialty dating ranging from supertype and you can subtypes) would be distinguisheded because the disjoint and over. Disjointness means for each instance of a feature style of X can also be end up being assigned to one of your subtypes away from X. Eg, for every Cpu is actually often out of type of CPUS or CPUD but not bothpleteness ensures that for every such belongs to one of the leaf nodes of generalization ladder . In addition, generalization hierarchies throughout the setup framework generally speaking do not allow multiple inheritance. Once again, then acting establishment with different semantics is lead regarding most other chapters of this publication in which necessary. Note that having grounds out of simplicity zero concept of certain application designs is roofed in our analogy; it is assumed that each and every instance of sort of App has the exact same called for hdcapacity (200) and exact same rate , that’s fifty. In a complete model of some type of computer more subtypes create be added or recognized as element of a corresponding parts catalog.
Generalization: Supertypes and you may Subtypes
The original Er model has been effectively used in interacting fundamental studies and you may relationship definitions on the user for some time time. Although not, utilizing it growing and you may integrate conceptual activities with various end member feedback is actually honestly limited up to it may be extended to help you tend to be database abstraction concepts particularly generalization. This new generalization relationships specifies you to definitely several types of entities having specific common properties is going to be general into the a higher-level entity variety of-a general otherwise superclass organization, that is more commonly also known as a great supertype organization. The low levels of agencies-subtypes from inside the good generalization ladder -is possibly disjoint otherwise overlapping subsets of supertype entity. For example, during the Contour 2.5 the brand new entity Staff member was a high-level abstraction regarding Director, Professional, Professional, and Assistant, which try disjoint type of Staff. New Emergency room design build towards the generalization abstraction ‘s the partnership of an effective supertype entity having its subtypes, using a circle therefore the subset icon on the hooking up lines throughout the system to your subtype agencies. The brand new community include a letter specifying a good disjointness constraint (understand the following talk). Expertise, the reverse off generalization, is an inversion of the same build; it indicates one subtypes specialise the brand new supertype.