Package com.caplin.motif.mm.calendar
Class StartTenorDatesSubjectInfo
java.lang.Object
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.
-
Constructor Summary
ConstructorDescriptionStartTenorDatesSubjectInfo
(String subject, String currency) 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 SubjectInfo
-
Constructor Details
-
StartTenorDatesSubjectInfo
Creates a StartTenorDateSubjectInfo with the given parameters.- Parameters:
subject
- the subjectcurrency
- the currency
-
-
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.
-
getCurrency
Returns the currency parsed to create this StartTenorDatesSubjectInfo.- Returns:
- the currency
-