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 java.lang.Object implements SubjectInfo
Class representation of the fields parsed from an Effective Dates Subject.
-
-
Constructor Summary
Constructors Constructor Description EffectiveTenorDatesSubjectInfo(java.lang.String subject, java.lang.String currency)
Creates a EffectiveTenorDateSubjectInfo 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 EffectiveTenorDatesSubjectInfo.java.lang.String
getSubject()
Returns the original subject that was parsed to create this SubjectInfo
-
-
-
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 EffectiveTenorDatesSubjectInfo.- Returns:
- the currency
-
-