Interface Asset

All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
All Known Subinterfaces:
Asset.AssetBuilder, SpecificAsset, SpecificAsset.SpecificAssetBuilder, TransferableProduct, TransferableProduct.TransferableProductBuilder
All Known Implementing Classes:
Asset.AssetBuilderImpl, Asset.AssetImpl, SpecificAsset.SpecificAssetBuilderImpl, SpecificAsset.SpecificAssetImpl, TransferableProduct.TransferableProductBuilderImpl, TransferableProduct.TransferableProductImpl

@RosettaDataType(value="Asset", builder=AssetBuilderImpl.class, version="6.19.0") @RuneDataType(value="Asset", model="cdm", builder=AssetBuilderImpl.class, version="6.19.0") public interface Asset extends com.rosetta.model.lib.RosettaModelObject
An Asset is defined as something that can be owned and transferred in the financial markets. As a choice data type, one and only one of the attributes must be used.
Version:
6.19.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Builder Interface
    static class 
    Builder Implementation of Asset
    static class 
    Immutable Implementation of Asset
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final AssetMeta
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Build Methods
     
    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.
    default Class<? extends Asset>
     
    default com.rosetta.model.lib.meta.RosettaMetaData<? extends Asset>
    Utility Methods
    default void
    process(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

  • Method Details

    • getCash

      Cash getCash()
      An Asset that consists solely of a monetary holding in a currency.
    • getCommodity

      Commodity getCommodity()
      An Asset comprised of raw or refined materials or agricultural products, eg gold, oil or wheat.
    • getDigitalAsset

      DigitalAsset getDigitalAsset()
      An Asset that exists only in digital form, eg Bitcoin or Ethereum; excludes the digital representation of other Assets.
    • getInstrument

      Instrument getInstrument()
      An asset that is issued by one party to one or more others; Instrument is also a choice data type.
    • build

      Asset build()
      Build Methods
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      Asset.AssetBuilder toBuilder()
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • builder

      static Asset.AssetBuilder builder()
    • metaData

      default com.rosetta.model.lib.meta.RosettaMetaData<? extends Asset> metaData()
      Utility Methods
      Specified by:
      metaData in interface com.rosetta.model.lib.RosettaModelObject
    • getType

      @RuneAttribute("@type") default Class<? extends Asset> getType()
      Specified by:
      getType in interface com.rosetta.model.lib.RosettaModelObject
    • process

      default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
      Specified by:
      process in interface com.rosetta.model.lib.RosettaModelObject