Markus 5ce932ceb7 Work on #213
- properly categorize all patterns
- remove pattern list from readme
- minor fixes to readme
- removed "introduction" because its not a pattern and an error i
committed some time ago
2015-08-20 21:40:07 +02:00

22 lines
559 B
Markdown

---
layout: pattern
title: Property
folder: property
permalink: /patterns/property/
categories: Creational
tags: Java
---
**Intent:** Create hierarchy of objects and new objects using already existing
objects as parents.
![alt text](./etc/property.png "Property")
**Applicability:** Use the Property pattern when
* when you like to have objects with dynamic set of fields and prototype inheritance
**Real world examples:**
* [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Inheritance_and_the_prototype_chain) prototype inheritance