Package com.bhn.risk.order.domain
Class OrderRiskFeedback
java.lang.Object
com.bhn.risk.common.SmartObject<OrderRiskFeedback>
com.bhn.risk.order.domain.OrderRiskFeedback
- All Implemented Interfaces:
Comparable<OrderRiskFeedback>
public class OrderRiskFeedback
extends com.bhn.risk.common.SmartObject<OrderRiskFeedback>
implements Comparable<OrderRiskFeedback>
Feedback which can be given by a user for order in finalized state.
- Version:
- $Id: $Id
- Author:
- jjung07
-
Field Summary
FieldsModifier and TypeFieldDescriptioncom.bhn.risk.domain.ReviewUser -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(OrderRiskFeedback orderRiskFeedback) Default ordering will be reverse chronological orderMethods inherited from class com.bhn.risk.common.SmartObject
addSerializableClass, addSerializableClass, addSerializableClass, copy, createMapper, equals, fromString, fromString, hashCode, toExposedString, toString, toString, toString
-
Field Details
-
status
@NotNull(errorCode="orderFeedback.status.null", message="orderFeedback.status is mandatory") @NotBlank(errorCode="orderFeedback.status.blank", message="orderFeedback.status is blank") public OrderFeedbackStatus status -
comments
@NotNull(errorCode="orderFeedback.comments.null", message="orderFeedback.comments is mandatory") @NotBlank(errorCode="orderFeedback.comments.blank", message="orderFeedback.comments is blank") public String comments -
user
@NotNull(errorCode="orderFeedback.user.null", message="orderFeedback.user is mandatory") public com.bhn.risk.domain.ReviewUser user -
createdTimestamp
-
-
Constructor Details
-
OrderRiskFeedback
public OrderRiskFeedback()
-
-
Method Details
-
compareTo
Default ordering will be reverse chronological order- Specified by:
compareToin interfaceComparable<OrderRiskFeedback>- Overrides:
compareToin classcom.bhn.risk.common.SmartObject<OrderRiskFeedback>
-