Class ConsignmentModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.ordersplitting.model.ConsignmentModel
All Implemented Interfaces:
Serializable

public class ConsignmentModel extends ItemModel
Generated model class for type Consignment first defined at extension basecommerce.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation ConsignmentEntryConsignmentRelation defining source attribute consignmentEntries in extension basecommerce.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of Consignment.carrier attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of Consignment.code attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of Consignment.consignmentEntries attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of Consignment.consignmentProcesses attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of Consignment.deliveryMode attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of Consignment.deliveryPointOfService attribute defined at extension commerceservices.
    static final String
    Generated constant - Attribute key of Consignment.namedDeliveryDate attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of Consignment.order attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of Consignment.shippingAddress attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of Consignment.shippingDate attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of Consignment.status attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of Consignment.statusDisplay attribute defined at extension acceleratorservices.
    static final String
    Generated constant - Attribute key of Consignment.trackingID attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of Consignment.warehouse attribute defined at extension basecommerce.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    ConsignmentModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    ConsignmentModel(String _code, DeliveryModeModel _deliveryMode, Date _namedDeliveryDate, AbstractOrderModel _order, ItemModel _owner, AddressModel _shippingAddress, ConsignmentStatus _status, WarehouseModel _warehouse)
    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
    ConsignmentModel(String _code, AddressModel _shippingAddress, ConsignmentStatus _status, WarehouseModel _warehouse)
    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
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the Consignment.carrier attribute defined at extension basecommerce.
    Generated method - Getter of the Consignment.code attribute defined at extension basecommerce.
    Generated method - Getter of the Consignment.consignmentEntries attribute defined at extension basecommerce.
    Generated method - Getter of the Consignment.consignmentProcesses attribute defined at extension basecommerce.
    Generated method - Getter of the Consignment.deliveryMode attribute defined at extension basecommerce.
    Generated method - Getter of the Consignment.deliveryPointOfService attribute defined at extension commerceservices.
    Generated method - Getter of the Consignment.namedDeliveryDate attribute defined at extension basecommerce.
    Generated method - Getter of the Consignment.order attribute defined at extension basecommerce.
    Generated method - Getter of the Consignment.shippingAddress attribute defined at extension basecommerce.
    Generated method - Getter of the Consignment.shippingDate attribute defined at extension basecommerce.
    Generated method - Getter of the Consignment.status attribute defined at extension basecommerce.
    Generated method - Getter of the Consignment.statusDisplay dynamic attribute defined at extension acceleratorservices.
    Generated method - Getter of the Consignment.trackingID attribute defined at extension basecommerce.
    Generated method - Getter of the Consignment.warehouse attribute defined at extension basecommerce.
    void
    Generated method - Setter of Consignment.carrier attribute defined at extension basecommerce.
    void
    setCode(String value)
    Generated method - Initial setter of Consignment.code attribute defined at extension basecommerce.
    void
    Generated method - Setter of Consignment.consignmentEntries attribute defined at extension basecommerce.
    void
    Generated method - Setter of Consignment.consignmentProcesses attribute defined at extension basecommerce.
    void
    Generated method - Initial setter of Consignment.deliveryMode attribute defined at extension basecommerce.
    void
    Generated method - Setter of Consignment.deliveryPointOfService attribute defined at extension commerceservices.
    void
    Generated method - Initial setter of Consignment.namedDeliveryDate attribute defined at extension basecommerce.
    void
    Generated method - Initial setter of Consignment.order attribute defined at extension basecommerce.
    void
    Generated method - Initial setter of Consignment.shippingAddress attribute defined at extension basecommerce.
    void
    Generated method - Setter of Consignment.shippingDate attribute defined at extension basecommerce.
    void
    Generated method - Setter of Consignment.status attribute defined at extension basecommerce.
    void
    Generated method - Setter of Consignment.trackingID attribute defined at extension basecommerce.
    void
    Generated method - Initial setter of Consignment.warehouse attribute defined at extension basecommerce.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

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

      public static final String _CONSIGNMENTENTRYCONSIGNMENTRELATION
      Generated relation code constant for relation ConsignmentEntryConsignmentRelation defining source attribute consignmentEntries in extension basecommerce.
      See Also:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of Consignment.code attribute defined at extension basecommerce.
      See Also:
    • SHIPPINGADDRESS

      public static final String SHIPPINGADDRESS
      Generated constant - Attribute key of Consignment.shippingAddress attribute defined at extension basecommerce.
      See Also:
    • DELIVERYMODE

      public static final String DELIVERYMODE
      Generated constant - Attribute key of Consignment.deliveryMode attribute defined at extension basecommerce.
      See Also:
    • NAMEDDELIVERYDATE

      public static final String NAMEDDELIVERYDATE
      Generated constant - Attribute key of Consignment.namedDeliveryDate attribute defined at extension basecommerce.
      See Also:
    • SHIPPINGDATE

      public static final String SHIPPINGDATE
      Generated constant - Attribute key of Consignment.shippingDate attribute defined at extension basecommerce.
      See Also:
    • TRACKINGID

      public static final String TRACKINGID
      Generated constant - Attribute key of Consignment.trackingID attribute defined at extension basecommerce.
      See Also:
    • CARRIER

      public static final String CARRIER
      Generated constant - Attribute key of Consignment.carrier attribute defined at extension basecommerce.
      See Also:
    • STATUS

      public static final String STATUS
      Generated constant - Attribute key of Consignment.status attribute defined at extension basecommerce.
      See Also:
    • WAREHOUSE

      public static final String WAREHOUSE
      Generated constant - Attribute key of Consignment.warehouse attribute defined at extension basecommerce.
      See Also:
    • CONSIGNMENTENTRIES

      public static final String CONSIGNMENTENTRIES
      Generated constant - Attribute key of Consignment.consignmentEntries attribute defined at extension basecommerce.
      See Also:
    • ORDER

      public static final String ORDER
      Generated constant - Attribute key of Consignment.order attribute defined at extension basecommerce.
      See Also:
    • CONSIGNMENTPROCESSES

      public static final String CONSIGNMENTPROCESSES
      Generated constant - Attribute key of Consignment.consignmentProcesses attribute defined at extension basecommerce.
      See Also:
    • DELIVERYPOINTOFSERVICE

      public static final String DELIVERYPOINTOFSERVICE
      Generated constant - Attribute key of Consignment.deliveryPointOfService attribute defined at extension commerceservices.
      See Also:
    • STATUSDISPLAY

      public static final String STATUSDISPLAY
      Generated constant - Attribute key of Consignment.statusDisplay attribute defined at extension acceleratorservices.
      See Also:
  • Constructor Details

    • ConsignmentModel

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

      public ConsignmentModel(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
    • ConsignmentModel

      @Deprecated(since="4.1.1", forRemoval=true) public ConsignmentModel(String _code, AddressModel _shippingAddress, ConsignmentStatus _status, WarehouseModel _warehouse)
      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:
      _code - initial attribute declared by type Consignment at extension basecommerce
      _shippingAddress - initial attribute declared by type Consignment at extension basecommerce
      _status - initial attribute declared by type Consignment at extension basecommerce
      _warehouse - initial attribute declared by type Consignment at extension basecommerce
    • ConsignmentModel

      @Deprecated(since="4.1.1", forRemoval=true) public ConsignmentModel(String _code, DeliveryModeModel _deliveryMode, Date _namedDeliveryDate, AbstractOrderModel _order, ItemModel _owner, AddressModel _shippingAddress, ConsignmentStatus _status, WarehouseModel _warehouse)
      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:
      _code - initial attribute declared by type Consignment at extension basecommerce
      _deliveryMode - initial attribute declared by type Consignment at extension basecommerce
      _namedDeliveryDate - initial attribute declared by type Consignment at extension basecommerce
      _order - initial attribute declared by type Consignment at extension basecommerce
      _owner - initial attribute declared by type Item at extension core
      _shippingAddress - initial attribute declared by type Consignment at extension basecommerce
      _status - initial attribute declared by type Consignment at extension basecommerce
      _warehouse - initial attribute declared by type Consignment at extension basecommerce
  • Method Details

    • getCarrier

      @Accessor(qualifier="carrier", type=GETTER) public String getCarrier()
      Generated method - Getter of the Consignment.carrier attribute defined at extension basecommerce.
      Returns:
      the carrier
    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the Consignment.code attribute defined at extension basecommerce.
      Returns:
      the code
    • getConsignmentEntries

      @Accessor(qualifier="consignmentEntries", type=GETTER) public Set<ConsignmentEntryModel> getConsignmentEntries()
      Generated method - Getter of the Consignment.consignmentEntries attribute defined at extension basecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the consignmentEntries
    • getConsignmentProcesses

      @Accessor(qualifier="consignmentProcesses", type=GETTER) public Collection<ConsignmentProcessModel> getConsignmentProcesses()
      Generated method - Getter of the Consignment.consignmentProcesses attribute defined at extension basecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the consignmentProcesses
    • getDeliveryMode

      @Accessor(qualifier="deliveryMode", type=GETTER) public DeliveryModeModel getDeliveryMode()
      Generated method - Getter of the Consignment.deliveryMode attribute defined at extension basecommerce.
      Returns:
      the deliveryMode
    • getDeliveryPointOfService

      @Accessor(qualifier="deliveryPointOfService", type=GETTER) public PointOfServiceModel getDeliveryPointOfService()
      Generated method - Getter of the Consignment.deliveryPointOfService attribute defined at extension commerceservices.
      Returns:
      the deliveryPointOfService - The point of service to deliver to/collect from.
    • getNamedDeliveryDate

      @Accessor(qualifier="namedDeliveryDate", type=GETTER) public Date getNamedDeliveryDate()
      Generated method - Getter of the Consignment.namedDeliveryDate attribute defined at extension basecommerce.
      Returns:
      the namedDeliveryDate
    • getOrder

      @Accessor(qualifier="order", type=GETTER) public AbstractOrderModel getOrder()
      Generated method - Getter of the Consignment.order attribute defined at extension basecommerce.
      Returns:
      the order
    • getShippingAddress

      @Accessor(qualifier="shippingAddress", type=GETTER) public AddressModel getShippingAddress()
      Generated method - Getter of the Consignment.shippingAddress attribute defined at extension basecommerce.
      Returns:
      the shippingAddress
    • getShippingDate

      @Accessor(qualifier="shippingDate", type=GETTER) public Date getShippingDate()
      Generated method - Getter of the Consignment.shippingDate attribute defined at extension basecommerce.
      Returns:
      the shippingDate
    • getStatus

      @Accessor(qualifier="status", type=GETTER) public ConsignmentStatus getStatus()
      Generated method - Getter of the Consignment.status attribute defined at extension basecommerce.
      Returns:
      the status
    • getStatusDisplay

      @Accessor(qualifier="statusDisplay", type=GETTER) public String getStatusDisplay()
      Generated method - Getter of the Consignment.statusDisplay dynamic attribute defined at extension acceleratorservices.
      Returns:
      the statusDisplay
    • getTrackingID

      @Accessor(qualifier="trackingID", type=GETTER) public String getTrackingID()
      Generated method - Getter of the Consignment.trackingID attribute defined at extension basecommerce.
      Returns:
      the trackingID
    • getWarehouse

      @Accessor(qualifier="warehouse", type=GETTER) public WarehouseModel getWarehouse()
      Generated method - Getter of the Consignment.warehouse attribute defined at extension basecommerce.
      Returns:
      the warehouse
    • setCarrier

      @Accessor(qualifier="carrier", type=SETTER) public void setCarrier(String value)
      Generated method - Setter of Consignment.carrier attribute defined at extension basecommerce.
      Parameters:
      value - the carrier
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Initial setter of Consignment.code attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
      Parameters:
      value - the code
    • setConsignmentEntries

      @Accessor(qualifier="consignmentEntries", type=SETTER) public void setConsignmentEntries(Set<ConsignmentEntryModel> value)
      Generated method - Setter of Consignment.consignmentEntries attribute defined at extension basecommerce.
      Parameters:
      value - the consignmentEntries
    • setConsignmentProcesses

      @Accessor(qualifier="consignmentProcesses", type=SETTER) public void setConsignmentProcesses(Collection<ConsignmentProcessModel> value)
      Generated method - Setter of Consignment.consignmentProcesses attribute defined at extension basecommerce.
      Parameters:
      value - the consignmentProcesses
    • setDeliveryMode

      @Accessor(qualifier="deliveryMode", type=SETTER) public void setDeliveryMode(DeliveryModeModel value)
      Generated method - Initial setter of Consignment.deliveryMode attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
      Parameters:
      value - the deliveryMode
    • setDeliveryPointOfService

      @Accessor(qualifier="deliveryPointOfService", type=SETTER) public void setDeliveryPointOfService(PointOfServiceModel value)
      Generated method - Setter of Consignment.deliveryPointOfService attribute defined at extension commerceservices.
      Parameters:
      value - the deliveryPointOfService - The point of service to deliver to/collect from.
    • setNamedDeliveryDate

      @Accessor(qualifier="namedDeliveryDate", type=SETTER) public void setNamedDeliveryDate(Date value)
      Generated method - Initial setter of Consignment.namedDeliveryDate attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
      Parameters:
      value - the namedDeliveryDate
    • setOrder

      @Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)
      Generated method - Initial setter of Consignment.order attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
      Parameters:
      value - the order
    • setShippingAddress

      @Accessor(qualifier="shippingAddress", type=SETTER) public void setShippingAddress(AddressModel value)
      Generated method - Initial setter of Consignment.shippingAddress attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
      Parameters:
      value - the shippingAddress
    • setShippingDate

      @Accessor(qualifier="shippingDate", type=SETTER) public void setShippingDate(Date value)
      Generated method - Setter of Consignment.shippingDate attribute defined at extension basecommerce.
      Parameters:
      value - the shippingDate
    • setStatus

      @Accessor(qualifier="status", type=SETTER) public void setStatus(ConsignmentStatus value)
      Generated method - Setter of Consignment.status attribute defined at extension basecommerce.
      Parameters:
      value - the status
    • setTrackingID

      @Accessor(qualifier="trackingID", type=SETTER) public void setTrackingID(String value)
      Generated method - Setter of Consignment.trackingID attribute defined at extension basecommerce.
      Parameters:
      value - the trackingID
    • setWarehouse

      @Accessor(qualifier="warehouse", type=SETTER) public void setWarehouse(WarehouseModel value)
      Generated method - Initial setter of Consignment.warehouse attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
      Parameters:
      value - the warehouse