Package cdm.base.staticdata.codelist
Class CodeValue.CodeValueBuilderImpl
java.lang.Object
cdm.base.staticdata.codelist.CodeValue.CodeValueBuilderImpl
- All Implemented Interfaces:
CodeValue,CodeValue.CodeValueBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
CodeValue
public static class CodeValue.CodeValueBuilderImpl
extends Object
implements CodeValue.CodeValueBuilder
Builder Implementation of CodeValue
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.staticdata.codelist.CodeValue
CodeValue.CodeValueBuilder, CodeValue.CodeValueBuilderImpl, CodeValue.CodeValueImpl -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbooleancom.rosetta.model.lib.records.DateWhen the code ceased to be valid for new usesA description of the meaning of the code, e.g.com.rosetta.model.lib.records.DateWhen the code became/becomes effectiveWhere the code was defined,e.g.getValue()The value of the code, e.g.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setDeprecatedDate(com.rosetta.model.lib.records.Date _deprecatedDate) setDescription(String _description) setEffectiveDate(com.rosetta.model.lib.records.Date _effectiveDate) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.staticdata.codelist.CodeValue.CodeValueBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
value
-
description
-
source
-
effectiveDate
protected com.rosetta.model.lib.records.Date effectiveDate -
deprecatedDate
protected com.rosetta.model.lib.records.Date deprecatedDate
-
-
Constructor Details
-
CodeValueBuilderImpl
public CodeValueBuilderImpl()
-
-
Method Details
-
getValue
@RosettaAttribute("value") @Accessor(GETTER) @Required @RuneAttribute("value") public String getValue()Description copied from interface:CodeValueThe value of the code, e.g. USNY -
getDescription
@RosettaAttribute("description") @Accessor(GETTER) @RuneAttribute("description") public String getDescription()Description copied from interface:CodeValueA description of the meaning of the code, e.g. New York City, USA- Specified by:
getDescriptionin interfaceCodeValue
-
getSource
Description copied from interface:CodeValueWhere the code was defined,e.g. ISDA, FpML, Bloomberg -
getEffectiveDate
@RosettaAttribute("effectiveDate") @Accessor(GETTER) @RuneAttribute("effectiveDate") public com.rosetta.model.lib.records.Date getEffectiveDate()Description copied from interface:CodeValueWhen the code became/becomes effective- Specified by:
getEffectiveDatein interfaceCodeValue
-
getDeprecatedDate
@RosettaAttribute("deprecatedDate") @Accessor(GETTER) @RuneAttribute("deprecatedDate") public com.rosetta.model.lib.records.Date getDeprecatedDate()Description copied from interface:CodeValueWhen the code ceased to be valid for new uses- Specified by:
getDeprecatedDatein interfaceCodeValue
-
setValue
@RosettaAttribute("value") @Accessor(SETTER) @Required @RuneAttribute("value") public CodeValue.CodeValueBuilder setValue(String _value) - Specified by:
setValuein interfaceCodeValue.CodeValueBuilder
-
setDescription
@RosettaAttribute("description") @Accessor(SETTER) @RuneAttribute("description") public CodeValue.CodeValueBuilder setDescription(String _description) - Specified by:
setDescriptionin interfaceCodeValue.CodeValueBuilder
-
setSource
@RosettaAttribute("source") @Accessor(SETTER) @RuneAttribute("source") public CodeValue.CodeValueBuilder setSource(String _source) - Specified by:
setSourcein interfaceCodeValue.CodeValueBuilder
-
setEffectiveDate
@RosettaAttribute("effectiveDate") @Accessor(SETTER) @RuneAttribute("effectiveDate") public CodeValue.CodeValueBuilder setEffectiveDate(com.rosetta.model.lib.records.Date _effectiveDate) - Specified by:
setEffectiveDatein interfaceCodeValue.CodeValueBuilder
-
setDeprecatedDate
@RosettaAttribute("deprecatedDate") @Accessor(SETTER) @RuneAttribute("deprecatedDate") public CodeValue.CodeValueBuilder setDeprecatedDate(com.rosetta.model.lib.records.Date _deprecatedDate) - Specified by:
setDeprecatedDatein interfaceCodeValue.CodeValueBuilder
-
build
Description copied from interface:CodeValueBuild Methods -
toBuilder
-
prune
- Specified by:
prunein interfaceCodeValue.CodeValueBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public CodeValue.CodeValueBuilder 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
-