Package cdm.base.staticdata.asset.common
Class Instrument.InstrumentBuilderImpl
java.lang.Object
cdm.base.staticdata.asset.common.Instrument.InstrumentBuilderImpl
- All Implemented Interfaces:
Instrument,Instrument.InstrumentBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
Instrument
public static class Instrument.InstrumentBuilderImpl
extends Object
implements Instrument.InstrumentBuilder
Builder Implementation of Instrument
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.Instrument
Instrument.InstrumentBuilder, Instrument.InstrumentBuilderImpl, Instrument.InstrumentImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ListedDerivative.ListedDerivativeBuilderprotected Loan.LoanBuilderprotected Security.SecurityBuilderFields inherited from interface cdm.base.staticdata.asset.common.Instrument
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanA securitized derivative on another asset that is created by an exchange.getLoan()An Asset that represents a loan or borrow obligation.An Asset that is issued by a party to be held by or transferred to others.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setListedDerivative(ListedDerivative _listedDerivative) setSecurity(Security _security) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.staticdata.asset.common.Instrument
getType, metaData, processMethods inherited from interface cdm.base.staticdata.asset.common.Instrument.InstrumentBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
listedDerivative
-
loan
-
security
-
-
Constructor Details
-
InstrumentBuilderImpl
public InstrumentBuilderImpl()
-
-
Method Details
-
getListedDerivative
@RosettaAttribute("ListedDerivative") @Accessor(GETTER) @RuneAttribute("ListedDerivative") public ListedDerivative.ListedDerivativeBuilder getListedDerivative()Description copied from interface:InstrumentA securitized derivative on another asset that is created by an exchange.- Specified by:
getListedDerivativein interfaceInstrument- Specified by:
getListedDerivativein interfaceInstrument.InstrumentBuilder
-
getOrCreateListedDerivative
- Specified by:
getOrCreateListedDerivativein interfaceInstrument.InstrumentBuilder
-
getLoan
@RosettaAttribute("Loan") @Accessor(GETTER) @RuneAttribute("Loan") public Loan.LoanBuilder getLoan()Description copied from interface:InstrumentAn Asset that represents a loan or borrow obligation.- Specified by:
getLoanin interfaceInstrument- Specified by:
getLoanin interfaceInstrument.InstrumentBuilder
-
getOrCreateLoan
- Specified by:
getOrCreateLoanin interfaceInstrument.InstrumentBuilder
-
getSecurity
@RosettaAttribute("Security") @Accessor(GETTER) @RuneAttribute("Security") public Security.SecurityBuilder getSecurity()Description copied from interface:InstrumentAn Asset that is issued by a party to be held by or transferred to others.- Specified by:
getSecurityin interfaceInstrument- Specified by:
getSecurityin interfaceInstrument.InstrumentBuilder
-
getOrCreateSecurity
- Specified by:
getOrCreateSecurityin interfaceInstrument.InstrumentBuilder
-
setListedDerivative
@RosettaAttribute("ListedDerivative") @Accessor(SETTER) @RuneAttribute("ListedDerivative") public Instrument.InstrumentBuilder setListedDerivative(ListedDerivative _listedDerivative) - Specified by:
setListedDerivativein interfaceInstrument.InstrumentBuilder
-
setLoan
@RosettaAttribute("Loan") @Accessor(SETTER) @RuneAttribute("Loan") public Instrument.InstrumentBuilder setLoan(Loan _loan) - Specified by:
setLoanin interfaceInstrument.InstrumentBuilder
-
setSecurity
@RosettaAttribute("Security") @Accessor(SETTER) @RuneAttribute("Security") public Instrument.InstrumentBuilder setSecurity(Security _security) - Specified by:
setSecurityin interfaceInstrument.InstrumentBuilder
-
build
Description copied from interface:InstrumentBuild Methods- Specified by:
buildin interfaceInstrument- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceInstrument- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceInstrument.InstrumentBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public Instrument.InstrumentBuilder 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
-