Package com.caplin.motif.mm.calendar
Class MaturityTenorDatesSubjectInfo
java.lang.Object
com.caplin.motif.datasource.SubjectInfoWithParams
com.caplin.motif.mm.calendar.MMSubjectInfo
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.
-
Field Summary
Fields inherited from class com.caplin.motif.datasource.SubjectInfoWithParams
parameters -
Constructor Summary
ConstructorsConstructorDescriptionMaturityTenorDatesSubjectInfo(String subject, String startDate, String currency) Creates a UserMaturityTenorDatesSubjectInfo with the given parameters.MaturityTenorDatesSubjectInfo(String subject, String startDate, String currency, String parameters) 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 SubjectInfoMethods inherited from class com.caplin.motif.mm.calendar.MMSubjectInfo
getTradingTypeMethods inherited from class com.caplin.motif.datasource.SubjectInfoWithParams
getParameters, param
-
Constructor Details
-
MaturityTenorDatesSubjectInfo
Creates a UserMaturityTenorDatesSubjectInfo with the given parameters.- Parameters:
subject- the subjectstartDate- the start datecurrency- the currency
-
MaturityTenorDatesSubjectInfo
public MaturityTenorDatesSubjectInfo(String subject, String startDate, String currency, String parameters) Creates a UserMaturityTenorDatesSubjectInfo with the given parameters.- Parameters:
subject- the subjectstartDate- the start datecurrency- the currencyparameters- Optional parameters for retrieving maturity dates
-
-
Method Details
-
getSubject
Description copied from interface:SubjectInfoReturns the original subject that was parsed to create this SubjectInfo- 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
-