Package com.caplin.motif.fx.calendar
Class SettlementDateSubjectInfo
- java.lang.Object
-
- com.caplin.motif.fx.calendar.SettlementDateSubjectInfo
-
- All Implemented Interfaces:
SubjectInfo
- Direct Known Subclasses:
UserSettlementDateSubjectInfo
public class SettlementDateSubjectInfo extends java.lang.Object implements SubjectInfo
A class representing the fields parsed from a settlement date subject.
-
-
Constructor Summary
Constructors Constructor Description SettlementDateSubjectInfo(java.lang.String subject, java.lang.String currencyPair, java.lang.String year, java.lang.String month)
Creates a SettlementDateSubjectInfo with the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCurrencyPair()
Returns the currency pair that was parsed to create this SettlementDateSubjectInfo.java.lang.String
getMonth()
Returns the month that was parsed to create this SettlementDateSubjectInfo.java.lang.String
getSubject()
Returns the original subject that was parsed to create this SubjectInfojava.lang.String
getYear()
Returns the year that was parsed to create this SettlementDateSubjectInfo.
-
-
-
Constructor Detail
-
SettlementDateSubjectInfo
public SettlementDateSubjectInfo(java.lang.String subject, java.lang.String currencyPair, java.lang.String year, java.lang.String month)
Creates a SettlementDateSubjectInfo with the given parameters.- Parameters:
subject
- The subject.currencyPair
- The currency pair.year
- The year.month
- The month.
-
-
Method Detail
-
getSubject
public java.lang.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.
-
getCurrencyPair
public java.lang.String getCurrencyPair()
Returns the currency pair that was parsed to create this SettlementDateSubjectInfo.- Returns:
- The currency pair.
-
getYear
public java.lang.String getYear()
Returns the year that was parsed to create this SettlementDateSubjectInfo.- Returns:
- The year.
-
getMonth
public java.lang.String getMonth()
Returns the month that was parsed to create this SettlementDateSubjectInfo.- Returns:
- The month.
-
-