Class AssetLeg.AssetLegImpl

java.lang.Object
cdm.product.template.AssetLeg.AssetLegImpl
All Implemented Interfaces:
AssetLeg, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
AssetLeg

public static class AssetLeg.AssetLegImpl extends Object implements AssetLeg
Immutable Implementation of AssetLeg
  • Constructor Details

  • Method Details

    • getSettlementDate

      @RosettaAttribute(value="settlementDate", isRequired=true) @RuneAttribute(value="settlementDate", isRequired=true) public AdjustableOrRelativeDate getSettlementDate()
      Description copied from interface: AssetLeg
      Specifies the settlement date of securities. In a repo transaction the purchase date would always be the effective date as specified under Economic Terms, the repurchase date would always be the termination date as specified under Economic Terms.
      Specified by:
      getSettlementDate in interface AssetLeg
    • getDeliveryMethod

      @RosettaAttribute(value="deliveryMethod", isRequired=true) @RuneAttribute(value="deliveryMethod", isRequired=true) public DeliveryMethodEnum getDeliveryMethod()
      Description copied from interface: AssetLeg
      Specifies a delivery method for the security transaction.
      Specified by:
      getDeliveryMethod in interface AssetLeg
    • build

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

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

      protected void setBuilderFields(AssetLeg.AssetLegBuilder 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