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