UML Association - Javatpoint
文章推薦指數: 80 %
Association is the semantic relationship between classes that shows how one instance is connected or merged with others in a system. The objects are combined ... ⇧SCROLLTOTOP Home Java UML Pandas Python Java SQL Android Cloud JavaScript Servlet JSP Struts2 Spring Quiz Projects InterviewQ Comment Forum Training UMLTutorial UMLTutorial UMLBuildingBlocks UMLArchitecture UMLDiagrams UMLRelationship AssociationvsAggregationvsComposition UMLAssociation UMLDependency UMLGeneralization UMLRealization UMLClassDiagram UMLObjectDiagram UMLComponentDiagram UMLDeploymentDiagram UMLInteractionDiagram UMLUseCaseDiagram UMLSequenceDiagram UMLCollaborationDiagram UMLStateMachineDiagram UMLActivityDiagram UMLTimingDiagram UMLTools next→ ←prev UML-Association Associationisthesemanticrelationshipbetweenclassesthatshowshowoneinstanceisconnectedormergedwithothersinasystem.Theobjectsarecombinedeitherlogicallyorphysically.Sinceitconnectstheobjectofoneclasstotheobjectofanotherclass,itiscategorizedasastructuralrelationship.Followingaretheconstraintsappliedtotheassociationrelationshipareenlistedbelow: {implicit}:Asthenamesuggests,theimplicitconstraintsdefinethattherelationshipisnotvisible,butitisbasedonaconcept. {ordered}:Itdescribesthatthesetofentitiesisinaparticularwayatoneendinanassociation. {changeable}:Thechangeableconstraintensuresthattheconnectionsbetweenseveralobjectswithinasystemareadded,improved,anddetached,asandwhenrequired. {addOnly}:Itspecifiesthatanynewconnectioncanbeaddedfromanobjectlocatedattheotherendinanassociation. {frozen}:Thefrozenconstraintspecifiesthatwheneveralinkisaddedbetweenobjects,itcannotbealteredbythetimeitisactivatedovertheconnectionorgivenlink. ReflexiveAssociation Inthereflexiveassociations,thelinksarebetweentheobjectsofthesameclasses.Inotherwords,itcanbesaidthatthereflexiveassociationconsistsofthesameclassatbothends.Anobjectcanalsobetermedasaninstance. Let'shavealookatitsexampleofaclassvegetable.Thevegetableclasshastwoobjects,i.e.,onionandeggplant.Accordingtothereflexiveassociation'sdefinition,thelinkbetweentheonionandeggplantexist,astheybelongtothesameclass,i.e.,vegetable. DirectedAssociation Thedirectedassociationisconcernedwiththedirectionofflowinsideassociationclasses.Theflowofassociationcanbeshownbyemployingadirectedassociation.Thedirectedassociationbetweentwoclassesisrepresentedbyalinewithanarrowhead,whichindicatesthenavigationdirection.Theflowofassociationfromoneclasstoanotherisalwaysinonedirection. Itcanbesaidthatthereisanassociationbetweenapersonandthecompany.Thepersonworksforthecompany.Herethepersonworksforthecompany,andnotthecompanyworksforaperson. NextTopicUMLDependency ←prev next→ ForVideosJoinOurYoutubeChannel:JoinNow Feedback SendyourFeedbackto[email protected] HelpOthers,PleaseShare LearnLatestTutorials Splunk SPSS Swagger Transact-SQL Tumblr ReactJS Regex ReinforcementLearning RProgramming RxJS ReactNative PythonDesignPatterns PythonPillow PythonTurtle Keras Preparation Aptitude Reasoning VerbalAbility InterviewQuestions CompanyQuestions TrendingTechnologies ArtificialIntelligence AWS Selenium CloudComputing Hadoop ReactJS DataScience Angular7 Blockchain Git MachineLearning DevOps B.Tech/MCA DBMS DataStructures DAA OperatingSystem ComputerNetwork CompilerDesign ComputerOrganization DiscreteMathematics EthicalHacking ComputerGraphics SoftwareEngineering WebTechnology CyberSecurity Automata CProgramming C++ Java .Net Python Programs ControlSystem DataMining DataWarehouse JavatpointServicesJavaTpointofferstoomanyhighqualityservices.Mailuson[email protected],togetmoreinformationaboutgivenservices.WebsiteDesigningWebsiteDevelopmentJavaDevelopmentPHPDevelopmentWordPressGraphicDesigningLogoDigitalMarketingOnPageandOffPageSEOPPCContentDevelopmentCorporateTrainingClassroomandOnlineTrainingDataEntryTrainingForCollegeCampusJavaTpointofferscollegecampustrainingonCoreJava,AdvanceJava,.Net,Android,Hadoop,PHP,WebTechnologyandPython.Pleasemailyourrequirementat[email protected]Duration:1weekto2weekLike/Subscribeusforlatestupdatesornewsletter
延伸文章資訊
- 1{UML 2.0} 關聯類別(association class) - Kenmingの鮮思維
An association class connection is a UML construct that allows an association connector to have a...
- 2【UML】Class Diagram 類別圖(下):Relationships 關係
Relationships 關係Instance-level 物件層級Dependency 依賴Association 關聯...
- 3Association - UML Diagrams.org
- 4Class Diagram Relationships in UML Explained with Examples
Reflexive Association
- 5Association classes in UML diagrams - IBM
In UML diagrams, an association class is a class that is part of an association relationship betw...