Skip to content

Latest commit

 

History

History
 
 

property

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
layout title folder permalink categories tags
pattern
Property
property
/patterns/property/
Creational
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