Package org.isda.cdm

Class QuantityChangePrimitive


  • @RosettaClass
    public class QuantityChangePrimitive
    extends com.rosetta.model.lib.RosettaModelObject
    The primitive event to represent a change in quantity or notional.
    Version:
    2.5.4
    • Method Detail

      • getAfter

        @RosettaSynonym(value="after",
                        source="Rosetta_Workbench")
        public final Trade getAfter()
        The state of the trade (either an execution or a contract, as a follow-up from the event.
      • getBefore

        @RosettaSynonym(value="before",
                        source="Rosetta_Workbench")
        public final Trade getBefore()
        The state of the trade (either an execution or a contract, before the event.
      • metaData

        public com.rosetta.model.lib.meta.RosettaMetaData<? extends QuantityChangePrimitive> metaData()
        Specified by:
        metaData 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