Package cdm.base.staticdata.asset.common
Interface Taxonomy
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
ProductTaxonomy,ProductTaxonomy.ProductTaxonomyBuilder,Taxonomy.TaxonomyBuilder
- All Known Implementing Classes:
ProductTaxonomy.ProductTaxonomyBuilderImpl,ProductTaxonomy.ProductTaxonomyImpl,Taxonomy.TaxonomyBuilderImpl,Taxonomy.TaxonomyImpl
@RosettaDataType(value="Taxonomy",
builder=TaxonomyBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="Taxonomy",
model="cdm",
builder=TaxonomyBuilderImpl.class,
version="5.30.0")
public interface Taxonomy
extends com.rosetta.model.lib.RosettaModelObject
Defines the taxonomy of an object by combining a taxonomy source (i.e. the rules to classify the object) and a value (i.e. the output of those rules on the object).
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of Taxonomystatic classImmutable Implementation of Taxonomy -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsstatic Taxonomy.TaxonomyBuilderbuilder()The source of the taxonomy that defines the rules for classifying the object.getType()getValue()The value according to that taxonomy.default com.rosetta.model.lib.meta.RosettaMetaData<? extends Taxonomy> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getSource
TaxonomySourceEnum getSource()The source of the taxonomy that defines the rules for classifying the object. The taxonomy source is taken from a enumerated list of taxonomy names. Optional as the taxonomy source may not be provided. -
getValue
TaxonomyValue getValue()The value according to that taxonomy. Optional as it may not be possible to classify the object in that taxonomy. -
build
Taxonomy build()Build Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
Taxonomy.TaxonomyBuilder toBuilder()- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
Utility Methods- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- Specified by:
getTypein interfacecom.rosetta.model.lib.RosettaModelObject
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObject
-