Mapping currencies to jurisdictions
Given a Jurisdiction typecode, the getCurrencyMappingForJurisdiction method first looks up the Country typecode that categorizes the jurisdiction and then returns the Currency typecode that categorizes the country. If this indirect mapping fails to produce a valid currency, the getCurrencyMappingForJurisdiction method looks up the Currency typecode that categorizes the jurisdiction directly.
Mapping currencies to jurisdictions indirectly through countries handles situations where certain jurisdictions, which are not countries in their own rights, use the currencies of other countries. For example, Guam and the US Virgin Islands use the US Dollar. They are jurisdictions that do not claim the US as their country. As jurisdictions however, they can be categorized directly by the US Dollar (usd).
