com.konakart.app
Class Manufacturer

java.lang.Object
  extended by com.konakart.app.Manufacturer
All Implemented Interfaces:
ManufacturerIf

public class Manufacturer
extends java.lang.Object
implements ManufacturerIf


Constructor Summary
Manufacturer()
          Constructor
Manufacturer(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the Manufacturer object from a Record object
 
Method Summary
 AddressIf[] getAddresses()
          An array containing all of the addresses defined for this manufacturer.
 java.lang.String getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 java.lang.String getCustom4()
           
 java.lang.String getCustom5()
           
 int getId()
           
 java.lang.String getImage()
           
 java.util.Calendar getLastClick()
          The last time that the url link was clicked.
 java.lang.String getName()
           
 int getNumberOfProducts()
          The number of products is set when doing a product search using SOLR and the ProductSearch object is set to return the manufacturer facets.
 java.lang.String getUrl()
          This normally links to the manufacturer's home page.
 int getUrlClicked()
          The number of times that the url has been clicked.
 void setAddresses(AddressIf[] addresses)
          An array containing all of the addresses defined for this manufacturer.
 void setCustom1(java.lang.String custom1)
           
 void setCustom2(java.lang.String custom2)
           
 void setCustom3(java.lang.String custom3)
           
 void setCustom4(java.lang.String custom4)
           
 void setCustom5(java.lang.String custom5)
           
 void setId(int id)
           
 void setImage(java.lang.String image)
           
 void setLastClick(java.util.Calendar lastClick)
          The last time that the url link was clicked.
 void setName(java.lang.String name)
           
 void setNumberOfProducts(int numberOfProducts)
          The number of products is set when doing a product search using SOLR and the ProductSearch object is set to return the manufacturer facets.
 void setUrl(java.lang.String url)
          This normally links to the manufacturer's home page.
 void setUrlClicked(int urlClicked)
          The number of times that the url has been clicked.
 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

Manufacturer

public Manufacturer()
Constructor


Manufacturer

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

toStringBrief

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

getId

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

setId

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

getImage

public java.lang.String getImage()
Specified by:
getImage in interface ManufacturerIf
Returns:
Returns the image.

setImage

public void setImage(java.lang.String image)
Specified by:
setImage in interface ManufacturerIf
Parameters:
image - The image to set.

getName

public java.lang.String getName()
Specified by:
getName in interface ManufacturerIf
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Specified by:
setName in interface ManufacturerIf
Parameters:
name - The name to set.

getUrl

public java.lang.String getUrl()
Description copied from interface: ManufacturerIf
This normally links to the manufacturer's home page. Note that KonaKart supports a unique url for each language defined in the database.

Specified by:
getUrl in interface ManufacturerIf
Returns:
Returns the url.

setUrl

public void setUrl(java.lang.String url)
Description copied from interface: ManufacturerIf
This normally links to the manufacturer's home page. Note that KonaKart supports a unique url for each language defined in the database.

Specified by:
setUrl in interface ManufacturerIf
Parameters:
url - The url to set.

getUrlClicked

public int getUrlClicked()
Description copied from interface: ManufacturerIf
The number of times that the url has been clicked.

Specified by:
getUrlClicked in interface ManufacturerIf
Returns:
Returns the urlClicked.

setUrlClicked

public void setUrlClicked(int urlClicked)
Description copied from interface: ManufacturerIf
The number of times that the url has been clicked.

Specified by:
setUrlClicked in interface ManufacturerIf
Parameters:
urlClicked - The urlClicked to set.

getLastClick

public java.util.Calendar getLastClick()
Description copied from interface: ManufacturerIf
The last time that the url link was clicked.

Specified by:
getLastClick in interface ManufacturerIf
Returns:
Returns the lastClick.

setLastClick

public void setLastClick(java.util.Calendar lastClick)
Description copied from interface: ManufacturerIf
The last time that the url link was clicked.

Specified by:
setLastClick in interface ManufacturerIf
Parameters:
lastClick - The lastClick to set.

getCustom1

public java.lang.String getCustom1()
Specified by:
getCustom1 in interface ManufacturerIf
Returns:
Returns the custom1.

setCustom1

public void setCustom1(java.lang.String custom1)
Specified by:
setCustom1 in interface ManufacturerIf
Parameters:
custom1 - The custom1 to set.

getCustom2

public java.lang.String getCustom2()
Specified by:
getCustom2 in interface ManufacturerIf
Returns:
Returns the custom2.

setCustom2

public void setCustom2(java.lang.String custom2)
Specified by:
setCustom2 in interface ManufacturerIf
Parameters:
custom2 - The custom2 to set.

getCustom3

public java.lang.String getCustom3()
Specified by:
getCustom3 in interface ManufacturerIf
Returns:
Returns the custom3.

setCustom3

public void setCustom3(java.lang.String custom3)
Specified by:
setCustom3 in interface ManufacturerIf
Parameters:
custom3 - The custom3 to set.

getCustom4

public java.lang.String getCustom4()
Specified by:
getCustom4 in interface ManufacturerIf
Returns:
Returns the custom4.

setCustom4

public void setCustom4(java.lang.String custom4)
Specified by:
setCustom4 in interface ManufacturerIf
Parameters:
custom4 - The custom4 to set.

getCustom5

public java.lang.String getCustom5()
Specified by:
getCustom5 in interface ManufacturerIf
Returns:
Returns the custom5.

setCustom5

public void setCustom5(java.lang.String custom5)
Specified by:
setCustom5 in interface ManufacturerIf
Parameters:
custom5 - The custom5 to set.

getAddresses

public AddressIf[] getAddresses()
Description copied from interface: ManufacturerIf
An array containing all of the addresses defined for this manufacturer.

Specified by:
getAddresses in interface ManufacturerIf
Returns:
the addresses

setAddresses

public void setAddresses(AddressIf[] addresses)
Description copied from interface: ManufacturerIf
An array containing all of the addresses defined for this manufacturer.

Specified by:
setAddresses in interface ManufacturerIf
Parameters:
addresses - the addresses to set

getNumberOfProducts

public int getNumberOfProducts()
Description copied from interface: ManufacturerIf
The number of products is set when doing a product search using SOLR and the ProductSearch object is set to return the manufacturer facets.

Specified by:
getNumberOfProducts in interface ManufacturerIf
Returns:
the numberOfProducts

setNumberOfProducts

public void setNumberOfProducts(int numberOfProducts)
Description copied from interface: ManufacturerIf
The number of products is set when doing a product search using SOLR and the ProductSearch object is set to return the manufacturer facets.

Specified by:
setNumberOfProducts in interface ManufacturerIf
Parameters:
numberOfProducts - the numberOfProducts to set


Copyright © 2011 DS Data Systems UK Ltd.