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
public class MaturityDatesSubjectInfo extends Object implements SubjectInfo
Class representation of the fields parsed from a Maturity Dates Subject.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCurrency()
Returns the currency parsed to create this MaturityDatesSubjectInfo.String
getMonth()
Returns the month parsed to create this MaturityDatesSubjectInfo.String
getStartDate()
Returns the start date parsed to create this MaturityDatesSubjectInfo.String
getSubject()
Returns the original subject that was parsed to create this SubjectInfoString
getYear()
Returns the year parsed to create this MaturityDatesSubjectInfo.
-
-
-
Constructor Detail
-
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 Detail
-
getSubject
public String 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
public String getStartDate()
Returns the start date parsed to create this MaturityDatesSubjectInfo.- Returns:
- the startDate
-
getCurrency
public String getCurrency()
Returns the currency parsed to create this MaturityDatesSubjectInfo.- Returns:
- the currency
-
getYear
public String getYear()
Returns the year parsed to create this MaturityDatesSubjectInfo.- Returns:
- the year
-
getMonth
public String getMonth()
Returns the month parsed to create this MaturityDatesSubjectInfo.- Returns:
- the month
-
-