Class Lineage.LineageImpl

java.lang.Object
cdm.event.common.Lineage.LineageImpl
All Implemented Interfaces:
Lineage, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
Lineage

public static class Lineage.LineageImpl extends Object implements Lineage
Immutable Implementation of Lineage
  • Constructor Details

  • Method Details

    • getTradeReference

      @RosettaAttribute("tradeReference") @RuneAttribute("tradeReference") public List<? extends ReferenceWithMetaTrade> getTradeReference()
      Description copied from interface: Lineage
      Getter Methods
      Specified by:
      getTradeReference in interface Lineage
    • getEventReference

      @RosettaAttribute("eventReference") @RuneAttribute("eventReference") public List<? extends ReferenceWithMetaWorkflowStep> getEventReference()
      Description copied from interface: Lineage
      The reference to the instantiation of an Event object, either through a globalKey or an xml-derived id/href mechanism. The definition associated to the Lineage class provides more details with respect to those referencing approaches, their expected usage and available implementation.
      Specified by:
      getEventReference in interface Lineage
    • getPortfolioStateReference

      @RosettaAttribute("portfolioStateReference") @RuneAttribute("portfolioStateReference") public List<? extends ReferenceWithMetaPortfolioState> getPortfolioStateReference()
      Description copied from interface: Lineage
      The reference to the previous state of a Portfolio, in a chain of Events leading up to a build of that Portfolio as the holding of Product(s) in specific Quantity(ies). As part of the PortfolioState object, a pointer to the previous PortfolioState is provided through a Lineage object, together with pointer(s) to the Event or set of Events leading up to the current (new) state.
      Specified by:
      getPortfolioStateReference in interface Lineage
    • build

      public Lineage build()
      Description copied from interface: Lineage
      Build Methods
      Specified by:
      build in interface Lineage
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      public Lineage.LineageBuilder toBuilder()
      Specified by:
      toBuilder in interface Lineage
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(Lineage.LineageBuilder builder)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object