Package cdm.base.staticdata.asset.common
Class Loan.LoanBuilderImpl
java.lang.Object
cdm.base.staticdata.asset.common.AssetBase.AssetBaseBuilderImpl
cdm.base.staticdata.asset.common.InstrumentBase.InstrumentBaseBuilderImpl
cdm.base.staticdata.asset.common.Loan.LoanBuilderImpl
- All Implemented Interfaces:
AssetBase,AssetBase.AssetBaseBuilder,InstrumentBase,InstrumentBase.InstrumentBaseBuilder,Loan,Loan.LoanBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
Loan
public static class Loan.LoanBuilderImpl
extends InstrumentBase.InstrumentBaseBuilderImpl
implements Loan.LoanBuilder
Builder Implementation of Loan
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.AssetBase
AssetBase.AssetBaseBuilder, AssetBase.AssetBaseBuilderImpl, AssetBase.AssetBaseImplNested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.InstrumentBase
InstrumentBase.InstrumentBaseBuilder, InstrumentBase.InstrumentBaseBuilderImpl, InstrumentBase.InstrumentBaseImplNested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.Loan
Loan.LoanBuilder, Loan.LoanBuilderImpl, Loan.LoanImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<LegalEntity.LegalEntityBuilder> protected com.rosetta.model.lib.records.DateFields inherited from class cdm.base.staticdata.asset.common.InstrumentBase.InstrumentBaseBuilderImpl
instrumentTypeFields inherited from class cdm.base.staticdata.asset.common.AssetBase.AssetBaseBuilderImpl
exchange, identifier, isExchangeListed, relatedExchange, taxonomyFields inherited from interface cdm.base.staticdata.asset.common.InstrumentBase
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBorrower(LegalEntity _borrower) addBorrower(LegalEntity _borrower, int idx) addBorrower(List<? extends LegalEntity> borrowers) addIdentifier(AssetIdentifier _identifier) addIdentifier(AssetIdentifier _identifier, int idx) addIdentifier(List<? extends AssetIdentifier> identifiers) addRelatedExchange(LegalEntity _relatedExchange) addRelatedExchange(LegalEntity _relatedExchange, int idx) addRelatedExchange(List<? extends LegalEntity> relatedExchanges) addTaxonomy(Taxonomy _taxonomy) addTaxonomy(Taxonomy _taxonomy, int idx) addTaxonomy(List<? extends Taxonomy> taxonomys) build()Build MethodsbooleanList<? extends LegalEntity.LegalEntityBuilder> Specifies the borrower.com.rosetta.model.lib.records.DateSpecifies the credit agreement date is the closing date (the date where the agreement has been signed) for the loans in the credit agreement.Specifies the type of loan facility (letter of credit, revolving, ...).getLien()Specifies the seniority level of the lien.getOrCreateBorrower(int index) Denotes the loan tranche that is subject to the derivative transaction.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setBorrower(List<? extends LegalEntity> borrowers) setCreditAgreementDate(com.rosetta.model.lib.records.Date _creditAgreementDate) setExchange(LegalEntity _exchange) setFacilityType(FieldWithMetaString _facilityType) setFacilityTypeValue(String _facilityType) setIdentifier(List<? extends AssetIdentifier> identifiers) setInstrumentType(InstrumentTypeEnum _instrumentType) setIsExchangeListed(Boolean _isExchangeListed) setLien(FieldWithMetaString _lien) setLienValue(String _lien) setRelatedExchange(List<? extends LegalEntity> relatedExchanges) setTaxonomy(List<? extends Taxonomy> taxonomys) setTranche(FieldWithMetaString _tranche) setTrancheValue(String _tranche) toString()Methods inherited from class cdm.base.staticdata.asset.common.InstrumentBase.InstrumentBaseBuilderImpl
getInstrumentTypeMethods inherited from class cdm.base.staticdata.asset.common.AssetBase.AssetBaseBuilderImpl
getExchange, getIdentifier, getIsExchangeListed, getOrCreateExchange, getOrCreateIdentifier, getOrCreateRelatedExchange, getOrCreateTaxonomy, getRelatedExchange, getTaxonomyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.staticdata.asset.common.AssetBase
getIsExchangeListedMethods inherited from interface cdm.base.staticdata.asset.common.AssetBase.AssetBaseBuilder
getExchange, getIdentifier, getOrCreateExchange, getOrCreateIdentifier, getOrCreateRelatedExchange, getOrCreateTaxonomy, getRelatedExchange, getTaxonomyMethods inherited from interface cdm.base.staticdata.asset.common.InstrumentBase
getInstrumentTypeMethods inherited from interface cdm.base.staticdata.asset.common.Loan.LoanBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
borrower
-
lien
-
facilityType
-
creditAgreementDate
protected com.rosetta.model.lib.records.Date creditAgreementDate -
tranche
-
-
Constructor Details
-
LoanBuilderImpl
public LoanBuilderImpl()
-
-
Method Details
-
getBorrower
@RosettaAttribute("borrower") @Accessor(GETTER) @Multi @RuneAttribute("borrower") public List<? extends LegalEntity.LegalEntityBuilder> getBorrower()Description copied from interface:LoanSpecifies the borrower. There can be more than one borrower. It is meant to be used in the event that there is no Bloomberg Id or the Secured List isn't applicable.- Specified by:
getBorrowerin interfaceLoan- Specified by:
getBorrowerin interfaceLoan.LoanBuilder
-
getOrCreateBorrower
- Specified by:
getOrCreateBorrowerin interfaceLoan.LoanBuilder
-
getLien
@RosettaAttribute("lien") @Accessor(GETTER) @RuneAttribute("lien") public FieldWithMetaString.FieldWithMetaStringBuilder getLien()Description copied from interface:LoanSpecifies the seniority level of the lien.- Specified by:
getLienin interfaceLoan- Specified by:
getLienin interfaceLoan.LoanBuilder
-
getOrCreateLien
- Specified by:
getOrCreateLienin interfaceLoan.LoanBuilder
-
getFacilityType
@RosettaAttribute("facilityType") @Accessor(GETTER) @RuneAttribute("facilityType") public FieldWithMetaString.FieldWithMetaStringBuilder getFacilityType()Description copied from interface:LoanSpecifies the type of loan facility (letter of credit, revolving, ...).- Specified by:
getFacilityTypein interfaceLoan- Specified by:
getFacilityTypein interfaceLoan.LoanBuilder
-
getOrCreateFacilityType
- Specified by:
getOrCreateFacilityTypein interfaceLoan.LoanBuilder
-
getCreditAgreementDate
@RosettaAttribute("creditAgreementDate") @Accessor(GETTER) @RuneAttribute("creditAgreementDate") public com.rosetta.model.lib.records.Date getCreditAgreementDate()Description copied from interface:LoanSpecifies the credit agreement date is the closing date (the date where the agreement has been signed) for the loans in the credit agreement. Funding of the facilities occurs on (or sometimes a little after) the Credit Agreement date. This underlier attribute is used to help identify which of the company's outstanding loans are being referenced by knowing to which credit agreement it belongs. ISDA Standards Terms Supplement term: Date of Original Credit Agreement.- Specified by:
getCreditAgreementDatein interfaceLoan
-
getTranche
@RosettaAttribute("tranche") @Accessor(GETTER) @RuneAttribute("tranche") public FieldWithMetaString.FieldWithMetaStringBuilder getTranche()Description copied from interface:LoanDenotes the loan tranche that is subject to the derivative transaction. It will typically be referenced as the Bloomberg tranche number. ISDA Standards Terms Supplement term: Bloomberg Tranche Number.- Specified by:
getTranchein interfaceLoan- Specified by:
getTranchein interfaceLoan.LoanBuilder
-
getOrCreateTranche
- Specified by:
getOrCreateTranchein interfaceLoan.LoanBuilder
-
addIdentifier
@RosettaAttribute("identifier") @Accessor(ADDER) @Required @Multi @RuneAttribute("identifier") public Loan.LoanBuilder addIdentifier(AssetIdentifier _identifier) - Specified by:
addIdentifierin interfaceAssetBase.AssetBaseBuilder- Specified by:
addIdentifierin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addIdentifierin interfaceLoan.LoanBuilder- Overrides:
addIdentifierin classInstrumentBase.InstrumentBaseBuilderImpl
-
addIdentifier
- Specified by:
addIdentifierin interfaceAssetBase.AssetBaseBuilder- Specified by:
addIdentifierin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addIdentifierin interfaceLoan.LoanBuilder- Overrides:
addIdentifierin classInstrumentBase.InstrumentBaseBuilderImpl
-
addIdentifier
- Specified by:
addIdentifierin interfaceAssetBase.AssetBaseBuilder- Specified by:
addIdentifierin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addIdentifierin interfaceLoan.LoanBuilder- Overrides:
addIdentifierin classInstrumentBase.InstrumentBaseBuilderImpl
-
setIdentifier
@RosettaAttribute("identifier") @Accessor(SETTER) @Required @Multi @RuneAttribute("identifier") public Loan.LoanBuilder setIdentifier(List<? extends AssetIdentifier> identifiers) - Specified by:
setIdentifierin interfaceAssetBase.AssetBaseBuilder- Specified by:
setIdentifierin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
setIdentifierin interfaceLoan.LoanBuilder- Overrides:
setIdentifierin classInstrumentBase.InstrumentBaseBuilderImpl
-
addTaxonomy
@RosettaAttribute("taxonomy") @Accessor(ADDER) @Multi @RuneAttribute("taxonomy") public Loan.LoanBuilder addTaxonomy(Taxonomy _taxonomy) - Specified by:
addTaxonomyin interfaceAssetBase.AssetBaseBuilder- Specified by:
addTaxonomyin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addTaxonomyin interfaceLoan.LoanBuilder- Overrides:
addTaxonomyin classInstrumentBase.InstrumentBaseBuilderImpl
-
addTaxonomy
- Specified by:
addTaxonomyin interfaceAssetBase.AssetBaseBuilder- Specified by:
addTaxonomyin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addTaxonomyin interfaceLoan.LoanBuilder- Overrides:
addTaxonomyin classInstrumentBase.InstrumentBaseBuilderImpl
-
addTaxonomy
- Specified by:
addTaxonomyin interfaceAssetBase.AssetBaseBuilder- Specified by:
addTaxonomyin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addTaxonomyin interfaceLoan.LoanBuilder- Overrides:
addTaxonomyin classInstrumentBase.InstrumentBaseBuilderImpl
-
setTaxonomy
@RosettaAttribute("taxonomy") @Accessor(SETTER) @Multi @RuneAttribute("taxonomy") public Loan.LoanBuilder setTaxonomy(List<? extends Taxonomy> taxonomys) - Specified by:
setTaxonomyin interfaceAssetBase.AssetBaseBuilder- Specified by:
setTaxonomyin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
setTaxonomyin interfaceLoan.LoanBuilder- Overrides:
setTaxonomyin classInstrumentBase.InstrumentBaseBuilderImpl
-
setIsExchangeListed
@RosettaAttribute("isExchangeListed") @Accessor(SETTER) @RuneAttribute("isExchangeListed") public Loan.LoanBuilder setIsExchangeListed(Boolean _isExchangeListed) - Specified by:
setIsExchangeListedin interfaceAssetBase.AssetBaseBuilder- Specified by:
setIsExchangeListedin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
setIsExchangeListedin interfaceLoan.LoanBuilder- Overrides:
setIsExchangeListedin classInstrumentBase.InstrumentBaseBuilderImpl
-
setExchange
@RosettaAttribute("exchange") @Accessor(SETTER) @RuneAttribute("exchange") public Loan.LoanBuilder setExchange(LegalEntity _exchange) - Specified by:
setExchangein interfaceAssetBase.AssetBaseBuilder- Specified by:
setExchangein interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
setExchangein interfaceLoan.LoanBuilder- Overrides:
setExchangein classInstrumentBase.InstrumentBaseBuilderImpl
-
addRelatedExchange
@RosettaAttribute("relatedExchange") @Accessor(ADDER) @Multi @RuneAttribute("relatedExchange") public Loan.LoanBuilder addRelatedExchange(LegalEntity _relatedExchange) - Specified by:
addRelatedExchangein interfaceAssetBase.AssetBaseBuilder- Specified by:
addRelatedExchangein interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addRelatedExchangein interfaceLoan.LoanBuilder- Overrides:
addRelatedExchangein classInstrumentBase.InstrumentBaseBuilderImpl
-
addRelatedExchange
- Specified by:
addRelatedExchangein interfaceAssetBase.AssetBaseBuilder- Specified by:
addRelatedExchangein interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addRelatedExchangein interfaceLoan.LoanBuilder- Overrides:
addRelatedExchangein classInstrumentBase.InstrumentBaseBuilderImpl
-
addRelatedExchange
- Specified by:
addRelatedExchangein interfaceAssetBase.AssetBaseBuilder- Specified by:
addRelatedExchangein interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addRelatedExchangein interfaceLoan.LoanBuilder- Overrides:
addRelatedExchangein classInstrumentBase.InstrumentBaseBuilderImpl
-
setRelatedExchange
@RosettaAttribute("relatedExchange") @Accessor(SETTER) @Multi @RuneAttribute("relatedExchange") public Loan.LoanBuilder setRelatedExchange(List<? extends LegalEntity> relatedExchanges) - Specified by:
setRelatedExchangein interfaceAssetBase.AssetBaseBuilder- Specified by:
setRelatedExchangein interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
setRelatedExchangein interfaceLoan.LoanBuilder- Overrides:
setRelatedExchangein classInstrumentBase.InstrumentBaseBuilderImpl
-
setInstrumentType
@RosettaAttribute("instrumentType") @Accessor(SETTER) @Required @RuneAttribute("instrumentType") public Loan.LoanBuilder setInstrumentType(InstrumentTypeEnum _instrumentType) - Specified by:
setInstrumentTypein interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
setInstrumentTypein interfaceLoan.LoanBuilder- Overrides:
setInstrumentTypein classInstrumentBase.InstrumentBaseBuilderImpl
-
addBorrower
@RosettaAttribute("borrower") @Accessor(ADDER) @Multi @RuneAttribute("borrower") public Loan.LoanBuilder addBorrower(LegalEntity _borrower) - Specified by:
addBorrowerin interfaceLoan.LoanBuilder
-
addBorrower
- Specified by:
addBorrowerin interfaceLoan.LoanBuilder
-
addBorrower
- Specified by:
addBorrowerin interfaceLoan.LoanBuilder
-
setBorrower
@RosettaAttribute("borrower") @Accessor(SETTER) @Multi @RuneAttribute("borrower") public Loan.LoanBuilder setBorrower(List<? extends LegalEntity> borrowers) - Specified by:
setBorrowerin interfaceLoan.LoanBuilder
-
setLien
@RosettaAttribute("lien") @Accessor(SETTER) @RuneAttribute("lien") public Loan.LoanBuilder setLien(FieldWithMetaString _lien) - Specified by:
setLienin interfaceLoan.LoanBuilder
-
setLienValue
- Specified by:
setLienValuein interfaceLoan.LoanBuilder
-
setFacilityType
@RosettaAttribute("facilityType") @Accessor(SETTER) @RuneAttribute("facilityType") public Loan.LoanBuilder setFacilityType(FieldWithMetaString _facilityType) - Specified by:
setFacilityTypein interfaceLoan.LoanBuilder
-
setFacilityTypeValue
- Specified by:
setFacilityTypeValuein interfaceLoan.LoanBuilder
-
setCreditAgreementDate
@RosettaAttribute("creditAgreementDate") @Accessor(SETTER) @RuneAttribute("creditAgreementDate") public Loan.LoanBuilder setCreditAgreementDate(com.rosetta.model.lib.records.Date _creditAgreementDate) - Specified by:
setCreditAgreementDatein interfaceLoan.LoanBuilder
-
setTranche
@RosettaAttribute("tranche") @Accessor(SETTER) @RuneAttribute("tranche") public Loan.LoanBuilder setTranche(FieldWithMetaString _tranche) - Specified by:
setTranchein interfaceLoan.LoanBuilder
-
setTrancheValue
- Specified by:
setTrancheValuein interfaceLoan.LoanBuilder
-
build
Description copied from interface:AssetBaseBuild Methods- Specified by:
buildin interfaceAssetBase- Specified by:
buildin interfaceInstrumentBase- Specified by:
buildin interfaceLoan- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
buildin classInstrumentBase.InstrumentBaseBuilderImpl
-
toBuilder
- Specified by:
toBuilderin interfaceAssetBase- Specified by:
toBuilderin interfaceInstrumentBase- Specified by:
toBuilderin interfaceLoan- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
toBuilderin classInstrumentBase.InstrumentBaseBuilderImpl
-
prune
- Specified by:
prunein interfaceAssetBase.AssetBaseBuilder- Specified by:
prunein interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
prunein interfaceLoan.LoanBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
prunein classInstrumentBase.InstrumentBaseBuilderImpl
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
hasDatain classInstrumentBase.InstrumentBaseBuilderImpl
-
merge
public Loan.LoanBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
mergein classInstrumentBase.InstrumentBaseBuilderImpl
-
equals
- Overrides:
equalsin classInstrumentBase.InstrumentBaseBuilderImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classInstrumentBase.InstrumentBaseBuilderImpl
-
toString
- Overrides:
toStringin classInstrumentBase.InstrumentBaseBuilderImpl
-