Class IdentifiedList.IdentifiedListImpl

java.lang.Object
cdm.base.staticdata.identifier.IdentifiedList.IdentifiedListImpl
All Implemented Interfaces:
IdentifiedList, com.rosetta.model.lib.GlobalKey, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
IdentifiedList

public static class IdentifiedList.IdentifiedListImpl extends Object implements IdentifiedList
Immutable Implementation of IdentifiedList
  • Constructor Details

  • Method Details

    • getListId

      @RosettaAttribute(value="listId", isRequired=true) @RuneAttribute(value="listId", isRequired=true) public Identifier getListId()
      Description copied from interface: IdentifiedList
      The identifier for the list. In the case of a package transaction, this would be the package identifier. This attribute is mandatory to allow the list itself to be identified.
      Specified by:
      getListId in interface IdentifiedList
    • getComponentId

      @RosettaAttribute(value="componentId", isRequired=true) @RuneAttribute(value="componentId", isRequired=true) public List<? extends Identifier> getComponentId()
      Description copied from interface: IdentifiedList
      Identifier(s) for each component of the list. Since the data type is used to link multiple identified objects together, at least 1 component is required in the list at the inception of the Trade. As the trade progresses, this element is expected to contain multiple component Ids.
      Specified by:
      getComponentId in interface IdentifiedList
    • getPrice

      @RosettaAttribute("price") @RuneAttribute("price") public Price getPrice()
      Description copied from interface: IdentifiedList
      The price of the package.
      Specified by:
      getPrice in interface IdentifiedList
    • getMeta

      @RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()
      Specified by:
      getMeta in interface com.rosetta.model.lib.GlobalKey
      Specified by:
      getMeta in interface IdentifiedList
    • build

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

      Specified by:
      toBuilder in interface IdentifiedList
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(IdentifiedList.IdentifiedListBuilder 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