0% found this document useful (0 votes)
360 views8 pages

Conceptual class-OOAD

concept class

Uploaded by

jack sparrow
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
360 views8 pages

Conceptual class-OOAD

concept class

Uploaded by

jack sparrow
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 8
3.7.4. CONCEPTUAL CLASSES Definition ‘A conceptual class is It is considered in terms of its sym an idea, thing or object to understand the real world situation. bol, intension and extension. bol — Words or images representing @ conceptual class Symi Student }"""~ iConcept gimbal) Name £ Reg no mark EE sm 331) ost ee ee definition of a conceptual class ‘Student dass bn Con S depicts the Concops nenion Inension ‘tds such Exiension — Set of examples to which conceptual class applies Secenty Sunt 2 stuzent 3 Stadt, ‘sudent 2374, WHY DOMAIN MODEL IS CREATED? 1, Domain model is created in order to document the key concepts and the domsin vocabulary ofthe system being modeled ‘2. The model identifies the relationships among all the major entities within the system and usually identifies their important methods and attributes. 3. The Domain model is effectively used to verify and validate the understanding. of problem among various stake holders. 818. GUIDELINES TO CREATE A DOMAIN MODEL 1. Find the conceptual classes. * Draw them as classes in a UML class diagram. 3 Add associations and attributes, “Tiree srrarEcies TO FINO CONCEPTUAL CLASSES Reuse or modify existing models. * Use category list Menity noun phrases, et ee ee ING CONCEPTUAL CLASSES AND DESCRIPTIONCLASSES i Z. \SrrAamos 3.8.4.1, METHOD 2 USE A CATEGORY LIST 9. 10. i. 12. 13, Linguistic analysis is another technique i.e., Identify nouns and noun phras textual descriptions of a domain and consider them as candidate conceptual e! 1.2. G neeptual elass category Physical or tangible objects Guideline ~ This is especially rel creating device control software or simulations int when, Business Transactions | Guideline ~ These are eritical ie, they involve | money | Transaction lin Guideline ~ Transactions often come with ms related line items Where is the transaction recorded’? | Guideline ~ Important | Roles of people | Guideline ~ Know about parties involved in a transaction | Place of transaction Deseription of things ! Catalogs Guideline ~ Descriptions are often ina catalog | Things in a container Other collaborating systems Records of finay Financial instruments | Manuals, documents, reference, papers, books T___ Examp Book, Hem, te, | air plane | Sale, Payment, Reservation Sales line item | Register, Ledger Cashier, Customer, | Passenger, Airline rs | Store, airport, plane | Product description, | fight description Product catalog, flight catalog | Ttem, passenge | Credit authorization | system, air traffic | control Receipt, ledger Cash, Line of eed, ket credit | Daily price change list, Repair schedule METHOD 3 — FINDING CONCEPTUAL CLASSES WITH NOUN PHRASE IDENTIFICATION it asses Eg, To find conceptual classes, a fully dressed use case can be used. it 7 goss soenario ye client arrives at ATM Insert ATM card. Enter Pin number. ATM card. ‘ATM system checks for correctness. Performs approval process. “Asks type of transaction, Enter type of transaction (depositwithdrawal/mini statement) pe cases are the best way to identify noun phrases al iand draw conceptual classes vist of candidate conceptual classes can be generated based on te category list roan phrase analysis \stof conceptual classes for ATM domain Chet Mini statement — description ATM Bank ~ details Transaction Deposit Withdrawal Dring UML class diagram of conceptual classes [cme] [aw | feo] wees] [ce] [pox] fea irons | ATM mai aM — co iS tration 1 Real es q Object Oriened Anat B34) te N Other examples List of conceptual classes for library domain Litrry Autor Book Publications Member Transaction Intl ory domain mode! [i Book Manber [Author [Frenssctons List of conceptual classes for chess-game domain , Game, player, board, scare pace (Gare Payer Board Piso Sn Iie chess. game domain de 3.8.2, GUIDELINE FOR DRAWING CONCEPTUAL CLASSES AGILE MODELING Keep the bottom and right sides of the class boxes ‘open. Class can be thet! expanded as we discover new clement or atrbutes/methode, Eg. fe 5, , Poymer as AIDING CLASS HIERARCHIES ie yh GENERALIZATION nship indicates that one of the two related classes Generalization relatiot .d to be a specialized form of the other (the super type) and ype) is considere «is considered as generalization of sub type. ization is the relationship between a more general class and a more he subt sagt YP ¥ Generali specific class. (lass Hierarchy Classes should be organized into a generalization-specialization class hierarchy or smply class hierarchy in which the super class represents a more general concept apd tie sub classes more specialized ones. Guideline ldentify domain super classes and sub classes relevant to the current iteration all ihsate them in the domain model. * Stteralization notation in UML hh Cec ‘ fs Poe: ls generalization relationship between elements is indicated with a large triangle pointing to the more general element from the more specialized one. Sq — target arrow or shared target arrow style may be used for connecting two > Object Oriented Analy A by Dis and (X60) B = Scaai) aesaill§ (l {All the department consists of students and are associated with the college, Sub class conformance ‘All the department subclasses must conform that each has its own students belo, to the college. Guideline ~ 100 % Rule 100% of the conceptual superclasses definition should be applicable to the oi class. The sub class must conform to 100% of the super classes: attribues associations. 3.49.24, CONCEPTUAL SUB CLASS SET CONFORMANCE ‘A conceptual subclass should be a member of the set of the superclass. is, ‘conceptual subclass is a kind of superclass. Here is-a-kind-of is called is-a. This kind of conformance is called Is-a Rule. Eg. CSE-department is a department or CSE-department is a kind of department Guideline: Is-a Rule All the members of a subclass set must be members of their superclass st I* natural language, this can usually be informally tested by forming the statemett Subclassis a superclass. What is a correct conceptual subclass? Guideline ‘A potential subclass should conform to the (i) 100% rule (Definition conformance) (ii) Is-a Rule (Set membership conformance) igs, ABSTRACT CONCEPTUAL CLASSES s ition irevery member of a class C must also be a member of a subclass, then class C is aed os abstract conceptual class, zag. Bvery payment member is also a member of a subclass; payment is an abstract conceptual class. a payment instance ‘dove not belongs to cash, ced or check payment, then payment {snot an abstract class Credit payinent ‘Check payment (he bs, perk ares

You might also like