Package cdm.base.staticdata.asset.common
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.AssetPool
AssetPool.AssetPoolBuilder, AssetPool.AssetPoolBuilderImpl, AssetPool.AssetPoolImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigDecimalprotected com.rosetta.model.lib.records.Dateprotected BigDecimalprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe part of the mortgage that is currently outstanding.com.rosetta.model.lib.records.DateOptionally it is possible to specify a version effective date when a version is supplied.The part of the mortgage that is outstanding on trade inception, i.e. has not been repaid yet as principal.The asset pool version.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setCurrentFactor(BigDecimal _currentFactor) setEffectiveDate(com.rosetta.model.lib.records.Date _effectiveDate) setInitialFactor(BigDecimal _initialFactor) setVersion(String _version) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.staticdata.asset.common.AssetPool
getType, metaData, processMethods inherited from interface cdm.base.staticdata.asset.common.AssetPool.AssetPoolBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
version
-
effectiveDate
protected com.rosetta.model.lib.records.Date effectiveDate -
initialFactor
-
currentFactor
-
-
Constructor Details
-
AssetPoolBuilderImpl
public AssetPoolBuilderImpl()
-
-
Method Details
-
getVersion
Description copied from interface:AssetPoolThe asset pool version.- Specified by:
getVersionin interfaceAssetPool
-
getEffectiveDate
@RosettaAttribute("effectiveDate") @RuneAttribute("effectiveDate") public com.rosetta.model.lib.records.Date getEffectiveDate()Description copied from interface:AssetPoolOptionally it is possible to specify a version effective date when a version is supplied.- Specified by:
getEffectiveDatein interfaceAssetPool
-
getInitialFactor
@RosettaAttribute(value="initialFactor", isRequired=true) @RuneAttribute(value="initialFactor", isRequired=true) public BigDecimal getInitialFactor()Description copied from interface:AssetPoolThe 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:
getInitialFactorin interfaceAssetPool
-
getCurrentFactor
@RosettaAttribute("currentFactor") @RuneAttribute("currentFactor") public BigDecimal getCurrentFactor()Description copied from interface:AssetPoolThe 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:
getCurrentFactorin interfaceAssetPool
-
setVersion
@RosettaAttribute("version") @RuneAttribute("version") public AssetPool.AssetPoolBuilder setVersion(String _version) - Specified by:
setVersionin interfaceAssetPool.AssetPoolBuilder
-
setEffectiveDate
@RosettaAttribute("effectiveDate") @RuneAttribute("effectiveDate") public AssetPool.AssetPoolBuilder setEffectiveDate(com.rosetta.model.lib.records.Date _effectiveDate) - Specified by:
setEffectiveDatein interfaceAssetPool.AssetPoolBuilder
-
setInitialFactor
@RosettaAttribute(value="initialFactor", isRequired=true) @RuneAttribute(value="initialFactor", isRequired=true) public AssetPool.AssetPoolBuilder setInitialFactor(BigDecimal _initialFactor) - Specified by:
setInitialFactorin interfaceAssetPool.AssetPoolBuilder
-
setCurrentFactor
@RosettaAttribute("currentFactor") @RuneAttribute("currentFactor") public AssetPool.AssetPoolBuilder setCurrentFactor(BigDecimal _currentFactor) - Specified by:
setCurrentFactorin interfaceAssetPool.AssetPoolBuilder
-
build
Description copied from interface:AssetPoolBuild Methods -
toBuilder
-
prune
- Specified by:
prunein interfaceAssetPool.AssetPoolBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public AssetPool.AssetPoolBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-