Package com.caplin.motif.fx.calendar
Class SettlementDateSubjectInfo
java.lang.Object
com.caplin.motif.datasource.SubjectInfoWithParams
com.caplin.motif.fx.calendar.SettlementDateSubjectInfo
- All Implemented Interfaces:
SubjectInfo
- Direct Known Subclasses:
UserSettlementDateSubjectInfo
A class representing the fields parsed from a settlement date subject.
-
Field Summary
Fields inherited from class com.caplin.motif.datasource.SubjectInfoWithParams
parameters -
Constructor Summary
ConstructorsConstructorDescriptionSettlementDateSubjectInfo(String subject, String currencyPair, String year, String month) Creates a SettlementDateSubjectInfo with the given parameters.SettlementDateSubjectInfo(String subject, String currencyPair, String year, String month, String parameters) Creates a SettlementDateSubjectInfo with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturns the currency pair that was parsed to create this SettlementDateSubjectInfo.getMonth()Returns the month that was parsed to create this SettlementDateSubjectInfo.Returns the original subject that was parsed to create this SubjectInfogetYear()Returns the year that was parsed to create this SettlementDateSubjectInfo.Methods inherited from class com.caplin.motif.datasource.SubjectInfoWithParams
getParameters, param
-
Constructor Details
-
SettlementDateSubjectInfo
Creates a SettlementDateSubjectInfo with the given parameters.- Parameters:
subject- The subject.currencyPair- The currency pair.year- The year.month- The month.
-
SettlementDateSubjectInfo
public SettlementDateSubjectInfo(String subject, String currencyPair, String year, String month, String parameters) Creates a SettlementDateSubjectInfo with the given parameters.- Parameters:
subject- The subject.currencyPair- The currency pair.year- The year.month- The month.parameters- Optional parameters for retrieving settlement dates
-
-
Method Details
-
getSubject
Description copied from interface:SubjectInfoReturns the original subject that was parsed to create this SubjectInfo- Returns:
- The original subject.
-
getCurrencyPair
Returns the currency pair that was parsed to create this SettlementDateSubjectInfo.- Returns:
- The currency pair.
-
getYear
Returns the year that was parsed to create this SettlementDateSubjectInfo.- Returns:
- The year.
-
getMonth
Returns the month that was parsed to create this SettlementDateSubjectInfo.- Returns:
- The month.
-
getLocationType
-