Class OrderEntryModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
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:
  • Constructor Details

    • OrderEntryModel

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

      public OrderEntryModel(de.hybris.platform.servicelayer.model.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

    • 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
    • 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