Package com.caplin.motif.mm.calendar
Class MaturityTenorDatesSubjectInfo
java.lang.Object
com.caplin.motif.mm.calendar.MaturityTenorDatesSubjectInfo
- All Implemented Interfaces:
SubjectInfo
- Direct Known Subclasses:
UserMaturityTenorDatesSubjectInfo
Class representation of the fields parsed from a Maturity Tenor Dates Subject.
-
Constructor Summary
ConstructorDescriptionMaturityTenorDatesSubjectInfo
(String subject, String startDate, String currency) Creates a UserMaturityTenorDatesSubjectInfo with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturns the currency parsed to create this MaturityTenorDatesSubjectInfo.Returns the start date parsed to create this MaturityTenorDatesSubjectInfo.Returns the original subject that was parsed to create this SubjectInfo
-
Constructor Details
-
MaturityTenorDatesSubjectInfo
Creates a UserMaturityTenorDatesSubjectInfo with the given parameters.- Parameters:
subject
- the subjectstartDate
- the start datecurrency
- 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.
-
getStartDate
Returns the start date parsed to create this MaturityTenorDatesSubjectInfo.- Returns:
- the startDate
-
getCurrency
Returns the currency parsed to create this MaturityTenorDatesSubjectInfo.- Returns:
- the currency
-