Package com.caplin.motif.mm.calendar
Class EffectiveDatesSubjectInfo
- java.lang.Object
-
- com.caplin.motif.mm.calendar.EffectiveDatesSubjectInfo
-
- All Implemented Interfaces:
SubjectInfo
- Direct Known Subclasses:
UserEffectiveDatesSubjectInfo
public class EffectiveDatesSubjectInfo extends java.lang.Object implements SubjectInfo
Class representation of the fields parsed from an Effective Dates Subject.
-
-
Constructor Summary
Constructors Constructor Description EffectiveDatesSubjectInfo(java.lang.String subject, java.lang.String currency, java.lang.String year, java.lang.String month)
Creates a EffectiveDatesSubjectInfo with the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCurrency()
Returns the currency parsed to create this EffectiveDatesSubjectInfo.java.lang.String
getMonth()
Returns the month parsed to create this EffectiveDatesSubjectInfo.java.lang.String
getSubject()
Returns the original subject that was parsed to create this SubjectInfojava.lang.String
getYear()
Returns the year parsed to create this EffectiveDatesSubjectInfo.
-
-
-
Constructor Detail
-
EffectiveDatesSubjectInfo
public EffectiveDatesSubjectInfo(java.lang.String subject, java.lang.String currency, java.lang.String year, java.lang.String month)
Creates a EffectiveDatesSubjectInfo with the given parameters.- Parameters:
subject
- the subjectcurrency
- the currencyyear
- the yearmonth
- 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.
-
getCurrency
public java.lang.String getCurrency()
Returns the currency parsed to create this EffectiveDatesSubjectInfo.- Returns:
- the currency
-
getYear
public java.lang.String getYear()
Returns the year parsed to create this EffectiveDatesSubjectInfo.- Returns:
- the year
-
getMonth
public java.lang.String getMonth()
Returns the month parsed to create this EffectiveDatesSubjectInfo.- Returns:
- the month
-
-