Class AssetBase.AssetBaseImpl

java.lang.Object
cdm.base.staticdata.asset.common.AssetBase.AssetBaseImpl
All Implemented Interfaces:
AssetBase, com.rosetta.model.lib.RosettaModelObject
Direct Known Subclasses:
Basket.BasketImpl, Cash.CashImpl, Commodity.CommodityImpl, DigitalAsset.DigitalAssetImpl, IndexBase.IndexBaseImpl, InstrumentBase.InstrumentBaseImpl
Enclosing interface:
AssetBase

public static class AssetBase.AssetBaseImpl extends Object implements AssetBase
Immutable Implementation of AssetBase
  • Constructor Details

  • Method Details

    • getIdentifier

      @RosettaAttribute("identifier") @Accessor(GETTER) @Required @Multi @RuneAttribute("identifier") public List<? extends AssetIdentifier> getIdentifier()
      Description copied from interface: AssetBase
      Asset Identifiers are used to uniquely identify an Asset, using a specified Asset Identifier Type.
      Specified by:
      getIdentifier in interface AssetBase
    • getTaxonomy

      @RosettaAttribute("taxonomy") @Accessor(GETTER) @Multi @RuneAttribute("taxonomy") public List<? extends Taxonomy> getTaxonomy()
      Description copied from interface: AssetBase
      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.
      Specified by:
      getTaxonomy in interface AssetBase
    • getIsExchangeListed

      @RosettaAttribute("isExchangeListed") @Accessor(GETTER) @RuneAttribute("isExchangeListed") public Boolean getIsExchangeListed()
      Description copied from interface: AssetBase
      Defines whether the Asset is listed on a public exchange.
      Specified by:
      getIsExchangeListed in interface AssetBase
    • getExchange

      @RosettaAttribute("exchange") @Accessor(GETTER) @RuneAttribute("exchange") public LegalEntity getExchange()
      Description copied from interface: AssetBase
      If the Asset is listed, defines the public exchange of the listing.
      Specified by:
      getExchange in interface AssetBase
    • getRelatedExchange

      @RosettaAttribute("relatedExchange") @Accessor(GETTER) @Multi @RuneAttribute("relatedExchange") public List<? extends LegalEntity> getRelatedExchange()
      Description copied from interface: AssetBase
      Provides the related Exchanges, if applicable.
      Specified by:
      getRelatedExchange in interface AssetBase
    • getAssetType

      @RosettaAttribute("assetType") @Accessor(GETTER) @Required @RuneAttribute("assetType") public AssetTypeEnum getAssetType()
      Description copied from interface: AssetBase
      Specifies the type of asset.
      Specified by:
      getAssetType in interface AssetBase
    • build

      public AssetBase build()
      Description copied from interface: AssetBase
      Build Methods
      Specified by:
      build in interface AssetBase
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      public AssetBase.AssetBaseBuilder toBuilder()
      Specified by:
      toBuilder in interface AssetBase
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(AssetBase.AssetBaseBuilder builder)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object