Software Engineering Architecture Lab

Money Pattern

Represent monetary values with amount and currency, never floats. A base pattern in the Enterprise Application Patterns catalog. With Java/Spring code.

Represent monetary values with amount and currency, never floats.

Family
Enterprise Application Patterns
Category
Base Patterns
Source
Martin Fowler — Patterns of Enterprise Application Architecture

More base patterns patterns

  • Gateway — Wrap access to an external system behind your own interface.
  • Special Case — A subclass that handles a special situation instead of null checks.
  • Plugin — Link implementations at configuration time, not compile time.

All patterns