com.ibm.commerce.orderquotation.commands

Class OrderItemSelectCmd.EnumerationGroup

  • java.lang.Object
    • com.ibm.commerce.orderquotation.commands.OrderItemSelectCmd.EnumerationGroup
  • Enclosing interface:
    OrderItemSelectCmd


    public static class OrderItemSelectCmd.EnumerationGroup
    extends java.lang.Object
    The OrderItemSelect enumeration group.
    • Constructor Summary

      Constructors 
      Constructor and Description
      EnumerationGroup()
      Constructor for EnumerationGroup.
      EnumerationGroup(java.lang.Integer anEnumerationGroupId, java.lang.Integer anQuotationStoreId, java.lang.Long anQuotationContractId, OrderItemAccessBean[] aabOrderItems, java.lang.Double adQuantity, java.lang.String astrUOM)
      Constructor for EnumerationGroup.
      EnumerationGroup(java.lang.Integer anEnumerationGroupId, java.lang.Integer anQuotationStoreId, java.lang.Long anQuotationContractId, java.lang.String[] astrOrderAbbreviations, java.lang.String[] astrOrderItemAbbreviations, java.lang.Double adQuantity, java.lang.String astrUOM)
      Constructor for EnumerationGroup.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Integer getEnumerationGroupId()
      Returns the enumeration group ID.
      java.lang.String[] getOrderAbbreviations()
      Returns the Order abbreviations used to resolve OrderItemId abbreviations specified by the orderItemId_<i> parameter.
      java.lang.String[] getOrderItemAbbreviations()
      Returns the OrderItems to be copied to selection Orders.
      OrderItemAccessBean[] getOrderItems()
      Returns the OrderItems to be copied to selection Orders.
      java.lang.Double getQuantity()
      Returns the quantity to be set in the shopping cart's quotation selection Orders for each of the items specified by orderItemId_<i>.
      java.lang.Long getQuotationContractId()
      Returns the Contract for which quotation selection Orders should be created or updated as specified by the orderItemId_<i> parameter.
      java.lang.Integer getQuotationStoreId()
      Returns the Store for which quotation selection Orders should be created or updated as specified by the orderItemId_<i> parameter.
      java.lang.String getUOM()
      Returns the unit of measure for the quantities specified by quantity_<i>.
      boolean isResolved()
      Returns whether the OrderItem abbreviations is/should be resolved.
      void setEnumerationGroupId(java.lang.Integer anEnumerationGroupId)
      Sets the enumeration group ID.
      void setOrderAbbreviations(java.lang.String[] astrOrderAbbreviations)
      Sets the Order abbreviations used to resolve OrderItemId abbreviations specified by the orderItemId_<i> parameter.
      void setOrderItemAbbreviations(java.lang.String[] astrOrderItemAbbreviations)
      Sets the OrderItems to be copied to selection Orders.
      void setOrderItems(OrderItemAccessBean[] aabOrderItems)
      Sets the OrderItems to be copied to selection Orders.
      void setQuantity(java.lang.Double adQuantity)
      Sets the quantity to be set in the shopping cart's quotation selection Orders for each of the items specified by orderItemId_<i>.
      void setQuotationContractId(java.lang.Long anQuotationContractId)
      Sets the Contract for which quotation selection Orders should be created or updated as specified by the orderItemId_<i> parameter.
      void setQuotationStoreId(java.lang.Integer anQuotationStoreId)
      Sets the Store for which quotation selection Orders should be created or updated as specified by the orderItemId_<i> parameter.
      void setResolved(boolean abResolved)
      Sets whether the OrderItem abbreviations is/should be resolved.
      void setUOM(java.lang.String astrUOM)
      Sets the unit of measure for the quantities specified by quantity_<i>.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnumerationGroup

        public EnumerationGroup()
        Constructor for EnumerationGroup.
      • EnumerationGroup

        public EnumerationGroup(java.lang.Integer anEnumerationGroupId,
                                java.lang.Integer anQuotationStoreId,
                                java.lang.Long anQuotationContractId,
                                java.lang.String[] astrOrderAbbreviations,
                                java.lang.String[] astrOrderItemAbbreviations,
                                java.lang.Double adQuantity,
                                java.lang.String astrUOM)
        Constructor for EnumerationGroup.
        Parameters:
        anEnumerationGroupId - the enumeration group ID.
        anQuotationStoreId - the quotation Store ID.
        anQuotationContractId - the quotation Contract ID.
        astrOrderAbbreviations - the Order abbreviations.
        astrOrderItemAbbreviations - the OrderItem abbreviations.
        adQuantity - the quantity.
        astrUOM - the UOM.
      • EnumerationGroup

        public EnumerationGroup(java.lang.Integer anEnumerationGroupId,
                                java.lang.Integer anQuotationStoreId,
                                java.lang.Long anQuotationContractId,
                                OrderItemAccessBean[] aabOrderItems,
                                java.lang.Double adQuantity,
                                java.lang.String astrUOM)
        Constructor for EnumerationGroup.
        Parameters:
        anEnumerationGroupId - the enumeration group ID.
        anQuotationStoreId - the quotation Store ID.
        anQuotationContractId - the quotation Contract ID.
        aabOrderItems - the OrderItems.
        adQuantity - the quantity.
        astrUOM - the UOM.
    • Method Detail

      • getEnumerationGroupId

        public java.lang.Integer getEnumerationGroupId()
        Returns the enumeration group ID.
        Returns:
        the enumeration group ID.
      • getQuotationStoreId

        public java.lang.Integer getQuotationStoreId()
        Returns the Store for which quotation selection Orders should be created or updated as specified by the orderItemId_<i> parameter.
        Returns:
        the quotation Store ID.
      • getQuotationContractId

        public java.lang.Long getQuotationContractId()
        Returns the Contract for which quotation selection Orders should be created or updated as specified by the orderItemId_<i> parameter. Ignored if quotationStoreId_<i> is not specified.
        Returns:
        the quotation Contract ID.
      • getOrderAbbreviations

        public java.lang.String[] getOrderAbbreviations()
        Returns the Order abbreviations used to resolve OrderItemId abbreviations specified by the orderItemId_<i> parameter.
        Returns:
        the Order abbreviations.
      • getOrderItemAbbreviations

        public java.lang.String[] getOrderItemAbbreviations()
        Returns the OrderItems to be copied to selection Orders. OrderItems that are in quotation Orders are copied to selection Orders for their parent Orders. They are in the same Store and use the same Contract as their quotation OrderQuotationRel objects. OrderItems that are not in quotation Orders are copied to selection Orders for themselves. They are in the Stores and use the Contracts specified by the quotationStoreId_<i> and quotationContractId_<i> parameters.
        Returns:
        the OrderItem abbreviations.
      • getQuantity

        public java.lang.Double getQuantity()
        Returns the quantity to be set in the shopping cart's quotation selection Orders for each of the items specified by orderItemId_<i>.
        Returns:
        the quantity.
      • getUOM

        public java.lang.String getUOM()
        Returns the unit of measure for the quantities specified by quantity_<i>.
        Returns:
        the UOM.
      • getOrderItems

        public OrderItemAccessBean[] getOrderItems()
        Returns the OrderItems to be copied to selection Orders. OrderItems that are in quotation Orders are copied to selection Orders for their parent Orders. They are in the same Store and use the same Contract as their quotation OrderQuotationRel objects. OrderItems that are not in quotation Orders are copied to selection Orders for themselves. They are in the Stores and use the Contracts specified by the quotationStoreId_<i> and quotationContractId_<i> parameters.
        Returns:
        the OrderItems.
      • isResolved

        public boolean isResolved()
        Returns whether the OrderItem abbreviations is/should be resolved.
        Returns:
        whether the OrderItem abbreviations is/should be resolved.
      • setEnumerationGroupId

        public void setEnumerationGroupId(java.lang.Integer anEnumerationGroupId)
        Sets the enumeration group ID.
        Parameters:
        anEnumerationGroupId - the enumeration group ID.
      • setQuotationStoreId

        public void setQuotationStoreId(java.lang.Integer anQuotationStoreId)
        Sets the Store for which quotation selection Orders should be created or updated as specified by the orderItemId_<i> parameter.
        Parameters:
        anQuotationStoreId - the quotation Store ID.
      • setQuotationContractId

        public void setQuotationContractId(java.lang.Long anQuotationContractId)
        Sets the Contract for which quotation selection Orders should be created or updated as specified by the orderItemId_<i> parameter. Ignored if quotationStoreId_<i> is not specified.
        Parameters:
        anQuotationContractId - the quotation Contract ID.
      • setOrderAbbreviations

        public void setOrderAbbreviations(java.lang.String[] astrOrderAbbreviations)
        Sets the Order abbreviations used to resolve OrderItemId abbreviations specified by the orderItemId_<i> parameter.
        Parameters:
        astrOrderAbbreviations - the Order abbreviations.
      • setOrderItemAbbreviations

        public void setOrderItemAbbreviations(java.lang.String[] astrOrderItemAbbreviations)
        Sets the OrderItems to be copied to selection Orders. OrderItems that are in quotation Orders are copied to selection Orders for their parent Orders. They are in the same Store and use the same Contract as their quotation OrderQuotationRel objects. OrderItems that are not in quotation Orders are copied to selection Orders for themselves. They are in the Stores and use the Contracts specified by the quotationStoreId_<i> and quotationContractId_<i> parameters.
        Parameters:
        astrOrderItemAbbreviations - the OrderItem abbreviations.
      • setQuantity

        public void setQuantity(java.lang.Double adQuantity)
        Sets the quantity to be set in the shopping cart's quotation selection Orders for each of the items specified by orderItemId_<i>.
        Parameters:
        adQuantity - the quantity.
      • setUOM

        public void setUOM(java.lang.String astrUOM)
        Sets the unit of measure for the quantities specified by quantity_<i>.
        Parameters:
        astrUOM - the UOM.
      • setOrderItems

        public void setOrderItems(OrderItemAccessBean[] aabOrderItems)
        Sets the OrderItems to be copied to selection Orders. OrderItems that are in quotation Orders are copied to selection Orders for their parent Orders. They are in the same Store and use the same Contract as their quotation OrderQuotationRel objects. OrderItems that are not in quotation Orders are copied to selection Orders for themselves. They are in the Stores and use the Contracts specified by the quotationStoreId_<i> and quotationContractId_<i> parameters.
        Parameters:
        aabOrderItems - the OrderItems.
      • setResolved

        public void setResolved(boolean abResolved)
        Sets whether the OrderItem abbreviations is/should be resolved.
        Parameters:
        abResolved - whether the OrderItem abbreviations is/should be resolved.