Class ItemBaseImpl

    • Field Detail

      • createdAt

        protected java.util.Date createdAt
        Created date
      • currency

        protected java.lang.String currency
        Currency
      • configurable

        protected boolean configurable
        Item is configurable?
      • variant

        protected boolean variant
        Item is product variant?
      • configType

        protected java.lang.String configType
        Configuration type
      • deliveredQuantity

        protected java.math.BigDecimal deliveredQuantity
        Already delivered quantity
      • deliveredQuantityUnit

        protected java.lang.String deliveredQuantityUnit
        Delivered quantity unit
      • itmTypeUsage

        protected java.lang.String itmTypeUsage
        Item type usage
      • businessObjectType

        protected java.lang.String businessObjectType
        Business object type
      • latestDeliveryDate

        protected java.util.Date latestDeliveryDate
        Latest delivery date
      • freeQuantity

        protected java.math.BigDecimal freeQuantity
        Free quantity (related to free goods)
      • oldQuantity

        protected java.math.BigDecimal oldQuantity
        Previous quantity
      • text

        protected Text text
        Item text
      • netPriceUnit

        protected java.lang.String netPriceUnit
        Net price unit
      • netQuantPriceUnit

        protected java.math.BigDecimal netQuantPriceUnit
        Quantity for net price
      • taxValue

        protected java.math.BigDecimal taxValue
        Tax value
      • netValue

        protected java.math.BigDecimal netValue
        Net value
      • netValueWOFreight

        protected java.math.BigDecimal netValueWOFreight
        Net value without freight
      • freightValue

        protected java.math.BigDecimal freightValue
        Freight value
      • grossValue

        protected java.math.BigDecimal grossValue
        Gross value
      • grossValueWOFreight

        protected java.math.BigDecimal grossValueWOFreight
        Gross value without freight
      • netPrice

        protected java.math.BigDecimal netPrice
        Net price
      • totalDiscount

        protected java.math.BigDecimal totalDiscount
        Total discount
      • totalValue

        protected java.math.BigDecimal totalValue
        Total value
      • reqDeliveryDate

        protected java.util.Date reqDeliveryDate
        Required delivery date
      • confirmedDeliveryDate

        protected java.util.Date confirmedDeliveryDate
        Confirmed delivery date
      • confirmedQuantity

        protected java.math.BigDecimal confirmedQuantity
        Confirmed quantity
      • possibleUnits

        protected java.util.List<java.lang.String> possibleUnits
        List of possible units
      • quantityToDeliver

        protected java.math.BigDecimal quantityToDeliver
        Quantity to deliver
      • scheduleLines

        protected java.util.List<Schedline> scheduleLines
        List of schedule lines
      • partnerList

        protected PartnerList partnerList
        Partner list
      • deliveryPriority

        protected java.lang.String deliveryPriority
        Delivery priority
      • deletable

        protected boolean deletable
        Item is deletable
      • cancelable

        protected boolean cancelable
        Item can be cancelled
      • priceRelevant

        protected boolean priceRelevant
        Item is price relevant
      • predecessorList

        protected java.util.List<ConnectedDocumentItem> predecessorList
        Doc Flow for the document items since doc flow harmonization for CRM 5.2
      • erroneous

        protected boolean erroneous
        Invalid from an business logic point of view
      • productExists

        protected boolean productExists
        Returns true if the product of the item exists in the backend
      • itemCategory

        protected java.lang.String itemCategory
        Item category
      • statistical

        protected boolean statistical
        Statistical
    • Constructor Detail

      • ItemBaseImpl

        public ItemBaseImpl()
        Default constructor for the Item
    • Method Detail

      • init

        public void init()
        Description copied from interface: BusinessObject
        This method is called after all properties have been set It needs to be defined in the Spring bean definition as init-method.
        Specified by:
        init in interface BusinessObject
        Overrides:
        init in class BusinessObjectBase
      • addPredecessor

        public void addPredecessor​(ConnectedDocumentItem predecessor)
        Description copied from interface: ItemBase
        Adds a ConnectedDocumentItem to the predecessor list. A null reference passed to this function will be ignored, in this case nothing will happen.
        Specified by:
        addPredecessor in interface ItemBase
        Parameters:
        predecessor - ConnectedDocumentItem to be added to the predecessor list
      • addSuccessor

        public void addSuccessor​(ConnectedDocumentItem successor)
        Description copied from interface: ItemBase
        Adds a ConnectedDocumentItem to the successor list. A null reference passed to this function will be ignored, in this case nothing will happen.
        Specified by:
        addSuccessor in interface ItemBase
        Parameters:
        successor - ConnectedDocument to be added to the successor list
      • clone

        public java.lang.Object clone()
        Performs a deep-copy rather than a shallow copy. For sake of performance you should avoid haevy usage of this method, as creating a deep copy is quite expensive.
        The externalObject will not be cloned, only the reference is copied.
        Specified by:
        clone in interface ItemBase
        Overrides:
        clone in class SimpleItemImpl
        Returns:
        deep-copy of this object
      • cloneSuccessorList

        public final void cloneSuccessorList​(ItemBaseImpl myClone)
        Parameters:
        myClone -
      • cloneScheduleLines

        public final void cloneScheduleLines​(ItemBaseImpl myClone)
        Parameters:
        myClone -
      • clonePredecessorList

        public final void clonePredecessorList​(ItemBaseImpl myClone)
        Parameters:
        myClone -
      • createScheduleLine

        public Schedline createScheduleLine()
        Description copied from interface: ItemBase
        Create a new ScheduleLine object.
        Specified by:
        createScheduleLine in interface ItemBase
        Returns:
        newly created schedule line object
      • createText

        public Text createText()
        Description copied from interface: ItemBase
        Creates a text object. This method is used by back end objects to get instances of the text object.
        Specified by:
        createText in interface ItemBase
        Returns:
        newly created text object
      • getConfigType

        public java.lang.String getConfigType()
        Returns configType flag value, if the item is configurable
        Specified by:
        getConfigType in interface ItemBase
        Returns:
        A,B,X,G, etc, if the item is configurable
      • getConfirmedDeliveryDate

        public java.util.Date getConfirmedDeliveryDate()
        Description copied from interface: ItemBase
        Get the confirmed delivery date for the item.
        Specified by:
        getConfirmedDeliveryDate in interface ItemBase
        Returns:
        confirmed delivery date
      • getConfirmedQuantity

        public java.math.BigDecimal getConfirmedQuantity()
        Description copied from interface: ItemBase
        Get the confirmed quantity for the item.
        Specified by:
        getConfirmedQuantity in interface ItemBase
        Returns:
        confirmed quantity
      • getCreatedAt

        public java.util.Date getCreatedAt()
        Specified by:
        getCreatedAt in interface ItemBase
        Returns:
        created at date of this item
      • setCreatedAt

        public void setCreatedAt​(java.util.Date createdAt)
        Specified by:
        setCreatedAt in interface ItemBase
        Parameters:
        createdAt - createdAt date of this item
      • getCurrency

        public java.lang.String getCurrency()
        Description copied from interface: ItemBase
        Gets the currency for the item.
        Specified by:
        getCurrency in interface ItemBase
        Returns:
        the currency
      • getDeliveredQuantity

        public java.math.BigDecimal getDeliveredQuantity()
        Description copied from interface: ItemBase
        Get the delivered quantity for this item.
        Specified by:
        getDeliveredQuantity in interface ItemBase
        Returns:
        delivered quantity as BigDecimal
      • getDeliveredQuantityUnit

        public java.lang.String getDeliveredQuantityUnit()
        Description copied from interface: ItemBase
        Get the delivered quantity unit for this item.
        Specified by:
        getDeliveredQuantityUnit in interface ItemBase
        Returns:
        delivered quantity unit of measure
      • getDeliveryPriority

        public java.lang.String getDeliveryPriority()
        Description copied from interface: ItemBase
        Returns the delivery priority key
        Specified by:
        getDeliveryPriority in interface ItemBase
        Returns:
        String
      • getFreeQuantity

        public java.math.BigDecimal getFreeQuantity()
        Description copied from interface: ItemBase
        Retrieves the free quantity. Only relevant for inclusive free goods.
        Specified by:
        getFreeQuantity in interface ItemBase
        Returns:
        the free quantity in local specific format.
      • getFreightValue

        public java.math.BigDecimal getFreightValue()
        Description copied from interface: ItemBase
        Return the freight value / shipping costs.
        Specified by:
        getFreightValue in interface ItemBase
        Returns:
        BigDecimal of freight value
      • getGrossValue

        public java.math.BigDecimal getGrossValue()
        Description copied from interface: ItemBase
        Returns the price of this item inclusive taxes.
        Specified by:
        getGrossValue in interface ItemBase
        Returns:
        gross value
      • getItmTypeUsage

        public java.lang.String getItmTypeUsage()
        Description copied from interface: ItemBase
        Returns the item type usage of the back end.
        Specified by:
        getItmTypeUsage in interface ItemBase
        Returns:
        ItemtypeUsage
      • getNetPrice

        public java.math.BigDecimal getNetPrice()
        Description copied from interface: ItemBase
        Price of one base unit (unit price) of this item without taxes.
        Specified by:
        getNetPrice in interface ItemBase
        Returns:
        Price of 1 unit without taxes
      • getNetPriceUnit

        public java.lang.String getNetPriceUnit()
        Description copied from interface: ItemBase
        Returns the unit that is used for the unit price.
        e.g. PC if the price is calculated per 2 PC
        Specified by:
        getNetPriceUnit in interface ItemBase
        Returns:
        unit of the net price
      • getNetQuantPriceUnit

        public java.math.BigDecimal getNetQuantPriceUnit()
        Description copied from interface: ItemBase
        Returns the quantity of the unit that is used for the unit price.
        e.g. 2 if the price is calculated per 2 PC
        Specified by:
        getNetQuantPriceUnit in interface ItemBase
        Returns:
        quantity of the unit for which the unit price is calculated
      • getNetValue

        public java.math.BigDecimal getNetValue()
        Description copied from interface: ItemBase
        Get the net costs for this item.
        Whereas NetPrice gives the price per base unit, the NetValue is the price for the whole quantity. This includes the Shipping costs/freight.
        Specified by:
        getNetValue in interface ItemBase
        Returns:
        price of this item without taxes
      • getNetPriceWOFreight

        public java.math.BigDecimal getNetPriceWOFreight()
        Specified by:
        getNetPriceWOFreight in interface ItemBase
        Returns:
        netPriceWOFreight
      • getNetValueWOFreight

        public java.math.BigDecimal getNetValueWOFreight()
        Description copied from interface: ItemBase
        Get the net costs for this item without freight.
        Whereas NetPrice gives the price per base unit, the NetValue is the price for the whole quantity. This is excluding the Shipping costs/freight.
        Specified by:
        getNetValueWOFreight in interface ItemBase
        Returns:
        price of this item without taxes and freight
      • getOldQuantity

        public java.math.BigDecimal getOldQuantity()
        Description copied from interface: ItemBase
        Returns the old quantity of this item.
        If the quantity is changed for a item, this quantity shows the value before. This can e.g. be used for some business events.
        Specified by:
        getOldQuantity in interface ItemBase
        Returns:
        quantity before the change
      • getPartnerListData

        public PartnerList getPartnerListData()
        Description copied from interface: ItemBase
        Get the business partner list
        Specified by:
        getPartnerListData in interface ItemBase
        Returns:
        PartnerListData list of business partners
      • getPossibleUnits

        public java.util.List<java.lang.String> getPossibleUnits()
        Description copied from interface: ItemBase
        returns a list of all possible units of this product.
        Specified by:
        getPossibleUnits in interface ItemBase
        Returns:
        list of units
      • getQuantityToDeliver

        public java.math.BigDecimal getQuantityToDeliver()
        Description copied from interface: ItemBase
        Gets the still to deliver quantity. Difference between ordered quantity and already delivered quantity.
        Specified by:
        getQuantityToDeliver in interface ItemBase
        Returns:
        the quantity
      • getScheduleLines

        public java.util.List<Schedline> getScheduleLines()
        Description copied from interface: ItemBase
        Returns all schedule lines.
        Specified by:
        getScheduleLines in interface ItemBase
        Returns:
        list of schedule lines
        See Also:
        Schedline
      • getTaxValue

        public java.math.BigDecimal getTaxValue()
        Description copied from interface: ItemBase
        Gets the tax value of this item.
        Specified by:
        getTaxValue in interface ItemBase
        Returns:
        tax value
      • getText

        public Text getText()
        Description copied from interface: ItemBase
        Returns the text on item level for this item.
        Specified by:
        getText in interface ItemBase
        Returns:
        text object
        See Also:
        Text
      • getTotalDiscount

        public java.math.BigDecimal getTotalDiscount()
        Specified by:
        getTotalDiscount in interface ItemBase
        Returns:
        total discount, which is used for strike through prices
      • isCancelable

        public boolean isCancelable()
        Specified by:
        isCancelable in interface ItemBase
        Returns:
        whether this item can be cancelled
      • isConfigurable

        public boolean isConfigurable()
        Description copied from interface: ItemBase
        Determine, whether or no the item is configurable.
        Specified by:
        isConfigurable in interface ItemBase
        Returns:
        true if the item can be configured, otherwise false.
      • isDeletable

        public boolean isDeletable()
        Description copied from interface: ItemBase
        Indicates whether the item is deletable.
        Specified by:
        isDeletable in interface ItemBase
        Returns:
        true if the item is deletable; otherwise false.
      • isErroneous

        public boolean isErroneous()
        Specified by:
        isErroneous in interface ItemBase
        Returns:
        true if the item is invalid
      • isPriceRelevant

        public boolean isPriceRelevant()
        returns true, if the item is price relevant
        Returns:
        true, if the item is price relevant
      • setBusinessObjectType

        public void setBusinessObjectType​(java.lang.String busType)
        Description copied from interface: ItemBase
        Sets Item's Business Object Type
        Specified by:
        setBusinessObjectType in interface ItemBase
        Parameters:
        busType - item type which is used for the item classification in the back end
      • setCancelable

        public void setCancelable​(boolean cancelable)
        Description copied from interface: ItemBase
        Sets if item can be cancelled.
        Specified by:
        setCancelable in interface ItemBase
        Parameters:
        cancelable - if true an item can be cancelled
      • setConfigType

        public void setConfigType​(java.lang.String configType)
        Sets the configType flag, if the item is configurable
        Specified by:
        setConfigType in interface ItemBase
        Parameters:
        configType - contains the value A,B,X, G, etc..
      • setConfigurable

        public void setConfigurable​(boolean configurable)
        Marks an item as configurable
        Specified by:
        setConfigurable in interface ItemBase
        Parameters:
        configurable - true, only if the item should be considered configurable
      • setConfirmedDeliveryDate

        public void setConfirmedDeliveryDate​(java.util.Date confirmedDeliveryDate)
        Description copied from interface: ItemBase
        Sets Confirmed Delivery Date.
        Specified by:
        setConfirmedDeliveryDate in interface ItemBase
        Parameters:
        confirmedDeliveryDate - the already confirmed delivery date
      • setConfirmedQuantity

        public void setConfirmedQuantity​(java.math.BigDecimal confirmedQuantity)
        Description copied from interface: ItemBase
        Sets confirmed quantity.
        Specified by:
        setConfirmedQuantity in interface ItemBase
        Parameters:
        confirmedQuantity - item quantity
      • setCurrency

        public void setCurrency​(java.lang.String currency)
        Description copied from interface: ItemBase
        Sets the currency for this item.
        e.g. USD or EUR
        Specified by:
        setCurrency in interface ItemBase
        Parameters:
        currency - currency
      • setDeletable

        public void setDeletable​(boolean deletable)
        Description copied from interface: ItemBase
        Sets if item can be deleted.
        Specified by:
        setDeletable in interface ItemBase
        Parameters:
        deletable - if true an item can be deleted
      • setDeliverdQuantity

        public void setDeliverdQuantity​(java.math.BigDecimal deliveredQuantity)
        Description copied from interface: ItemBase
        Sets delivered quantity.
        Specified by:
        setDeliverdQuantity in interface ItemBase
        Parameters:
        deliveredQuantity - the already delivered quantity
      • setDeliverdQuantityUnit

        public void setDeliverdQuantityUnit​(java.lang.String unit)
        Description copied from interface: ItemBase
        Sets delivered quantity unit.
        Specified by:
        setDeliverdQuantityUnit in interface ItemBase
        Parameters:
        unit - the unit belonging to the delivered quantity
      • setDeliveryPriority

        public void setDeliveryPriority​(java.lang.String deliveryPriority)
        Description copied from interface: ItemBase
        Sets the delivery priority key.
        Specified by:
        setDeliveryPriority in interface ItemBase
        Parameters:
        deliveryPriority - priority for delivery
      • setErroneous

        public void setErroneous​(boolean erroneous)
        Description copied from interface: ItemBase
        Sets this item as erroneous or not.
        Specified by:
        setErroneous in interface ItemBase
        Parameters:
        erroneous - true if the item has errors
      • setFreeQuantity

        public void setFreeQuantity​(java.math.BigDecimal arg)
        Description copied from interface: ItemBase
        Sets the free quantity. Only relevant for inclusive free goods.
        Specified by:
        setFreeQuantity in interface ItemBase
        Parameters:
        arg - the free quantity in local specific format.
      • setFreightValue

        public void setFreightValue​(java.math.BigDecimal freightValue)
        Description copied from interface: ItemBase
        Sets a freight value.
        Specified by:
        setFreightValue in interface ItemBase
        Parameters:
        freightValue - freight costs for this item
      • setGrossValue

        public void setGrossValue​(java.math.BigDecimal grossValue)
        Description copied from interface: ItemBase
        Sets a gross value.
        Specified by:
        setGrossValue in interface ItemBase
        Parameters:
        grossValue - gross value for this item
      • setItmTypeUsage

        public void setItmTypeUsage​(java.lang.String itmTypeUsage)
        Description copied from interface: ItemBase
        Sets an item type usage .
        Specified by:
        setItmTypeUsage in interface ItemBase
        Parameters:
        itmTypeUsage - type of the item as string
      • setNetPrice

        public void setNetPrice​(java.math.BigDecimal netPrice)
        Description copied from interface: ItemBase
        Sets an item net price.
        Specified by:
        setNetPrice in interface ItemBase
        Parameters:
        netPrice - value to set
      • setNetPriceWOFreight

        public void setNetPriceWOFreight​(java.math.BigDecimal netPriceWOFreight)
        Specified by:
        setNetPriceWOFreight in interface ItemBase
      • setNetPriceUnit

        public void setNetPriceUnit​(java.lang.String netPriceUnit)
        Description copied from interface: ItemBase
        Sets an item net price unit.
        This is the unit of the unit price.
        Specified by:
        setNetPriceUnit in interface ItemBase
        Parameters:
        netPriceUnit - value to set
      • setNetQuantPriceUnit

        public void setNetQuantPriceUnit​(java.math.BigDecimal netQuantPriceUnit)
        Description copied from interface: ItemBase
        Sets an item net quantity price unit.
        This is the quantity of the base unit of the unit price.
        Specified by:
        setNetQuantPriceUnit in interface ItemBase
        Parameters:
        netQuantPriceUnit - value to set
      • setNetValue

        public void setNetValue​(java.math.BigDecimal netValue)
        Description copied from interface: ItemBase
        Sets net value.
        Price without tax. For the overall quantity.
        Specified by:
        setNetValue in interface ItemBase
        Parameters:
        netValue - value to set
      • setNetValueWOFreight

        public void setNetValueWOFreight​(java.math.BigDecimal netValueWOFreight)
        Description copied from interface: ItemBase
        Sets net value with out freight.
        Price without tax or freight. For the overall quantity.
        Specified by:
        setNetValueWOFreight in interface ItemBase
        Parameters:
        netValueWOFreight - value to set
      • setOldQuantity

        public void setOldQuantity​(java.math.BigDecimal oldQuantity)
        Description copied from interface: ItemBase
        Set the property oldQuantity. Replaces the method with String parameter.
        Specified by:
        setOldQuantity in interface ItemBase
        Parameters:
        oldQuantity - The value of oldQuantity property as BigDecimal.
      • setPartnerList

        public void setPartnerList​(PartnerList partnerList)
        Set the business partner list
        Parameters:
        partnerList - new list of business partners
      • setPartnerListData

        public void setPartnerListData​(PartnerList list)
        Description copied from interface: ItemBase
        Set the business partner list Analogy to the header set business partner list
        Specified by:
        setPartnerListData in interface ItemBase
        Parameters:
        list - PartnerListData list of business partners
      • setPossibleUnits

        public void setPossibleUnits​(java.util.List<java.lang.String> possibleUnits)
        Description copied from interface: ItemBase
        Sets all units that are possible for that product.
        Specified by:
        setPossibleUnits in interface ItemBase
        Parameters:
        possibleUnits - list of all units
      • setPriceRelevant

        public void setPriceRelevant​(boolean isPriceRelevant)
        Description copied from interface: ItemBase
        Sets the flag, that shows, if the position is price relevant
        Specified by:
        setPriceRelevant in interface ItemBase
        Parameters:
        isPriceRelevant - true or false
      • setQuantityToDeliver

        public void setQuantityToDeliver​(java.math.BigDecimal qty)
        Description copied from interface: ItemBase
        Sets an item quantity to deliver.
        Specified by:
        setQuantityToDeliver in interface ItemBase
        Parameters:
        qty - value to set
      • setReqDeliveryDate

        public void setReqDeliveryDate​(java.util.Date date)
        Description copied from interface: ItemBase
        Sets required delivery date.
        This is the date the delivery is requested, not the confirmed delivery date.
        Specified by:
        setReqDeliveryDate in interface ItemBase
        Parameters:
        date - value to set
      • setScheduleLines

        public void setScheduleLines​(java.util.List<Schedline> scheduleLines)
        Description copied from interface: ItemBase
        Sets schedule lines for the item .
        Specified by:
        setScheduleLines in interface ItemBase
        Parameters:
        scheduleLines - list of Schedlines
        See Also:
        Schedline
      • setTaxValue

        public void setTaxValue​(java.math.BigDecimal taxValue)
        Description copied from interface: ItemBase
        Sets the tax value of this item.
        Specified by:
        setTaxValue in interface ItemBase
        Parameters:
        taxValue - value to set
      • setText

        public void setText​(Text text)
        Description copied from interface: ItemBase
        Sets the text on item level.
        Specified by:
        setText in interface ItemBase
        Parameters:
        text - text on item level
        See Also:
        Text
      • setTotalDiscount

        public void setTotalDiscount​(java.math.BigDecimal totalDiscount)
        Description copied from interface: ItemBase
        Sets the total discount, which is used for strike through prices. The number must be positive (e.g. 10 and not -10, this is how it comes from IPC).
        Specified by:
        setTotalDiscount in interface ItemBase
        Parameters:
        totalDiscount - value to set
      • toString

        public java.lang.String toString()
        Returns a String representation of the item, which can be used for debugging purpose. This is not suitable for display on the user interface.
        Overrides:
        toString in class SimpleItemImpl
      • isProductExists

        public boolean isProductExists()
        Description copied from interface: ItemBase
        Returns true if the product exists in the back end
        Specified by:
        isProductExists in interface ItemBase
        Returns:
        true if the product exists in the back end
      • setProductExists

        public void setProductExists​(boolean productExists)
        Description copied from interface: ItemBase
        Sets the information, whether the product exists in the back end
        Specified by:
        setProductExists in interface ItemBase
        Parameters:
        productExists - false if the product does not exist in the back end
      • getReqDeliveryDate

        public java.util.Date getReqDeliveryDate()
        Description copied from interface: ItemBase
        Return the requested delivery date of this item.
        The date that the delivery was requested for, NOT the confirmed delivery date.
        Specified by:
        getReqDeliveryDate in interface ItemBase
        Returns:
        RequestedDeliveryDate
      • isProductEmpty

        public boolean isProductEmpty()
        Description copied from interface: ItemBase
        Returns true if the productId is null or ""
        Specified by:
        isProductEmpty in interface ItemBase
        Returns:
        true if there is no product maintained
      • getGrossValueWOFreight

        public java.math.BigDecimal getGrossValueWOFreight()
        Description copied from interface: ItemBase
        Returns the property grossValueWOFreight
        Specified by:
        getGrossValueWOFreight in interface ItemBase
        Returns:
        grossValueWOFreight
      • setGrossValueWOFreight

        public void setGrossValueWOFreight​(java.math.BigDecimal grossValueWOFreight)
        Description copied from interface: ItemBase
        Set the property grossValueWOFreight
        Specified by:
        setGrossValueWOFreight in interface ItemBase
        Parameters:
        grossValueWOFreight - value to set
      • setLatestDeliveryDate

        public void setLatestDeliveryDate​(java.util.Date latestDeliveryDate)
        Description copied from interface: ItemBase
        The latest delivery date is the date of the latest schedule line
        Specified by:
        setLatestDeliveryDate in interface ItemBase
        Parameters:
        latestDeliveryDate - the latestDeliveryDate to set
      • setQuantity

        public void setQuantity​(java.math.BigDecimal quantity)
        Description copied from interface: SimpleItem
        Sets an item quantity.
        Specified by:
        setQuantity in interface SimpleItem
        Overrides:
        setQuantity in class SimpleItemImpl
        Parameters:
        quantity - value to set
      • isConfigurationDirty

        public boolean isConfigurationDirty()
        Description copied from interface: ItemBase
        Do we need to sync the configuration with the backend?
        Specified by:
        isConfigurationDirty in interface ItemBase
        Returns:
        Dirty?
      • setConfigurableDirty

        public void setConfigurableDirty​(boolean isDirty)
        Specified by:
        setConfigurableDirty in interface ItemBase
        Parameters:
        isDirty - true, if there is the need to sync the configuration with the back-end
      • isVariant

        public boolean isVariant()
        Specified by:
        isVariant in interface ItemBase
        Returns:
        true if this item is a variant of a configurable product
      • setVariant

        public void setVariant​(boolean variant)
        Description copied from interface: ItemBase
        Setter if this item is a variant of a configurable product or not
        Specified by:
        setVariant in interface ItemBase
        Parameters:
        variant - true id this item is a variant
      • getItemCategory

        public java.lang.String getItemCategory()
        Specified by:
        getItemCategory in interface ItemBase
        Returns:
        item category
      • setItemCategory

        public void setItemCategory​(java.lang.String itemCategory)
        Description copied from interface: ItemBase
        Sets item category
        Specified by:
        setItemCategory in interface ItemBase
        Parameters:
        itemCategory - item category
      • isStatistical

        public boolean isStatistical()
        Specified by:
        isStatistical in interface ItemBase
        Returns:
        statistical
      • setStatistical

        public void setStatistical​(boolean statistical)
        Description copied from interface: ItemBase
        Sets statistical
        Specified by:
        setStatistical in interface ItemBase