2021-12-29 17:07:32 +02:00

26 lines
541 B
Markdown

---
layout: pattern
title: Component
folder: component
permalink: /patterns/component/
categories: Behavioral
tags:
- Java
---
## Intent
> Allow a single entity to span multiple domains without coupling the domains to each other.
## Class diagram
![alt text](./etc/commander.urm.png "Commander class diagram")
## Applicability
1.You want to keep decoupled from each other in a class which contains multiple domains.
2.A class is too big and massive.
## Reference
* [http://gameprogrammingpatterns.com/component.html]