Package com.caplin.motif.mm.calendar
Class UserMaturityDatesSubjectInfo
java.lang.Object
com.caplin.motif.datasource.SubjectInfoWithParams
com.caplin.motif.mm.calendar.MMSubjectInfo
com.caplin.motif.mm.calendar.MaturityDatesSubjectInfo
com.caplin.motif.mm.calendar.UserMaturityDatesSubjectInfo
- All Implemented Interfaces:
SubjectInfo
Class representation of the fields parsed from a User Maturity Dates Subject.
-
Field Summary
Fields inherited from class com.caplin.motif.datasource.SubjectInfoWithParams
parameters -
Constructor Summary
ConstructorsConstructorDescriptionUserMaturityDatesSubjectInfo(String subject, String startDate, String currency, String year, String month, String username) Creates a UserMaturityDatesSubjectInfo with the given parameters.UserMaturityDatesSubjectInfo(String subject, String startDate, String currency, String year, String month, String username, String parameters) Creates a UserMaturityDatesSubjectInfo with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturns the currency parsed to create this MaturityTenorDatesSubjectInfo.Methods inherited from class com.caplin.motif.mm.calendar.MaturityDatesSubjectInfo
getCurrency, getMonth, getStartDate, getSubject, getYearMethods inherited from class com.caplin.motif.mm.calendar.MMSubjectInfo
getTradingTypeMethods inherited from class com.caplin.motif.datasource.SubjectInfoWithParams
getParameters, param
-
Constructor Details
-
UserMaturityDatesSubjectInfo
public UserMaturityDatesSubjectInfo(String subject, String startDate, String currency, String year, String month, String username) Creates a UserMaturityDatesSubjectInfo with the given parameters.- Parameters:
subject- the subjectstartDate- the start datecurrency- the currencyyear- the yearmonth- the monthusername- the username
-
UserMaturityDatesSubjectInfo
public UserMaturityDatesSubjectInfo(String subject, String startDate, String currency, String year, String month, String username, String parameters) Creates a UserMaturityDatesSubjectInfo with the given parameters.- Parameters:
subject- the subjectstartDate- the start datecurrency- the currencyyear- the yearmonth- the monthusername- the usernameparameters- Optional parameters for retrieving user maturity dates
-
-
Method Details
-
getUsername
Returns the currency parsed to create this MaturityTenorDatesSubjectInfo.- Returns:
- the username
-