Type Here to Get Search Results !

Advanced Relationships in UML

Advanced Relationships 
Advanced Relationships can be categorized as:
  • Dependency 
  • Generalization 
  • Association 
  • Realization
Dependency 
  • Specifying a change in the specification of one thing may affect another thing, but not necessarily the reverse 
  • Graphically rendered as a dashed line 
  • There are eight stereotypes that apply to dependency relationships among classes and objects in class diagrams 
bindThe source instantiates the target template
deriveThe source may be computed from target
friendThe source is given special visibility into target
instanceOfSource object is an instance of the target classifier
instantiateSource object creates instance of the target
powertypeTarget is a powertype of the source
refineSource is at a finer degree of abstraction than target
useThe semantics of the source element depends on the semantics of the public part of the target
Two stereotypes that apply to dependency relationships among packages 
  • Access - Source package is granted the right to reference the elements of the target package 
  • Import - A kind of access, but only public content 
Two stereotypes that apply to dependency relationships among use case 
  • Extend - Target use case extends the behavior of source 
  • Include - Source use case explicitly incorporates the behavior of another use case at a location specified by the source 
Three stereotypes when modeling interactions among objects 
  • Become - Target is the same object of source at later time 
  • Call - Source operation invokes the target operation 
In the context of state machine 
  • Send - Source operation sends the target event 
In the context of organizing the elements of your system into subsystem and model 
  • Trace - Target is a historical ancestor of the source (model relationship among elements in different models)
Generalization 
  • A generalization is a relationship between a general thing and a more specific kind of that thing 
  • In multiple Inheritance one class may have more than one parent 
  • Complete: Means that all children in the generalization have been indicated in the model and that no additional children are permitted 
  • Incomplete: Means that all children of the generalization may not have been included and new ones can be added later 
  • Disjoint: Depicts that objects of the parent do not overlap, i.e., they belong to only one child class 
  • Overlapping: Indicates that objects of the parent may have more than one of the children as a type
cse study zone,estudies4you,Advanced Relationships in UML,realization in uml,constraints in uml,composition in uml,qualification in uml,visibility in uml,association in uml,generalization in uml,dependency in uml,Advanced Relationships in ooad,

Association 
Advanced adornments: Navigation, Qualification, Various flavors of aggregation 
Navigation: Adorning an association with an arrowhead pointing to the direction of traversal
cse study zone,estudies4you,Advanced Relationships in UML,realization in uml,constraints in uml,composition in uml,qualification in uml,visibility in uml,association in uml,generalization in uml,dependency in uml,Advanced Relationships in ooad,

Visibility: Objects at that end are not accessible to any objects outside the association
cse study zone,estudies4you,Advanced Relationships in UML,realization in uml,constraints in uml,composition in uml,qualification in uml,visibility in uml,association in uml,generalization in uml,dependency in uml,Advanced Relationships in ooad,

Qualification: This is an attribute whose values partition the set of objects related to an object across an association.
cse study zone,estudies4you,Advanced Relationships in UML,realization in uml,constraints in uml,composition in uml,qualification in uml,visibility in uml,association in uml,generalization in uml,dependency in uml,Advanced Relationships in ooad,

Composition: A form of an aggregation with strong ownership and coincident lifetime of the parts by the whole
cse study zone,estudies4you,Advanced Relationships in UML,realization in uml,constraints in uml,composition in uml,qualification in uml,visibility in uml,association in uml,generalization in uml,dependency in uml,Advanced Relationships in ooad,

Constraints: 
  • Implicit: The relationship is not obvious and may be conceptual 
  • Ordered: The set of objects at one end  of an association are in a piece of order
  • Changeable: The links among the objects may be altered 
  • AddOnly: New links may be included from an object on the opposite end of the association 
  • Frozen: An existing link may not be deleted or modified 
  • XOR: Over a set of relationships, exactly one is apparent for each associated object
Realization 
--A realization is a semantic relationship between classifiers in which one classifier specifies a contract that another classifier guarantees to carry out
--Used in two circumstances 
  • In the context of interfaces 
  • In the context of collaborations 
--Graphically rendered as dashed directed line with a large open arrowhead

cse study zone,estudies4you,Advanced Relationships in UML,realization in uml,constraints in uml,composition in uml,qualification in uml,visibility in uml,association in uml,generalization in uml,dependency in uml,Advanced Relationships in ooad,

Tags

Top Post Ad

Below Post Ad