Extends relationships in domain modeling class diagrams - IBM
文章推薦指數: 80 %
In domain modeling class diagrams, an extends relationship (also called an inheritance or an is-a relationship) implies that a specialized (child) class is ... Extendsrelationshipsindomainmodelingclassdiagrams Indomainmodelingclassdiagrams,anextendsrelationship (alsocalledaninheritanceoranis-arelationship)impliesthat aspecialized(child)classisbasedonageneral(parent)class.Indomainmodelingclassdiagrams,extendsrelationshipsapply onlytocontainer-managedpersistence(CMP)entitybeans.Theydo notapplytosessionormessage-drivenbeans. Asthefollowingfiguresillustrates,anextendsrelationshipis displayedasasolidlinewithanunfilledarrowheadthatpointsfrom thespecialized(child)Javaclass orEnterpriseJavaBeans(EJB)enterprise beantothegeneral(parent)Javaclass orEJBenterprisebean.Youcanalsovisuallyrepresentanddevelop extends(inheritance)relationshipsbetweenCMPentitybeans. Javasourcecode UMLvisualrepresentation Relatedconcepts Associationrelationshipsindomainmodelingclassdiagrams Implementsrelationshipsindomainmodelingclassdiagrams Relatedtasks ShowingrelatedJavaelementsindomainmodelingclassdiagramsbasedonoutgoingrelationships ShowingrelatedJavaelementsindomainmodelingclassdiagramsbasedonincomingrelationships PopulatingdomainmodelingclassdiagramswithJavasourceelementsbasedontype CreatingextendsrelationshipsbetweenJavaclassesindomainmodelingclassdiagrams Feedback
延伸文章資訊
- 1UML Class Diagram Tutorial - Lucidchart
Inheritance: The process of a child or sub-class taking on the functionality of a parent or super...
- 2UML 2 Tutorial - Class Diagram - Sparx Systems
The class diagram shows the building blocks of any object-orientated system. Class diagrams depic...
- 3UML Class Diagrams
Generalization: A class extends another class. For example, the Book class might extend the Docum...
- 4Extends relationships in domain modeling class diagrams - IBM
In domain modeling class diagrams, an extends relationship (also called an inheritance or an is-a...
- 5UML Class diagram, how to show a Class extends thread?
This would be the diagram, it's an inheritance relation (IS-A):. enter image description here.