* Moves partial-response to Java 11 * Moves pipeline to Java 11 * Moves poison-pill to Java 11 * Moves priority-queue to Java 11 * Moves private-class-data to Java 11 * Moves producer-consumer to Java 11 * Moves promise to Java 11 * Moves property to Java 11 * Moves prototype to Java 11 * Moves proxy to Java 11 * Corrects checkstyle errors * Fixes build for pipeline pattern
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.
Class diagram
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