Class Inventory.InventoryImpl

java.lang.Object
cdm.event.position.Inventory.InventoryImpl
All Implemented Interfaces:
Inventory, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
Inventory

public static class Inventory.InventoryImpl extends Object implements Inventory
Immutable Implementation of Inventory
  • Constructor Details

  • Method Details

    • getInventoryRecord

      @RosettaAttribute("inventoryRecord") @RuneAttribute("inventoryRecord") public List<? extends InventoryRecord> getInventoryRecord()
      Description copied from interface: Inventory
      An array holding the list of inventory being described. Each element in the inventoryRecord array represents an individual piece of inventory i.e. a security.
      Specified by:
      getInventoryRecord in interface Inventory
    • build

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

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

      protected void setBuilderFields(Inventory.InventoryBuilder 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