com.konakartadmin.app
Class AdminProdAttrTemplate

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

public class AdminProdAttrTemplate
extends java.lang.Object
implements AdminObjectIf

A Product Attribute Template is used to group product attributes for a product


Field Summary
private  java.lang.String custom1
          Custom fields
private  java.lang.String custom2
           
private  java.lang.String custom3
           
private  java.util.Date dateAdded
          dateAdded
private  java.lang.String description
          The description of the template
private  int id
          id
private  java.lang.String name
          The attribute name
private  AdminProdAttrDesc[] prodAttrDescriptions
          Array of ProdAttrDescriptions
 
Constructor Summary
AdminProdAttrTemplate()
          Constructor
AdminProdAttrTemplate(com.workingdogs.village.Record vr, com.konakart.bl.KKCriteria c)
          Instantiates the attributes of the ProdAttrTemplate object from a Record object
 
Method Summary
 java.lang.String getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 java.util.Date getDateAdded()
           
 java.lang.String getDescription()
           
 int getId()
           
 java.lang.String getName()
           
 AdminProdAttrDesc[] getProdAttrDescriptions()
           
 void setCustom1(java.lang.String custom1)
           
 void setCustom2(java.lang.String custom2)
           
 void setCustom3(java.lang.String custom3)
           
 void setDateAdded(java.util.Date dateAdded)
           
 void setDescription(java.lang.String description)
           
 void setId(int id)
           
 void setName(java.lang.String name)
           
 void setProdAttrDescriptions(AdminProdAttrDesc[] prodAttrDescriptions)
           
 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


name

private java.lang.String name
The attribute name


description

private java.lang.String description
The description of the template


prodAttrDescriptions

private AdminProdAttrDesc[] prodAttrDescriptions
Array of ProdAttrDescriptions


dateAdded

private java.util.Date dateAdded
dateAdded


custom1

private java.lang.String custom1
Custom fields


custom2

private java.lang.String custom2

custom3

private java.lang.String custom3
Constructor Detail

AdminProdAttrTemplate

public AdminProdAttrTemplate()
Constructor


AdminProdAttrTemplate

public AdminProdAttrTemplate(com.workingdogs.village.Record vr,
                             com.konakart.bl.KKCriteria c)
                      throws com.workingdogs.village.DataSetException
Instantiates the attributes of the ProdAttrTemplate 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 ProdAttrTemplate object.

getId

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

setId

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

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getCustom1

public java.lang.String getCustom1()
Returns:
the custom1

setCustom1

public void setCustom1(java.lang.String custom1)
Parameters:
custom1 - the custom1 to set

getCustom2

public java.lang.String getCustom2()
Returns:
the custom2

setCustom2

public void setCustom2(java.lang.String custom2)
Parameters:
custom2 - the custom2 to set

getCustom3

public java.lang.String getCustom3()
Returns:
the custom3

setCustom3

public void setCustom3(java.lang.String custom3)
Parameters:
custom3 - the custom3 to set

getDateAdded

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

setDateAdded

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

getDescription

public java.lang.String getDescription()
Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - the description to set

getProdAttrDescriptions

public AdminProdAttrDesc[] getProdAttrDescriptions()
Returns:
the prodAttrDescriptions

setProdAttrDescriptions

public void setProdAttrDescriptions(AdminProdAttrDesc[] prodAttrDescriptions)
Parameters:
prodAttrDescriptions - the prodAttrDescriptions to set


Copyright © 2011 DS Data Systems UK Ltd.