Package com.caplin.motif.fx.calendar
Class TenorDateSubjectInfo
java.lang.Object
com.caplin.motif.datasource.SubjectInfoWithParams
com.caplin.motif.fx.calendar.TenorDateSubjectInfo
- All Implemented Interfaces:
SubjectInfo
- Direct Known Subclasses:
UserTenorDateSubjectInfo
A class representing the fields parsed from a tenor date subject.
-
Field Summary
Fields inherited from class com.caplin.motif.datasource.SubjectInfoWithParams
parameters -
Constructor Summary
ConstructorsConstructorDescriptionTenorDateSubjectInfo(String subject, String currencyPair) Creates a TenorDateSubjectInfo with the given parameters.TenorDateSubjectInfo(String subject, String currencyPair, String parameters) Creates a TenorDateSubjectInfo with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturns the currency pair that was parsed to create this TenorDateSubjectInfoReturns the original subject that was parsed to create this SubjectInfoMethods inherited from class com.caplin.motif.datasource.SubjectInfoWithParams
getParameters, param
-
Constructor Details
-
TenorDateSubjectInfo
Creates a TenorDateSubjectInfo with the given parameters.- Parameters:
subject- The subject.currencyPair- The currency pair.
-
TenorDateSubjectInfo
Creates a TenorDateSubjectInfo with the given parameters.- Parameters:
subject- The subject.currencyPair- The currency pair.parameters- Optional parameters for retrieving tenor dates
-
-
Method Details
-
getSubject
Description copied from interface:SubjectInfoReturns the original subject that was parsed to create this SubjectInfo- Returns:
- The original subject.
-
getCurrencyPair
Returns the currency pair that was parsed to create this TenorDateSubjectInfo- Returns:
- The currency pair.
-
getLocationType
-