Package cdm.base.staticdata.asset.common
Class Asset.AssetImpl
java.lang.Object
cdm.base.staticdata.asset.common.Asset.AssetImpl
- All Implemented Interfaces:
Asset,com.rosetta.model.lib.RosettaModelObject
- Direct Known Subclasses:
SpecificAsset.SpecificAssetImpl,TransferableProduct.TransferableProductImpl
- Enclosing interface:
Asset
Immutable Implementation of Asset
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.Asset
Asset.AssetBuilder, Asset.AssetBuilderImpl, Asset.AssetImpl -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleangetCash()An Asset that consists solely of a monetary holding in a currency.An Asset comprised of raw or refined materials or agricultural products, eg gold, oil or wheat.An Asset that exists only in digital form, eg Bitcoin or Ethereum; excludes the digital representation of other Assets.An asset that is issued by one party to one or more others; Instrument is also a choice data type.inthashCode()protected voidsetBuilderFields(Asset.AssetBuilder builder) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
AssetImpl
-
-
Method Details
-
getCash
Description copied from interface:AssetAn Asset that consists solely of a monetary holding in a currency. -
getCommodity
@RosettaAttribute("Commodity") @Accessor(GETTER) @RuneAttribute("Commodity") public Commodity getCommodity()Description copied from interface:AssetAn Asset comprised of raw or refined materials or agricultural products, eg gold, oil or wheat.- Specified by:
getCommodityin interfaceAsset
-
getDigitalAsset
@RosettaAttribute("DigitalAsset") @Accessor(GETTER) @RuneAttribute("DigitalAsset") public DigitalAsset getDigitalAsset()Description copied from interface:AssetAn Asset that exists only in digital form, eg Bitcoin or Ethereum; excludes the digital representation of other Assets.- Specified by:
getDigitalAssetin interfaceAsset
-
getInstrument
@RosettaAttribute("Instrument") @Accessor(GETTER) @RuneAttribute("Instrument") public Instrument getInstrument()Description copied from interface:AssetAn asset that is issued by one party to one or more others; Instrument is also a choice data type.- Specified by:
getInstrumentin interfaceAsset
-
build
Description copied from interface:AssetBuild Methods -
toBuilder
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-