Package com.caplin.motif.mm.calendar
Class MaturityTenorDatesSubjectInfo
- java.lang.Object
-
- com.caplin.motif.mm.calendar.MaturityTenorDatesSubjectInfo
-
- All Implemented Interfaces:
SubjectInfo
- Direct Known Subclasses:
UserMaturityTenorDatesSubjectInfo
public class MaturityTenorDatesSubjectInfo extends java.lang.Object implements SubjectInfo
Class representation of the fields parsed from a Maturity Tenor Dates Subject.
-
-
Constructor Summary
Constructors Constructor Description MaturityTenorDatesSubjectInfo(java.lang.String subject, java.lang.String effectiveDate, java.lang.String currency)
Creates a UserMaturityTenorDatesSubjectInfo 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 MaturityTenorDatesSubjectInfo.java.lang.String
getEffectiveDate()
Returns the effective date parsed to create this MaturityTenorDatesSubjectInfo.java.lang.String
getSubject()
Returns the original subject that was parsed to create this SubjectInfo
-
-
-
Constructor Detail
-
MaturityTenorDatesSubjectInfo
public MaturityTenorDatesSubjectInfo(java.lang.String subject, java.lang.String effectiveDate, java.lang.String currency)
Creates a UserMaturityTenorDatesSubjectInfo with the given parameters.- Parameters:
subject
- the subjecteffectiveDate
- the effective datecurrency
- the currency
-
-
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.
-
getEffectiveDate
public java.lang.String getEffectiveDate()
Returns the effective date parsed to create this MaturityTenorDatesSubjectInfo.- Returns:
- the effectiveDate
-
getCurrency
public java.lang.String getCurrency()
Returns the currency parsed to create this MaturityTenorDatesSubjectInfo.- Returns:
- the currency
-
-