com.konakart.app
Class OrderStatus

java.lang.Object
  extended by com.konakart.app.OrderStatus
All Implemented Interfaces:
OrderStatusIf

public class OrderStatus
extends java.lang.Object
implements OrderStatusIf


Constructor Summary
OrderStatus()
          Constructor
OrderStatus(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the OrderStatus object from a Record object
 
Method Summary
 int getId()
           
 int getLanguageId()
           
 java.lang.String getName()
          The name of the order state.
 void setId(int id)
           
 void setLanguageId(int languageId)
           
 void setName(java.lang.String name)
          The name of the order state.
 java.lang.String toString()
           
 java.lang.String toStringBrief()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrderStatus

public OrderStatus()
Constructor


OrderStatus

public OrderStatus(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 OrderStatus object.

toStringBrief

public java.lang.String toStringBrief()
Returns:
Returns a string containing the attributes of the OrdersStatus object.

getId

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

setId

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

getName

public java.lang.String getName()
Description copied from interface: OrderStatusIf
The name of the order state. e.g. Pending, Delivered etc.

Specified by:
getName in interface OrderStatusIf
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Description copied from interface: OrderStatusIf
The name of the order state. e.g. Pending, Delivered etc.

Specified by:
setName in interface OrderStatusIf
Parameters:
name - The name to set.

getLanguageId

public int getLanguageId()
Specified by:
getLanguageId in interface OrderStatusIf
Returns:
Returns the languageId.

setLanguageId

public void setLanguageId(int languageId)
Specified by:
setLanguageId in interface OrderStatusIf
Parameters:
languageId - The languageId to set.


Copyright © 2011 DS Data Systems UK Ltd.