24 lines
461 B
Markdown
24 lines
461 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.
|
||
|
|
||
|
|
||
|
## 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]
|