Package org.isda.cdm

Class Trade


  • @RosettaClass
    public class Trade
    extends com.rosetta.model.lib.RosettaModelObject
    A class to represent the general trade concept, which can either be an execution or a contract. The execution consists essentially in the economic terms which are agreed between the parties. The contract will further qualify those with the legal entities (think of the allocation case, which execution state can involve the investment adviser rather not the actual funds) while not specify the master agreement or collateral terms which might be associated with the subsequent contract.
    Version:
    2.5.4
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Trade.TradeBuilder  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Trade.TradeBuilder builder()  
      boolean equals​(java.lang.Object o)  
      Contract getContract()
      The contract differs from the execution by the fact that its legal terms are fully specified.
      Execution getExecution()
      The execution corresponds to economic terms that are agreed between parties, but which legal terms are not yet specified.
      int hashCode()  
      com.rosetta.model.lib.meta.RosettaMetaData<? extends Trade> metaData()  
      void process​(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)  
      Trade.TradeBuilder toBuilder()  
      java.lang.String toString()  
      • Methods inherited from class com.rosetta.model.lib.RosettaModelObject

        optionalStream, processRosetta, processRosetta
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getContract

        @RosettaSynonym(value="FpML",source="DTCC_11_0",path="Trade") @RosettaSynonym(value="FpML",source="DTCC_9_0",path="Trade") @RosettaSynonym(value="TradeMsg",source="DTCC_11_0",path="Manifest") @RosettaSynonym(value="TradeMsg",source="DTCC_9_0",path="Manifest") @RosettaSynonym(value="ReportingJurisdiction",source="DTCC_11_0",path="ReportingData.ReportingHeader") @RosettaSynonym(value="ReportingJurisdiction",source="DTCC_9_0",path="ReportingData.ReportingHeader") @RosettaSynonym(value="trade",source="Rosetta_Workbench") @RosettaSynonym(value="TrdCaptRpt",source="CME_SubmissionIRS_1_0")
        public final Contract getContract()
        The contract differs from the execution by the fact that its legal terms are fully specified. This includes the legal entities that are associated to it as well as any associated legal agreement, e.g. master agreement, credit and collateral terms, ...
      • getExecution

        @RosettaSynonym(value="TrdCaptRpt",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="trade",source="Rosetta_Workbench")
        public final Execution getExecution()
        The execution corresponds to economic terms that are agreed between parties, but which legal terms are not yet specified. The execution attribute applies to the post-execution scenario of a product that is subject to the clearing mandate and is then routed to the CCP as an execution.
      • metaData

        public com.rosetta.model.lib.meta.RosettaMetaData<? extends Trade> metaData()
        Specified by:
        metaData in class com.rosetta.model.lib.RosettaModelObject
      • toBuilder

        public Trade.TradeBuilder toBuilder()
        Specified by:
        toBuilder in class com.rosetta.model.lib.RosettaModelObject
      • process

        public void process​(com.rosetta.model.lib.path.RosettaPath path,
                            com.rosetta.model.lib.process.Processor processor)
        Specified by:
        process in class com.rosetta.model.lib.RosettaModelObject
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object