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
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
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationOrderHistoryRelationdefining source attributeorderin extensionbasecommerce.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofOrderHistoryEntry.descriptionattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofOrderHistoryEntry.documentsattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofOrderHistoryEntry.employeeattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofOrderHistoryEntry.orderattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofOrderHistoryEntry.orderPOSattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofOrderHistoryEntry.previousOrderVersionattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofOrderHistoryEntry.timestampattribute defined at extensionbasecommerce.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated 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 parametersOrderHistoryEntryModel(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 parametersGenerated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theOrderHistoryEntry.descriptionattribute defined at extensionbasecommerce.Generated method - Getter of theOrderHistoryEntry.documentsattribute defined at extensionbasecommerce.Generated method - Getter of theOrderHistoryEntry.employeeattribute defined at extensionbasecommerce.getOrder()Generated method - Getter of theOrderHistoryEntry.orderattribute defined at extensionbasecommerce.Generated method - Getter of theOrderHistoryEntry.previousOrderVersionattribute defined at extensionbasecommerce.Generated method - Getter of theOrderHistoryEntry.timestampattribute defined at extensionbasecommerce.voidsetDescription(String value) Generated method - Setter ofOrderHistoryEntry.descriptionattribute defined at extensionbasecommerce.voidsetDocuments(Set<MediaModel> value) Generated method - Setter ofOrderHistoryEntry.documentsattribute defined at extensionbasecommerce.voidsetEmployee(EmployeeModel value) Generated method - Setter ofOrderHistoryEntry.employeeattribute defined at extensionbasecommerce.voidsetOrder(OrderModel value) Generated method - Initial setter ofOrderHistoryEntry.orderattribute defined at extensionbasecommerce.voidGenerated method - Setter ofOrderHistoryEntry.previousOrderVersionattribute defined at extensionbasecommerce.voidsetTimestamp(Date value) Generated method - Initial setter ofOrderHistoryEntry.timestampattribute defined at extensionbasecommerce.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_ORDERHISTORYRELATION
Generated relation code constant for relationOrderHistoryRelationdefining source attributeorderin extensionbasecommerce.- See Also:
-
TIMESTAMP
Generated constant - Attribute key ofOrderHistoryEntry.timestampattribute defined at extensionbasecommerce.- See Also:
-
EMPLOYEE
Generated constant - Attribute key ofOrderHistoryEntry.employeeattribute defined at extensionbasecommerce.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofOrderHistoryEntry.descriptionattribute defined at extensionbasecommerce.- See Also:
-
PREVIOUSORDERVERSION
Generated constant - Attribute key ofOrderHistoryEntry.previousOrderVersionattribute defined at extensionbasecommerce.- See Also:
-
ORDERPOS
Generated constant - Attribute key ofOrderHistoryEntry.orderPOSattribute defined at extensionbasecommerce.- See Also:
-
ORDER
Generated constant - Attribute key ofOrderHistoryEntry.orderattribute defined at extensionbasecommerce.- See Also:
-
DOCUMENTS
Generated constant - Attribute key ofOrderHistoryEntry.documentsattribute defined at extensionbasecommerce.- See Also:
-
-
Constructor Details
-
OrderHistoryEntryModel
public OrderHistoryEntryModel()Generated constructor - Default constructor for generic creation. -
OrderHistoryEntryModel
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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_order- initial attribute declared by typeOrderHistoryEntryat extensionbasecommerce_timestamp- initial attribute declared by typeOrderHistoryEntryat extensionbasecommerce
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_order- initial attribute declared by typeOrderHistoryEntryat extensionbasecommerce_owner- initial attribute declared by typeItemat extensioncore_timestamp- initial attribute declared by typeOrderHistoryEntryat extensionbasecommerce
-
-
Method Details
-
getDescription
Generated method - Getter of theOrderHistoryEntry.descriptionattribute defined at extensionbasecommerce.- Returns:
- the description
-
getDocuments
Generated method - Getter of theOrderHistoryEntry.documentsattribute defined at extensionbasecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the documents
-
getEmployee
Generated method - Getter of theOrderHistoryEntry.employeeattribute defined at extensionbasecommerce.- Returns:
- the employee
-
getOrder
Generated method - Getter of theOrderHistoryEntry.orderattribute defined at extensionbasecommerce.- Returns:
- the order
-
getPreviousOrderVersion
@Accessor(qualifier="previousOrderVersion", type=GETTER) public OrderModel getPreviousOrderVersion()Generated method - Getter of theOrderHistoryEntry.previousOrderVersionattribute defined at extensionbasecommerce.- Returns:
- the previousOrderVersion
-
getTimestamp
Generated method - Getter of theOrderHistoryEntry.timestampattribute defined at extensionbasecommerce.- Returns:
- the timestamp
-
setDescription
Generated method - Setter ofOrderHistoryEntry.descriptionattribute defined at extensionbasecommerce.- Parameters:
value- the description
-
setDocuments
Generated method - Setter ofOrderHistoryEntry.documentsattribute defined at extensionbasecommerce.- Parameters:
value- the documents
-
setEmployee
Generated method - Setter ofOrderHistoryEntry.employeeattribute defined at extensionbasecommerce.- Parameters:
value- the employee
-
setOrder
Generated method - Initial setter ofOrderHistoryEntry.orderattribute defined at extensionbasecommerce. 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 ofOrderHistoryEntry.previousOrderVersionattribute defined at extensionbasecommerce.- Parameters:
value- the previousOrderVersion
-
setTimestamp
Generated method - Initial setter ofOrderHistoryEntry.timestampattribute defined at extensionbasecommerce. Can only be used at creation of model - before first save.- Parameters:
value- the timestamp
-