public class OrderStatusHistory extends java.lang.Object implements OrderStatusHistoryIf
Constructor and Description |
---|
OrderStatusHistory()
Constructor
|
OrderStatusHistory(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the OrderStatus object from a Record object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComments()
Comments may be added to explain the status change.
|
java.util.Calendar |
getDateAdded() |
int |
getId() |
int |
getOrderId() |
java.lang.String |
getOrderStatus() |
int |
getOrderStatusId() |
int |
getUpdatedById() |
boolean |
isCustomerNotified()
When true, the customer is notified of the status change.
|
void |
setComments(java.lang.String comments)
Comments may be added to explain the status change.
|
void |
setCustomerNotified(boolean customerNotified)
When true, the customer is notified of the status change.
|
void |
setDateAdded(java.util.Calendar dateAdded) |
void |
setId(int id) |
void |
setOrderId(int orderId) |
void |
setOrderStatus(java.lang.String orderStatus) |
void |
setOrderStatusId(int orderStatusId) |
void |
setUpdatedById(int updatedById) |
java.lang.String |
toString() |
public OrderStatusHistory()
public OrderStatusHistory(com.workingdogs.village.Record vr, KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getComments()
OrderStatusHistoryIf
getComments
in interface OrderStatusHistoryIf
public void setComments(java.lang.String comments)
OrderStatusHistoryIf
setComments
in interface OrderStatusHistoryIf
comments
- The comments to set.public boolean isCustomerNotified()
OrderStatusHistoryIf
isCustomerNotified
in interface OrderStatusHistoryIf
public void setCustomerNotified(boolean customerNotified)
OrderStatusHistoryIf
setCustomerNotified
in interface OrderStatusHistoryIf
customerNotified
- The customerNotified to set.public java.util.Calendar getDateAdded()
getDateAdded
in interface OrderStatusHistoryIf
public void setDateAdded(java.util.Calendar dateAdded)
setDateAdded
in interface OrderStatusHistoryIf
dateAdded
- The dateAdded to set.public int getId()
getId
in interface OrderStatusHistoryIf
public void setId(int id)
setId
in interface OrderStatusHistoryIf
id
- The id to set.public int getOrderId()
getOrderId
in interface OrderStatusHistoryIf
public void setOrderId(int orderId)
setOrderId
in interface OrderStatusHistoryIf
orderId
- The orderId to set.public java.lang.String getOrderStatus()
getOrderStatus
in interface OrderStatusHistoryIf
public void setOrderStatus(java.lang.String orderStatus)
setOrderStatus
in interface OrderStatusHistoryIf
orderStatus
- The orderStatus to set.public int getOrderStatusId()
getOrderStatusId
in interface OrderStatusHistoryIf
public void setOrderStatusId(int orderStatusId)
setOrderStatusId
in interface OrderStatusHistoryIf
orderStatusId
- The orderStatusId to set.public int getUpdatedById()
getUpdatedById
in interface OrderStatusHistoryIf
public void setUpdatedById(int updatedById)
setUpdatedById
in interface OrderStatusHistoryIf
updatedById
- the updatedById to setCopyright © 2018 DS Data Systems UK Ltd.