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