org.fudgemsg.taxon
Interface TaxonomyResolver

All Known Implementing Classes:
ImmutableMapTaxonomyResolver, RESTfulTaxonomyResolver, URLTaxonomyResolver

public interface TaxonomyResolver

A taxonomy resolver allows a taxonomy to be located by ID.

A Fudge system may have multiple taxonomies in use at any one time. These may be different versions of one taxonomy, or an entirely different taxonomy. A Fudge message includes a two-byte ID to the taxonomy in use. Implementations of this interface convert the ID to a real taxonomy. The exact meaning of the ID and the translation is application dependent.

This interface should be implemented with care to ensure Fudge operates correctly. Implementations should be thread-safe.


Method Summary
 FudgeTaxonomy resolveTaxonomy(short taxonomyId)
          Looks up the taxonomy by ID.
 

Method Detail

resolveTaxonomy

FudgeTaxonomy resolveTaxonomy(short taxonomyId)
Looks up the taxonomy by ID.

Parameters:
taxonomyId - the ID of the taxonomy to look up
Returns:
the taxonomy, null if not found


Copyright 2009-Present by OpenGamma Inc. and individual contributors
Released under the Apache License, Version 2.0