Class
caplin.trading.trademodel

SubjectMapper

A Subject is the name for identifying a particular dataSource that is published by a server. The purpose of this class is to translate between the name of standard financial instrument code and the subject on the server that provides data for that instrument.

Constructor Summary

Attributes Name and Description
caplin.trading.trademodel.SubjectMapper()

Method Summary

Attributes Name and Description
String getInstrumentName(String sSubject)

Returns the instrument name for a particular sSubject.

String getSubject(String sInstrumentName)

Returns the subject for a particular instrument.

Constructor Detail

caplin.trading.trademodel.SubjectMapper()

Method Detail

String getInstrumentName(String sSubject)

Returns the instrument name for a particular sSubject.

Parameters
String sSubject the subject name.
Returns
The instrument name.

String getSubject(String sInstrumentName)

Returns the subject for a particular instrument.

Parameters
String sInstrumentName The instrument name.
Returns
The subject