Hook: Define Currency Filter
Requirement
Only selected items of a Currency shall be visible to a part of an
application.
Filters are most often used in connection with displaying the
contents of Currencies. If you want to display only selected
CurrencyItems, use a filtered Currency.
Method of AdaptationEnable Feature
Level of SupportParameter Pattern
HotSpotFilters
ParticipantsCurrencyFilter,
NewFilter
,
Currency,
originalCurrency
,
filteredCurrency
Changes
-
subclass NewFilter of CurrencyFilter.
-
NewFilter.match implements
CurrencyFilter.match
returning true for every CurrencyItem that shall be
part of the filtered Currency.
-
instance originalCurrency of Currency.
-
instance filteredCurrency of NewFilter with parameter originalCurrency.