com.konakart.json.app
Class J_Manufacturer

java.lang.Object
  extended by com.konakart.json.app.J_Manufacturer
All Implemented Interfaces:
java.io.Serializable

public class J_Manufacturer
extends java.lang.Object
implements java.io.Serializable

Describes a manufacturer of products in the KonaKart catalog.

See Also:
Serialized Form

Constructor Summary
J_Manufacturer()
           
 
Method Summary
 J_Address[] 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(J_Address[] _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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J_Manufacturer

public J_Manufacturer()
Method Detail

getId

public int getId()
Returns:
Returns the id.

setId

public void setId(int _id)
Parameters:
_id - The id to set.

getImage

public java.lang.String getImage()
Returns:
Returns the image.

setImage

public void setImage(java.lang.String _image)
Parameters:
_image - The image to set.

getName

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

setName

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

getUrl

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

Returns:
Returns the url.

setUrl

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

Parameters:
_url -

getUrlClicked

public int getUrlClicked()
The number of times that the url has been clicked.

Returns:
Returns the urlClicked.

setUrlClicked

public void setUrlClicked(int _urlClicked)
The number of times that the url has been clicked.

Parameters:
_urlClicked - The urlClicked to set.

getLastClick

public java.util.Calendar getLastClick()
The last time that the url link was clicked.

Returns:
Returns the lastClick.

setLastClick

public void setLastClick(java.util.Calendar _lastClick)
The last time that the url link was clicked.

Parameters:
_lastClick - The lastClick to set.

getCustom1

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

setCustom1

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

getCustom2

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

setCustom2

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

getCustom3

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

setCustom3

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

getCustom4

public java.lang.String getCustom4()
Returns:
Returns the custom4.

setCustom4

public void setCustom4(java.lang.String _custom4)
Parameters:
_custom4 - The custom4 to set.

getCustom5

public java.lang.String getCustom5()
Returns:
Returns the custom5.

setCustom5

public void setCustom5(java.lang.String _custom5)
Parameters:
_custom5 - The custom5 to set.

getAddresses

public J_Address[] getAddresses()
An array containing all of the addresses defined for this manufacturer.

Returns:
Returns the addresses.

setAddresses

public void setAddresses(J_Address[] _addresses)
An array containing all of the addresses defined for this manufacturer.

Parameters:
_addresses - The addresses to set.

getNumberOfProducts

public 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.

Returns:
the numberOfProducts

setNumberOfProducts

public 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.

Parameters:
_numberOfProducts - the numberOfProducts to set


Copyright © 2011 DS Data Systems UK Ltd.