Package com.caplin.motif.mm.calendar
Class StartDatesSubjectInfo
java.lang.Object
com.caplin.motif.mm.calendar.StartDatesSubjectInfo
- All Implemented Interfaces:
SubjectInfo
- Direct Known Subclasses:
UserStartDatesSubjectInfo
Class representation of the fields parsed from an Start Dates Subject.
-
Constructor Summary
ConstructorDescriptionStartDatesSubjectInfo
(String subject, String currency, String year, String month) Creates a StartDatesSubjectInfo with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturns the currency parsed to create this StartDatesSubjectInfo.getMonth()
Returns the month parsed to create this StartDatesSubjectInfo.Returns the original subject that was parsed to create this SubjectInfogetYear()
Returns the year parsed to create this StartDatesSubjectInfo.
-
Constructor Details
-
StartDatesSubjectInfo
Creates a StartDatesSubjectInfo with the given parameters.- Parameters:
subject
- the subjectcurrency
- 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.
-
getCurrency
Returns the currency parsed to create this StartDatesSubjectInfo.- Returns:
- the currency
-
getYear
Returns the year parsed to create this StartDatesSubjectInfo.- Returns:
- the year
-
getMonth
Returns the month parsed to create this StartDatesSubjectInfo.- Returns:
- the month
-