Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 579 Bytes

File metadata and controls

25 lines (19 loc) · 579 Bytes
layout pattern
title Property
folder property
permalink /patterns/property/
categories Creational
tags
Java
Difficulty-Beginner

Intent

Create hierarchy of objects and new objects using already existing objects as parents.

alt text

Applicability

Use the Property pattern when

  • when you like to have objects with dynamic set of fields and prototype inheritance

Real world examples