Class AssetPool.AssetPoolBuilderImpl

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

public static class AssetPool.AssetPoolBuilderImpl extends Object implements AssetPool.AssetPoolBuilder
Builder Implementation of AssetPool
  • Field Details

    • version

      protected String version
    • effectiveDate

      protected com.rosetta.model.lib.records.Date effectiveDate
    • initialFactor

      protected BigDecimal initialFactor
    • currentFactor

      protected BigDecimal currentFactor
  • Constructor Details

    • AssetPoolBuilderImpl

      public AssetPoolBuilderImpl()
  • 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
    • setVersion

      @RosettaAttribute("version") @RuneAttribute("version") public AssetPool.AssetPoolBuilder setVersion(String _version)
      Specified by:
      setVersion in interface AssetPool.AssetPoolBuilder
    • setEffectiveDate

      @RosettaAttribute("effectiveDate") @RuneAttribute("effectiveDate") public AssetPool.AssetPoolBuilder setEffectiveDate(com.rosetta.model.lib.records.Date _effectiveDate)
      Specified by:
      setEffectiveDate in interface AssetPool.AssetPoolBuilder
    • setInitialFactor

      @RosettaAttribute(value="initialFactor", isRequired=true) @RuneAttribute(value="initialFactor", isRequired=true) public AssetPool.AssetPoolBuilder setInitialFactor(BigDecimal _initialFactor)
      Specified by:
      setInitialFactor in interface AssetPool.AssetPoolBuilder
    • setCurrentFactor

      @RosettaAttribute("currentFactor") @RuneAttribute("currentFactor") public AssetPool.AssetPoolBuilder setCurrentFactor(BigDecimal _currentFactor)
      Specified by:
      setCurrentFactor in interface AssetPool.AssetPoolBuilder
    • 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
    • prune

      Specified by:
      prune in interface AssetPool.AssetPoolBuilder
      Specified by:
      prune in interface com.rosetta.model.lib.RosettaModelObjectBuilder
    • hasData

      public boolean hasData()
      Specified by:
      hasData in interface com.rosetta.model.lib.RosettaModelObjectBuilder
    • merge

      public AssetPool.AssetPoolBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger)
      Specified by:
      merge in interface com.rosetta.model.lib.RosettaModelObjectBuilder
    • 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