Class AssetPool.AssetPoolImpl

java.lang.Object
cdm.base.staticdata.asset.common.AssetPool.AssetPoolImpl
All Implemented Interfaces:
AssetPool, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
AssetPool

public static class AssetPool.AssetPoolImpl extends Object implements AssetPool
Immutable Implementation of AssetPool
  • Constructor Details

  • Method Details

    • getVersion

      @RosettaAttribute("version") @RuneAttribute("version") public String getVersion()
      Description copied from interface: AssetPool
      The asset pool version.
      Specified by:
      getVersion in interface AssetPool
    • getEffectiveDate

      @RosettaAttribute("effectiveDate") @RuneAttribute("effectiveDate") public com.rosetta.model.lib.records.Date getEffectiveDate()
      Description copied from interface: AssetPool
      Optionally it is possible to specify a version effective date when a version is supplied.
      Specified by:
      getEffectiveDate in interface AssetPool
    • getInitialFactor

      @RosettaAttribute(value="initialFactor", isRequired=true) @RuneAttribute(value="initialFactor", isRequired=true) public BigDecimal getInitialFactor()
      Description copied from interface: AssetPool
      The part of the mortgage that is outstanding on trade inception, i.e. has not been repaid yet as principal. It is expressed as a multiplier factor to the mortgage: 1 means that the whole mortgage amount is outstanding, 0.8 means that 20% has been repaid.
      Specified by:
      getInitialFactor in interface AssetPool
    • getCurrentFactor

      @RosettaAttribute("currentFactor") @RuneAttribute("currentFactor") public BigDecimal getCurrentFactor()
      Description copied from interface: AssetPool
      The part of the mortgage that is currently outstanding. It is expressed similarly to the initial factor, as factor multiplier to the mortgage. This term is formally defined as part of the 'ISDA Standard Terms Supplement for use with credit derivatives transactions on mortgage-backed security with pas-as-you-go or physical settlement'.
      Specified by:
      getCurrentFactor in interface AssetPool
    • build

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

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

      protected void setBuilderFields(AssetPool.AssetPoolBuilder 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