Extends relationships in domain modeling class diagrams - IBM

文章推薦指數: 80 %
投票人數:10人

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



請為這篇文章評分?