Class OrderHistoryEntryModel

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

public class OrderHistoryEntryModel extends ItemModel
Generated model class for type OrderHistoryEntry 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 OrderHistoryRelation defining source attribute order in extension basecommerce.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of OrderHistoryEntry.description attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of OrderHistoryEntry.documents attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of OrderHistoryEntry.employee attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of OrderHistoryEntry.order attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of OrderHistoryEntry.orderPOS attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of OrderHistoryEntry.previousOrderVersion attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of OrderHistoryEntry.timestamp 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.
    OrderHistoryEntryModel(OrderModel _order, ItemModel _owner, Date _timestamp)
    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
    OrderHistoryEntryModel(OrderModel _order, Date _timestamp)
    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
    OrderHistoryEntryModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the OrderHistoryEntry.description attribute defined at extension basecommerce.
    Generated method - Getter of the OrderHistoryEntry.documents attribute defined at extension basecommerce.
    Generated method - Getter of the OrderHistoryEntry.employee attribute defined at extension basecommerce.
    Generated method - Getter of the OrderHistoryEntry.order attribute defined at extension basecommerce.
    Generated method - Getter of the OrderHistoryEntry.previousOrderVersion attribute defined at extension basecommerce.
    Generated method - Getter of the OrderHistoryEntry.timestamp attribute defined at extension basecommerce.
    void
    Generated method - Setter of OrderHistoryEntry.description attribute defined at extension basecommerce.
    void
    Generated method - Setter of OrderHistoryEntry.documents attribute defined at extension basecommerce.
    void
    Generated method - Setter of OrderHistoryEntry.employee attribute defined at extension basecommerce.
    void
    Generated method - Initial setter of OrderHistoryEntry.order attribute defined at extension basecommerce.
    void
    Generated method - Setter of OrderHistoryEntry.previousOrderVersion attribute defined at extension basecommerce.
    void
    Generated method - Initial setter of OrderHistoryEntry.timestamp 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:
    • _ORDERHISTORYRELATION

      public static final String _ORDERHISTORYRELATION
      Generated relation code constant for relation OrderHistoryRelation defining source attribute order in extension basecommerce.
      See Also:
    • TIMESTAMP

      public static final String TIMESTAMP
      Generated constant - Attribute key of OrderHistoryEntry.timestamp attribute defined at extension basecommerce.
      See Also:
    • EMPLOYEE

      public static final String EMPLOYEE
      Generated constant - Attribute key of OrderHistoryEntry.employee attribute defined at extension basecommerce.
      See Also:
    • DESCRIPTION

      public static final String DESCRIPTION
      Generated constant - Attribute key of OrderHistoryEntry.description attribute defined at extension basecommerce.
      See Also:
    • PREVIOUSORDERVERSION

      public static final String PREVIOUSORDERVERSION
      Generated constant - Attribute key of OrderHistoryEntry.previousOrderVersion attribute defined at extension basecommerce.
      See Also:
    • ORDERPOS

      public static final String ORDERPOS
      Generated constant - Attribute key of OrderHistoryEntry.orderPOS attribute defined at extension basecommerce.
      See Also:
    • ORDER

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

      public static final String DOCUMENTS
      Generated constant - Attribute key of OrderHistoryEntry.documents attribute defined at extension basecommerce.
      See Also:
  • Constructor Details

    • OrderHistoryEntryModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public OrderHistoryEntryModel(OrderModel _order, Date _timestamp)
      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:
      _order - initial attribute declared by type OrderHistoryEntry at extension basecommerce
      _timestamp - initial attribute declared by type OrderHistoryEntry at extension basecommerce
    • OrderHistoryEntryModel

      @Deprecated(since="4.1.1", forRemoval=true) public OrderHistoryEntryModel(OrderModel _order, ItemModel _owner, Date _timestamp)
      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:
      _order - initial attribute declared by type OrderHistoryEntry at extension basecommerce
      _owner - initial attribute declared by type Item at extension core
      _timestamp - initial attribute declared by type OrderHistoryEntry at extension basecommerce
  • Method Details

    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription()
      Generated method - Getter of the OrderHistoryEntry.description attribute defined at extension basecommerce.
      Returns:
      the description
    • getDocuments

      @Accessor(qualifier="documents", type=GETTER) public Set<MediaModel> getDocuments()
      Generated method - Getter of the OrderHistoryEntry.documents attribute defined at extension basecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the documents
    • getEmployee

      @Accessor(qualifier="employee", type=GETTER) public EmployeeModel getEmployee()
      Generated method - Getter of the OrderHistoryEntry.employee attribute defined at extension basecommerce.
      Returns:
      the employee
    • getOrder

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

      @Accessor(qualifier="previousOrderVersion", type=GETTER) public OrderModel getPreviousOrderVersion()
      Generated method - Getter of the OrderHistoryEntry.previousOrderVersion attribute defined at extension basecommerce.
      Returns:
      the previousOrderVersion
    • getTimestamp

      @Accessor(qualifier="timestamp", type=GETTER) public Date getTimestamp()
      Generated method - Getter of the OrderHistoryEntry.timestamp attribute defined at extension basecommerce.
      Returns:
      the timestamp
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
      Generated method - Setter of OrderHistoryEntry.description attribute defined at extension basecommerce.
      Parameters:
      value - the description
    • setDocuments

      @Accessor(qualifier="documents", type=SETTER) public void setDocuments(Set<MediaModel> value)
      Generated method - Setter of OrderHistoryEntry.documents attribute defined at extension basecommerce.
      Parameters:
      value - the documents
    • setEmployee

      @Accessor(qualifier="employee", type=SETTER) public void setEmployee(EmployeeModel value)
      Generated method - Setter of OrderHistoryEntry.employee attribute defined at extension basecommerce.
      Parameters:
      value - the employee
    • setOrder

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

      @Accessor(qualifier="previousOrderVersion", type=SETTER) public void setPreviousOrderVersion(OrderModel value)
      Generated method - Setter of OrderHistoryEntry.previousOrderVersion attribute defined at extension basecommerce.
      Parameters:
      value - the previousOrderVersion
    • setTimestamp

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