Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
26 lines (20 loc) · 708 Bytes

File metadata and controls

26 lines (20 loc) · 708 Bytes
Copy raw file
Download raw file
Outline
Edit and raw actions
layout pattern
title Property
folder property
permalink /patterns/property/
pumlid FSV13OCm30NGLTe1YEziumOBKYMEPN-3s9wUUdlltRJst2Izlmx0OYLolihUSEGdGxnEXIXAdODQpul1Jby-UTaasgwBCI2kGOFZ1pAV9ewR1FMVaZwAvUWF
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.