Package com.caplin.motif.datasource
Interface SubjectParser<T extends SubjectInfo>
- Type Parameters:
T
- The Type of SubjectInfo that this parser returns.
- All Known Implementing Classes:
AllocationViewSubjectParser
,ConfigSubjectParser
,InvoiceSubjectParser
,LiquiditySubjectParser
,MMCurrencyConfigSubjectParser
,NoticeRateSubjectParser
,OrderCurrencyPairConfigSubjectParser
,OrderDetailsSubjectParser
,OrderSubjectParser
,PrecisionSubjectParser
,RateSubjectParser
,RateSubjectParser
,SalesOrderDetailsSubjectParser
,SalesSettlementInstructionsMandatorySubjectParser
,SalesTOBOConfigSubjectParser
,SettlementDateSubjectParser
,SettlementInstructionsMandatorySubjectParser
,SystemInfoSubjectParser
,TenorDateSubjectParser
,TOBOChangeEntitySubjectParser
,ToboOrderCurrencyPairConfigSubjectParser
,TradeSubjectParser
,UnsettledSubjectParser
,UserDetailsSubjectParser
,UserSettlementDateSubjectParser
public interface SubjectParser<T extends SubjectInfo>
A SubjectParser validates and parses subject requests into Domain objects; these objects provide methods which return the information contained in the request.
-
Method Summary
-
Method Details
-
parse
Returns the domain object that represents the subject request.- Parameters:
subject
- The subject to parse.- Returns:
- The domain object.
- Throws:
SubjectParserException
- If the subject is not in the correct format
-