Aggregation versus Composition [closed]

As a rule of thumb: class Person { private Heart heart; private List<Hand> hands; } class City { private List<Tree> trees; private List<Car> cars } In composition (Person, Heart, Hand), “sub objects” (Heart, Hand) will be destroyed as soon as Person is destroyed. In aggregation (City, Tree, Car) “sub objects” (Tree, Car) will NOT be … Read more

How to integrate UML diagrams into GitLab or GitHub

Edit: Alternative with Proxy service This way is significantly different and simpler than the answer below; it uses the PlantUML proxy service: http://www.plantuml.com/plantuml/proxy?cache=no&src=https://raw.github.com/plantuml/plantuml-server/master/src/main/webapp/resource/test2diagrams.txt The GitHub markdown for this would be: ![alternative text](http://www.plantuml.com/plantuml/proxy?cache=no&src=https://raw.github.com/plantuml/plantuml-server/master/src/main/webapp/resource/test2diagrams.txt) This method suffers from not being able to specify the SVG format (it defaults to PNG), and it is perhaps not possible to … Read more

In UML class diagrams, what are Boundary Classes, Control Classes, and Entity Classes?

Robustness diagrams are written after use cases and before class diagrams. They help to identify the roles of use case steps. You can use them to ensure your use cases are sufficiently robust to represent usage requirements for the system you’re building. They involve: Actors Use Cases Entities Boundaries Controls Whereas the Model-View-Controller pattern is … Read more

Eclipse plugin for generating a class diagram [closed]

Assuming that you meant to state ‘Class Diagram’ instead of ‘Project Hierarchy’, I’ve used the following Eclipse plug-ins to generate Class Diagrams at various points in my professional career: ObjectAid. My current preference. EclipseUML from Omondo. Only commercial versions appear to be available right now. The class diagram in your question, is most likely generated … Read more

PHP UML Generator [closed]

There’s also the PHP UML tool available from pear. PHP_UML: Can generate UML/XMI files in version 1.4, or in version 2.1 (logical, component, and deployment views) Can generate an API documentation in HTML format Can generate PHP code (code skeleton) from a given XMI file Can convert UML/XMI content from version 1.4 to version 2.1 … Read more