Interface Reference

All Superinterfaces:
RosettaModelObject
All Known Subinterfaces:
Reference.ReferenceBuilder
All Known Implementing Classes:
Reference.ReferenceBuilderImpl, Reference.ReferenceImpl

Author:
TomForwood This class represents a reference to a rosetta object defined elsewhere.

The scope defines where the resolver should look to find the object linked to.

Scope can be - global - the key is universally unique and can be looked up anywhere - e.g. external database - document - the key must be unique in this document and can be found anywhere in the document - the name of the rosetta class e.g. TradeableProduct- the key is only unique inside that TradeableProduct and should only be looked for inside that TradeableProduct