Package com.caplin.motif.fx.calendar
Class TenorDateSubjectInfo
java.lang.Object
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.
-
Constructor Summary
ConstructorDescriptionTenorDateSubjectInfo
(String subject, String currencyPair) 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 SubjectInfo
-
Constructor Details
-
TenorDateSubjectInfo
Creates a TenorDateSubjectInfo with the given parameters.- Parameters:
subject
- The subject.currencyPair
- The currency pair.
-
-
Method Details
-
getSubject
Description copied from interface:SubjectInfo
Returns the original subject that was parsed to create this SubjectInfo- Specified by:
getSubject
in interfaceSubjectInfo
- Returns:
- The original subject.
-
getCurrencyPair
Returns the currency pair that was parsed to create this TenorDateSubjectInfo- Returns:
- The currency pair.
-