com.konakartadmin.app
Class AdminProductNotification

java.lang.Object
  extended by com.konakartadmin.app.AdminProductNotification
All Implemented Interfaces:
AdminObjectIf

public class AdminProductNotification
extends java.lang.Object
implements AdminObjectIf

ProductNotification object for the Admin App


Field Summary
private  int custId
          custId
private  java.util.Date dateAdded
          dateAdded
private  int id
          id - only so that we can implement AdminObjectIf
private  int productId
          productId
 
Constructor Summary
AdminProductNotification()
          Constructor
AdminProductNotification(com.workingdogs.village.Record vr, com.konakart.bl.KKCriteria c)
          Instantiates the attributes of the Address object from a Record object
 
Method Summary
 int getCustId()
           
 java.util.Date getDateAdded()
           
 int getId()
           
 int getProductId()
           
 void setCustId(int custId)
           
 void setDateAdded(java.util.Date dateAdded)
           
 void setId(int id)
           
 void setProductId(int productId)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private int id
id - only so that we can implement AdminObjectIf


custId

private int custId
custId


productId

private int productId
productId


dateAdded

private java.util.Date dateAdded
dateAdded

Constructor Detail

AdminProductNotification

public AdminProductNotification()
Constructor


AdminProductNotification

public AdminProductNotification(com.workingdogs.village.Record vr,
                                com.konakart.bl.KKCriteria c)
                         throws com.workingdogs.village.DataSetException
Instantiates the attributes of the Address 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()
Specified by:
toString in interface AdminObjectIf
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the Address object.

getDateAdded

public java.util.Date getDateAdded()
Returns:
Returns the dateAdded.

setDateAdded

public void setDateAdded(java.util.Date dateAdded)
Parameters:
dateAdded - The dateAdded to set.

getCustId

public int getCustId()
Returns:
Returns the custId.

setCustId

public void setCustId(int custId)
Parameters:
custId - The custId to set.

getProductId

public int getProductId()
Returns:
Returns the productId.

setProductId

public void setProductId(int productId)
Parameters:
productId - The productId to set.

getId

public int getId()
Specified by:
getId in interface AdminObjectIf
Returns:
return the id

setId

public void setId(int id)
Specified by:
setId in interface AdminObjectIf
Parameters:
id - set the id


Copyright © 2011 DS Data Systems UK Ltd.