Class OrderEntryModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ReturnOrderEntryModel

public class OrderEntryModel extends AbstractOrderEntryModel
Generated model class for type OrderEntry first defined at extension core.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _ABSTRACTORDER2ABSTRACTORDERENTRY

      public static final String _ABSTRACTORDER2ABSTRACTORDERENTRY
      Generated relation code constant for relation AbstractOrder2AbstractOrderEntry defining source attribute order in extension core.
      See Also:
    • QUANTITYALLOCATED

      public static final String QUANTITYALLOCATED
      Generated constant - Attribute key of OrderEntry.quantityAllocated attribute defined at extension warehousing.
      See Also:
    • QUANTITYUNALLOCATED

      public static final String QUANTITYUNALLOCATED
      Generated constant - Attribute key of OrderEntry.quantityUnallocated attribute defined at extension warehousing.
      See Also:
    • QUANTITYCANCELLED

      public static final String QUANTITYCANCELLED
      Generated constant - Attribute key of OrderEntry.quantityCancelled attribute defined at extension warehousing.
      See Also:
    • QUANTITYPENDING

      public static final String QUANTITYPENDING
      Generated constant - Attribute key of OrderEntry.quantityPending attribute defined at extension warehousing.
      See Also:
    • QUANTITYSHIPPED

      public static final String QUANTITYSHIPPED
      Generated constant - Attribute key of OrderEntry.quantityShipped attribute defined at extension warehousing.
      See Also:
    • QUANTITYRETURNED

      public static final String QUANTITYRETURNED
      Generated constant - Attribute key of OrderEntry.quantityReturned attribute defined at extension warehousing.
      See Also:
    • INVENTORYEVENTS

      public static final String INVENTORYEVENTS
      Generated constant - Attribute key of OrderEntry.inventoryEvents attribute defined at extension warehousing.
      See Also:
  • Constructor Details

    • OrderEntryModel

      public OrderEntryModel()
      Generated constructor - Default constructor for generic creation.
    • OrderEntryModel

      public OrderEntryModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • OrderEntryModel

      @Deprecated(since="4.1.1", forRemoval=true) public OrderEntryModel(ProductModel _product, Long _quantity, UnitModel _unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _product - initial attribute declared by type AbstractOrderEntry at extension core
      _quantity - initial attribute declared by type AbstractOrderEntry at extension core
      _unit - initial attribute declared by type AbstractOrderEntry at extension core
    • OrderEntryModel

      @Deprecated(since="4.1.1", forRemoval=true) public OrderEntryModel(ItemModel _owner, ProductModel _product, Long _quantity, UnitModel _unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _owner - initial attribute declared by type Item at extension core
      _product - initial attribute declared by type AbstractOrderEntry at extension core
      _quantity - initial attribute declared by type AbstractOrderEntry at extension core
      _unit - initial attribute declared by type AbstractOrderEntry at extension core
  • Method Details

    • getInventoryEvents

      @Accessor(qualifier="inventoryEvents", type=GETTER) public Collection<InventoryEventModel> getInventoryEvents()
      Generated method - Getter of the OrderEntry.inventoryEvents attribute defined at extension warehousing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the inventoryEvents
    • getOrder

      @Accessor(qualifier="order", type=GETTER) public OrderModel getOrder()
      Generated method - Getter of the AbstractOrderEntry.order attribute defined at extension core and redeclared at extension core.
      Overrides:
      getOrder in class AbstractOrderEntryModel
      Returns:
      the order
    • getQuantityAllocated

      @Accessor(qualifier="quantityAllocated", type=GETTER) public Long getQuantityAllocated()
      Generated method - Getter of the OrderEntry.quantityAllocated dynamic attribute defined at extension warehousing.
      Returns:
      the quantityAllocated
    • getQuantityCancelled

      @Accessor(qualifier="quantityCancelled", type=GETTER) public Long getQuantityCancelled()
      Generated method - Getter of the OrderEntry.quantityCancelled dynamic attribute defined at extension warehousing.
      Returns:
      the quantityCancelled
    • getQuantityPending

      @Accessor(qualifier="quantityPending", type=GETTER) public Long getQuantityPending()
      Generated method - Getter of the OrderEntry.quantityPending dynamic attribute defined at extension warehousing.
      Returns:
      the quantityPending
    • getQuantityReturned

      @Accessor(qualifier="quantityReturned", type=GETTER) public Long getQuantityReturned()
      Generated method - Getter of the OrderEntry.quantityReturned dynamic attribute defined at extension warehousing.
      Returns:
      the quantityReturned
    • getQuantityShipped

      @Accessor(qualifier="quantityShipped", type=GETTER) public Long getQuantityShipped()
      Generated method - Getter of the OrderEntry.quantityShipped dynamic attribute defined at extension warehousing.
      Returns:
      the quantityShipped
    • getQuantityUnallocated

      @Accessor(qualifier="quantityUnallocated", type=GETTER) public Long getQuantityUnallocated()
      Generated method - Getter of the OrderEntry.quantityUnallocated dynamic attribute defined at extension warehousing.
      Returns:
      the quantityUnallocated
    • setInventoryEvents

      @Accessor(qualifier="inventoryEvents", type=SETTER) public void setInventoryEvents(Collection<InventoryEventModel> value)
      Generated method - Setter of OrderEntry.inventoryEvents attribute defined at extension warehousing.
      Parameters:
      value - the inventoryEvents
    • setOrder

      @Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)
      Generated method - Initial setter of AbstractOrderEntry.order attribute defined at extension core and redeclared at extension core. Can only be used at creation of model - before first save. Will only accept values of type OrderModel.
      Overrides:
      setOrder in class AbstractOrderEntryModel
      Parameters:
      value - the order