com.konakart.app
Class OrderStatusHistory

java.lang.Object
  extended by com.konakart.app.OrderStatusHistory
All Implemented Interfaces:
OrderStatusHistoryIf

public class OrderStatusHistory
extends java.lang.Object
implements OrderStatusHistoryIf


Constructor Summary
OrderStatusHistory()
          Constructor
OrderStatusHistory(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the OrderStatus object from a Record object
 
Method Summary
 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()
           
 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)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrderStatusHistory

public OrderStatusHistory()
Constructor


OrderStatusHistory

public OrderStatusHistory(com.workingdogs.village.Record vr,
                          org.apache.torque.util.Criteria c)
                   throws com.workingdogs.village.DataSetException
Instantiates the attributes of the OrderStatus object from a Record object

Parameters:
vr - Record containing data
c - Criteria containing column names
Throws:
com.workingdogs.village.DataSetException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the OrderStatusHistory object.

getComments

public java.lang.String getComments()
Description copied from interface: OrderStatusHistoryIf
Comments may be added to explain the status change.

Specified by:
getComments in interface OrderStatusHistoryIf
Returns:
Returns the comments.

setComments

public void setComments(java.lang.String comments)
Description copied from interface: OrderStatusHistoryIf
Comments may be added to explain the status change.

Specified by:
setComments in interface OrderStatusHistoryIf
Parameters:
comments - The comments to set.

isCustomerNotified

public boolean isCustomerNotified()
Description copied from interface: OrderStatusHistoryIf
When true, the customer is notified of the status change.

Specified by:
isCustomerNotified in interface OrderStatusHistoryIf
Returns:
Returns the customerNotified.

setCustomerNotified

public void setCustomerNotified(boolean customerNotified)
Description copied from interface: OrderStatusHistoryIf
When true, the customer is notified of the status change.

Specified by:
setCustomerNotified in interface OrderStatusHistoryIf
Parameters:
customerNotified - The customerNotified to set.

getDateAdded

public java.util.Calendar getDateAdded()
Specified by:
getDateAdded in interface OrderStatusHistoryIf
Returns:
Returns the dateAdded.

setDateAdded

public void setDateAdded(java.util.Calendar dateAdded)
Specified by:
setDateAdded in interface OrderStatusHistoryIf
Parameters:
dateAdded - The dateAdded to set.

getId

public int getId()
Specified by:
getId in interface OrderStatusHistoryIf
Returns:
Returns the id.

setId

public void setId(int id)
Specified by:
setId in interface OrderStatusHistoryIf
Parameters:
id - The id to set.

getOrderId

public int getOrderId()
Specified by:
getOrderId in interface OrderStatusHistoryIf
Returns:
Returns the orderId.

setOrderId

public void setOrderId(int orderId)
Specified by:
setOrderId in interface OrderStatusHistoryIf
Parameters:
orderId - The orderId to set.

getOrderStatus

public java.lang.String getOrderStatus()
Specified by:
getOrderStatus in interface OrderStatusHistoryIf
Returns:
Returns the orderStatus.

setOrderStatus

public void setOrderStatus(java.lang.String orderStatus)
Specified by:
setOrderStatus in interface OrderStatusHistoryIf
Parameters:
orderStatus - The orderStatus to set.

getOrderStatusId

public int getOrderStatusId()
Specified by:
getOrderStatusId in interface OrderStatusHistoryIf
Returns:
Returns the orderStatusId.

setOrderStatusId

public void setOrderStatusId(int orderStatusId)
Specified by:
setOrderStatusId in interface OrderStatusHistoryIf
Parameters:
orderStatusId - The orderStatusId to set.


Copyright © 2011 DS Data Systems UK Ltd.