com.konakartadmin.app
Class AdminProductFeedItem

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

public class AdminProductFeedItem
extends java.lang.Object
implements AdminObjectIf

Product Feed object for the Admin App


Field Summary
private  java.lang.String feedKey
          the feed_key column
private  int feedType
          the feed_type column
private  int id
          the id column (we make this the same as the productId)
private  int languageId
          the language_id column
private  java.util.Date lastUpdated
          The last_updated column
private  int productId
          the product_id column
 
Constructor Summary
AdminProductFeedItem()
          Constructor
AdminProductFeedItem(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the Currency object from a Record object
 
Method Summary
 java.lang.String getFeedKey()
           
 int getFeedType()
           
 int getId()
           
 int getLanguageId()
           
 java.util.Date getLastUpdated()
           
 int getProductId()
           
 void setFeedKey(java.lang.String feedKey)
           
 void setFeedType(int feedType)
           
 void setId(int id)
           
 void setLanguageId(int languageId)
           
 void setLastUpdated(java.util.Date lastUpdated)
           
 void setProductId(int productId)
           
 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
 

Field Detail

id

private int id
the id column (we make this the same as the productId)


productId

private int productId
the product_id column


languageId

private int languageId
the language_id column


feedType

private int feedType
the feed_type column


feedKey

private java.lang.String feedKey
the feed_key column


lastUpdated

private java.util.Date lastUpdated
The last_updated column

Constructor Detail

AdminProductFeedItem

public AdminProductFeedItem()
Constructor


AdminProductFeedItem

public AdminProductFeedItem(com.workingdogs.village.Record vr,
                            org.apache.torque.util.Criteria c)
                     throws com.workingdogs.village.DataSetException
Instantiates the attributes of the Currency 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 Currency object.

toStringBrief

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

getLastUpdated

public java.util.Date getLastUpdated()
Returns:
Returns the lastUpdated.

setLastUpdated

public void setLastUpdated(java.util.Date lastUpdated)
Parameters:
lastUpdated - The lastUpdated to set.

getProductId

public int getProductId()
Returns:
Returns the productId.

setProductId

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

getLanguageId

public int getLanguageId()
Returns:
Returns the languageId.

setLanguageId

public void setLanguageId(int languageId)
Parameters:
languageId - The languageId to set.

getFeedType

public int getFeedType()
Returns:
Returns the feedType.

setFeedType

public void setFeedType(int feedType)
Parameters:
feedType - The feedType to set.

getFeedKey

public java.lang.String getFeedKey()
Returns:
Returns the feedKey.

setFeedKey

public void setFeedKey(java.lang.String feedKey)
Parameters:
feedKey - The feedKey to set.

getId

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

setId

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


Copyright © 2011 DS Data Systems UK Ltd.