Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

BuilderPattern

From ZeroWiki
Revision as of 05:22, 7 February 2021 by imported>Unknown
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Pattern Name

Builder

Intent

복잡한 객체의 Construction과 Representation을 분리하여 서로 다른 Representation을 생성할 수 있는 동일한 Construction 공정을 제공한다.

Also Known As

Motivation

Applicability

  1. 복잡한 객체를 생성하는 알고리즘이 그 객체의 일부분과 그 부분을 구성하는 공정과정과 독립적일 때
  2. Construction 공정이 Construction 되는 객체들이 다른 형태의 Representation을 허용해야만 할 때

Structure

Participants

Collaborations

Consequences

Implementation

Sample Code

Known Uses

Related Patterns


PatternCatalog