mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 16:58:47 +00:00
4904d7eea0
* Add custom license header style in order to comply with Google's Checkstyle format * Update license headers to comply with Google's Checkstyle format
layout, title, folder, permalink, categories, tags
| layout | title | folder | permalink | categories | tags | ||
|---|---|---|---|---|---|---|---|
| pattern | Property | property | /patterns/property/ | Creational |
|
Intent
Create hierarchy of objects and new objects using already existing objects as parents.
Applicability
Use the Property pattern when
- when you like to have objects with dynamic set of fields and prototype inheritance
Real world examples
- JavaScript prototype inheritance
