Topic > Unified Modeling Language Presentation - 670

What is UML (slide 1)Unified Modeling Language is a language for designing an object-oriented system.UML was intended to be a unifying language that empowers professionals IT to model computer applications.UML notation set is a language and not a methodology. This is important because a language, as opposed to a methodology, can easily adapt to any company's way of conducting business without requiring modification. It is a means for technical architects to communicate with developers. UML provides several types of diagrams that increase the ease of understanding an application under development. By using standard UML diagrams in your work, you make it easier for people with UML skills to join your project and quickly become productive. UML Consists of 9 diagram templates containing both static and dynamic models. • Some of which are : o Activity Diagram o Use Case Diagram o Sequence Diagrams o Class Diagram Actually UML is much more than diagrams, but for the purpose of this presentation I will focus only on the class diagram. Class diagram (slide 2) Class A o They can be considered prototypes when creating objects. o It is used to define the static structure of a project o Most diagrams will contain multiple classes o The interaction between classes determines the definition of a system o Represents the blue print of the projectThe class diagram shows how different entities (people , things and data) relate to each other; in other words, it shows the static structures of the system. A class diagram can be used to visualize logical classes, which are typically the kinds of things business people in an organization talk about: rock bands, CDs, radio shows; or loans, home mortgages, car loans and interest rates. Class diagrams can also be used to show implementation classes, which are the things programmers typically deal with. An implementation class diagram will likely show some of the same classes as the logical class diagram. However it will not be drawn with the same attributes. A class is depicted in the class diagram as a rectangle with three horizontal sections, as shown in the Figure. The top section shows the class name; the central section contains the class attributes that can be considered data definition; and the bottom section contains the operations or "methods" of the class that represent the action on Attributes. Visibility control o + Indicates that the data is public Any client that creates a class object can access o # Indicates that the data is protected Can only be viewed in the inheritance chain o – Indicates that the data is private Not viewable by clientClass diagram relationships (slide 3)• Links are basic relationships between objects