Package com.caplin.motif.mm.calendar
Class StartTenorDatesSubjectInfo
java.lang.Object
com.caplin.motif.datasource.SubjectInfoWithParams
com.caplin.motif.mm.calendar.MMSubjectInfo
com.caplin.motif.mm.calendar.StartTenorDatesSubjectInfo
- All Implemented Interfaces:
SubjectInfo
- Direct Known Subclasses:
UserStartTenorDatesSubjectInfo
Class representation of the fields parsed from an Start Dates Subject.
-
Field Summary
Fields inherited from class com.caplin.motif.datasource.SubjectInfoWithParams
parameters -
Constructor Summary
ConstructorsConstructorDescriptionStartTenorDatesSubjectInfo(String subject, String currency) Creates a StartTenorDateSubjectInfo with the given parameters.StartTenorDatesSubjectInfo(String subject, String currency, String parameters) Creates a StartTenorDateSubjectInfo with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturns the currency parsed to create this StartTenorDatesSubjectInfo.Returns the original subject that was parsed to create this SubjectInfoMethods inherited from class com.caplin.motif.mm.calendar.MMSubjectInfo
getTradingTypeMethods inherited from class com.caplin.motif.datasource.SubjectInfoWithParams
getParameters, param
-
Constructor Details
-
StartTenorDatesSubjectInfo
Creates a StartTenorDateSubjectInfo with the given parameters.- Parameters:
subject- the subjectcurrency- the currency
-
StartTenorDatesSubjectInfo
Creates a StartTenorDateSubjectInfo with the given parameters.- Parameters:
subject- the subjectcurrency- the currencyparameters- Optional parameters for retrieving start tenor dates
-
-
Method Details
-
getSubject
Description copied from interface:SubjectInfoReturns the original subject that was parsed to create this SubjectInfo- Returns:
- The original subject.
-
getCurrency
Returns the currency parsed to create this StartTenorDatesSubjectInfo.- Returns:
- the currency
-