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 startDate, 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
getStartDate()
Returns the start 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 startDate, java.lang.String currency)
Creates a UserMaturityTenorDatesSubjectInfo with the given parameters.- Parameters:
subject
- the subjectstartDate
- the start 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.
-
getStartDate
public java.lang.String getStartDate()
Returns the start date parsed to create this MaturityTenorDatesSubjectInfo.- Returns:
- the startDate
-
getCurrency
public java.lang.String getCurrency()
Returns the currency parsed to create this MaturityTenorDatesSubjectInfo.- Returns:
- the currency
-
-