Implements relationships in domain modeling class diagrams
文章推薦指數: 80 %
In domain modeling class diagrams, an implements relationship exists between two classes when one of them must implement, or realize, the behavior specified by ... Implementsrelationshipsindomainmodelingclassdiagrams Indomainmodelingclassdiagrams,animplementsrelationship existsbetweentwoclasseswhenoneofthemmustimplement,orrealize, thebehaviorspecifiedbytheother.Theclassthatspecifiesthebehavioriscalledthesupplier,and theclassthatimplementsthebehavioriscalledtheclient.Animplements relationshipcanincludethosebetweeninterfacesandclasses. Forexample,animplementsrelationshipconnectsaninterfaceto asubsystem.Theinterfacespecifiesthebehaviors,andthesubsystem implementsthebehaviors. Indomainmodelingclassdiagrams,animplementsrelationshiprepresents aclassthatimplementstheoperationsinaJava™interface. Asthefollowingfigureillustrates,animplementsrelationship isdisplayedasadashedlinewithanunfilledarrowhead.Theconnector pointsfromtheclient(thatrealizesthebehavior)tothesupplier (thatspecifiesthebehavior). Javasourcecode UMLvisualrepresentation Relatedconcepts: Associationrelationshipsindomainmodelingclassdiagrams Extendsrelationshipsindomainmodelingclassdiagrams Relatedtasks: ShowingrelatedJavaelementsindomainmodelingclassdiagramsbasedonoutgoingrelationships ShowingrelatedJavaelementsindomainmodelingclassdiagramsbasedonincomingrelationships PopulatingdomainmodelingclassdiagramswithJavasourceelementsbasedontype CreatingimplementsrelationshipsbetweenJavaclassesandinterfacesindomainmodelingclassdiagrams Feedback
延伸文章資訊
- 1UML Class Diagram Tutorial - Visual Paradigm
A Comprehensive UML Class Diagram tutorial written for everyone who want to learn ... Implementat...
- 2Implement the application specification - UML Designer
From the existing application UML definition, Bob defines the application at a lower level. ... D...
- 3【用VS2010動手學UML第16回】快速上手UML類別圖的初級概念
介面實現關係的名稱有變動過,在2003年UML2.0草版規格書中,這條關係線叫做「實作關係」(Implementation),如圖圖11所示。但是,到了2005年UML2.0正式版 ...
- 4UML 2 Class Diagram Guidelines - Agile Modeling
Interfaces are implemented, "realized" in UML parlance, by classes and components - to realize an...
- 5Interfaces and Abstract Classes
UML Notation. Here's the UML notation for two interfaces and three implementing classes: ClassDia...