Class Diagram

From GM-RKB
Jump to navigation Jump to search

A Class Diagram is a Structured Diagram that describes the structure of an object-oriented computer program by showing its classes, their attributes, operations (or methods), and the program class relationships.



References

2011

  • http://en.wikipedia.org/wiki/Class_diagram
    • In software engineering, a class diagram in the Unified Modeling Language (UML) is a type of static structure diagram that describes the structure of a system by showing the system's classes, their attributes, operations (or methods), and the relationships among the classes.

      The class diagram is the main building block of object oriented modelling. It is used both for general conceptual modelling of the systematics of the application, and for detailed modelling translating the models into programming code. Class diagrams can also be used for data modeling.[1] The classes in a class diagram represent both the main objects and or interactions in the application and the objects to be programmed. In the class diagram these classes are represented with boxes which contain three parts:

      • The upper part holds the name of the class
      • The middle part contains the attributes of the class
      • The bottom part gives the methods or operations the class can take or undertake