Package cdm.observable.asset
Class CreditNotation.CreditNotationBuilderImpl
java.lang.Object
cdm.observable.asset.CreditNotation.CreditNotationBuilderImpl
- All Implemented Interfaces:
CreditNotation,CreditNotation.CreditNotationBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
CreditNotation
public static class CreditNotation.CreditNotationBuilderImpl
extends Object
implements CreditNotation.CreditNotationBuilder
Builder Implementation of CreditNotation
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.observable.asset.CreditNotation
CreditNotation.CreditNotationBuilder, CreditNotation.CreditNotationBuilderImpl, CreditNotation.CreditNotationImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CreditRatingAgencyEnumprotected CreditRatingCreditWatchEnumprotected CreditRatingDebt.CreditRatingDebtBuilderprotected CreditRatingOutlookEnumFields inherited from interface cdm.observable.asset.CreditNotation
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanSpecifies The credit agency to which the other variables (notation, scale, debt type) refer to.Indicates the potential direction of a short-term or long-term rating.getDebt()Specifies the credit rating debt type (e.g. long term, high yield, deposits, ...) associated with the credit rating notation and scale.Specifies The credit rating notation.Assesses the potential direction of a long-term credit rating over the intermediate term, which is generally up to two years for investment grade and generally up to one year for speculative grade.getScale()Specifies the credit rating scale, with a typical distinction between short term, long term.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setAgency(CreditRatingAgencyEnum _agency) setCreditWatch(CreditRatingCreditWatchEnum _creditWatch) setDebt(CreditRatingDebt _debt) setNotation(FieldWithMetaString _notation) setNotationValue(String _notation) setOutlook(CreditRatingOutlookEnum _outlook) setScale(FieldWithMetaString _scale) setScaleValue(String _scale) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.observable.asset.CreditNotation
getType, metaData, processMethods inherited from interface cdm.observable.asset.CreditNotation.CreditNotationBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
agency
-
notation
-
scale
-
debt
-
outlook
-
creditWatch
-
-
Constructor Details
-
CreditNotationBuilderImpl
public CreditNotationBuilderImpl()
-
-
Method Details
-
getAgency
@RosettaAttribute(value="agency", isRequired=true) @RuneAttribute(value="agency", isRequired=true) public CreditRatingAgencyEnum getAgency()Description copied from interface:CreditNotationSpecifies The credit agency to which the other variables (notation, scale, debt type) refer to.- Specified by:
getAgencyin interfaceCreditNotation
-
getNotation
@RosettaAttribute(value="notation", isRequired=true) @RuneAttribute(value="notation", isRequired=true) public FieldWithMetaString.FieldWithMetaStringBuilder getNotation()Description copied from interface:CreditNotationSpecifies The credit rating notation. As it varies among credit rating agencies, FpML doesn't specify a default scheme.- Specified by:
getNotationin interfaceCreditNotation- Specified by:
getNotationin interfaceCreditNotation.CreditNotationBuilder
-
getOrCreateNotation
- Specified by:
getOrCreateNotationin interfaceCreditNotation.CreditNotationBuilder
-
getScale
@RosettaAttribute("scale") @RuneAttribute("scale") public FieldWithMetaString.FieldWithMetaStringBuilder getScale()Description copied from interface:CreditNotationSpecifies the credit rating scale, with a typical distinction between short term, long term. FpML doesn't specify a default scheme, which is hence not specified as an enumeration as part of the CDM.- Specified by:
getScalein interfaceCreditNotation- Specified by:
getScalein interfaceCreditNotation.CreditNotationBuilder
-
getOrCreateScale
- Specified by:
getOrCreateScalein interfaceCreditNotation.CreditNotationBuilder
-
getDebt
@RosettaAttribute("debt") @RuneAttribute("debt") public CreditRatingDebt.CreditRatingDebtBuilder getDebt()Description copied from interface:CreditNotationSpecifies the credit rating debt type (e.g. long term, high yield, deposits, ...) associated with the credit rating notation and scale.- Specified by:
getDebtin interfaceCreditNotation- Specified by:
getDebtin interfaceCreditNotation.CreditNotationBuilder
-
getOrCreateDebt
- Specified by:
getOrCreateDebtin interfaceCreditNotation.CreditNotationBuilder
-
getOutlook
Description copied from interface:CreditNotationAssesses the potential direction of a long-term credit rating over the intermediate term, which is generally up to two years for investment grade and generally up to one year for speculative grade.- Specified by:
getOutlookin interfaceCreditNotation
-
getCreditWatch
@RosettaAttribute("creditWatch") @RuneAttribute("creditWatch") public CreditRatingCreditWatchEnum getCreditWatch()Description copied from interface:CreditNotationIndicates the potential direction of a short-term or long-term rating. It focuses on identifiable events and short-term trends that cause ratings to be placed under special surveillance.- Specified by:
getCreditWatchin interfaceCreditNotation
-
setAgency
@RosettaAttribute(value="agency", isRequired=true) @RuneAttribute(value="agency", isRequired=true) public CreditNotation.CreditNotationBuilder setAgency(CreditRatingAgencyEnum _agency) - Specified by:
setAgencyin interfaceCreditNotation.CreditNotationBuilder
-
setNotation
@RosettaAttribute(value="notation", isRequired=true) @RuneAttribute(value="notation", isRequired=true) public CreditNotation.CreditNotationBuilder setNotation(FieldWithMetaString _notation) - Specified by:
setNotationin interfaceCreditNotation.CreditNotationBuilder
-
setNotationValue
- Specified by:
setNotationValuein interfaceCreditNotation.CreditNotationBuilder
-
setScale
@RosettaAttribute("scale") @RuneAttribute("scale") public CreditNotation.CreditNotationBuilder setScale(FieldWithMetaString _scale) - Specified by:
setScalein interfaceCreditNotation.CreditNotationBuilder
-
setScaleValue
- Specified by:
setScaleValuein interfaceCreditNotation.CreditNotationBuilder
-
setDebt
@RosettaAttribute("debt") @RuneAttribute("debt") public CreditNotation.CreditNotationBuilder setDebt(CreditRatingDebt _debt) - Specified by:
setDebtin interfaceCreditNotation.CreditNotationBuilder
-
setOutlook
@RosettaAttribute("outlook") @RuneAttribute("outlook") public CreditNotation.CreditNotationBuilder setOutlook(CreditRatingOutlookEnum _outlook) - Specified by:
setOutlookin interfaceCreditNotation.CreditNotationBuilder
-
setCreditWatch
@RosettaAttribute("creditWatch") @RuneAttribute("creditWatch") public CreditNotation.CreditNotationBuilder setCreditWatch(CreditRatingCreditWatchEnum _creditWatch) - Specified by:
setCreditWatchin interfaceCreditNotation.CreditNotationBuilder
-
build
Description copied from interface:CreditNotationBuild Methods- Specified by:
buildin interfaceCreditNotation- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceCreditNotation- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceCreditNotation.CreditNotationBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public CreditNotation.CreditNotationBuilder 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
-