com.konakart.om
Class BaseProducts

java.lang.Object
  extended by org.apache.torque.om.BaseObject
      extended by com.konakart.om.BaseProducts
All Implemented Interfaces:
java.io.Serializable, org.apache.torque.om.Persistent
Direct Known Subclasses:
Products

public abstract class BaseProducts
extends org.apache.torque.om.BaseObject

This class was autogenerated by Torque on: [Wed Jun 13 21:13:35 BST 2012] Object.vm template overriden for KonaKart You should not use this class directly. It should not even be extended all references should be to Products

See Also:
Serialized Form

Field Summary
protected  java.util.List collProductsDescriptions
          Collection to store aggregation of collProductsDescriptions
protected  java.util.List collProductsQuantitys
          Collection to store aggregation of collProductsQuantitys
protected  java.util.List collPromotionToProducts
          Collection to store aggregation of collPromotionToProducts
 
Fields inherited from class org.apache.torque.om.BaseObject
NEW_ID
 
Constructor Summary
BaseProducts()
           
 
Method Summary
 void addProductsDescription(ProductsDescription l)
          Method called to associate a ProductsDescription object to this object through the ProductsDescription foreign key attribute
 void addProductsDescription(ProductsDescription l, java.sql.Connection con)
          Method called to associate a ProductsDescription object to this object through the ProductsDescription foreign key attribute using connection.
 void addProductsQuantity(ProductsQuantity l)
          Method called to associate a ProductsQuantity object to this object through the ProductsQuantity foreign key attribute
 void addProductsQuantity(ProductsQuantity l, java.sql.Connection con)
          Method called to associate a ProductsQuantity object to this object through the ProductsQuantity foreign key attribute using connection.
 void addPromotionToProduct(PromotionToProduct l)
          Method called to associate a PromotionToProduct object to this object through the PromotionToProduct foreign key attribute
 void addPromotionToProduct(PromotionToProduct l, java.sql.Connection con)
          Method called to associate a PromotionToProduct object to this object through the PromotionToProduct foreign key attribute using connection.
 Products copy()
          Makes a copy of this object.
 Products copy(boolean deepcopy)
          Makes a copy of this object.
 Products copy(boolean deepcopy, java.sql.Connection con)
          Makes a copy of this object using connection.
 Products copy(java.sql.Connection con)
          Makes a copy of this object using connection.
protected  Products copyInto(Products copyObj)
          Fills the copyObj with the contents of this object.
protected  Products copyInto(Products copyObj, boolean deepcopy)
          Fills the copyObj with the contents of this object.
protected  Products copyInto(Products copyObj, boolean deepcopy, java.sql.Connection con)
          Fills the copyObj with the contents of this object using connection.
protected  Products copyInto(Products copyObj, java.sql.Connection con)
          Fills the copyObj with the contents of this object using connection.
 java.lang.Object getByName(java.lang.String name)
          Retrieves a field from the object by field (Java) name passed in as a String.
 java.lang.Object getByPeerName(java.lang.String name)
          Retrieves a field from the object by name passed in as a String.
 java.lang.Object getByPosition(int pos)
          Retrieves a field from the object by Position as specified in the xml schema.
 int getCanOrderWhenNotInStock()
          Get the CanOrderWhenNotInStock
 int getCustAttrTmplId()
          Get the CustAttrTmplId
 java.lang.String getCustom1()
          Get the Custom1
 java.lang.String getCustom10()
          Get the Custom10
 java.math.BigDecimal getCustom1dec()
          Get the Custom1dec
 int getCustom1int()
          Get the Custom1int
 java.lang.String getCustom2()
          Get the Custom2
 java.math.BigDecimal getCustom2dec()
          Get the Custom2dec
 int getCustom2int()
          Get the Custom2int
 java.lang.String getCustom3()
          Get the Custom3
 java.lang.String getCustom4()
          Get the Custom4
 java.lang.String getCustom5()
          Get the Custom5
 java.lang.String getCustom6()
          Get the Custom6
 java.lang.String getCustom7()
          Get the Custom7
 java.lang.String getCustom8()
          Get the Custom8
 java.lang.String getCustom9()
          Get the Custom9
 java.lang.String getCustomAttrs()
          Get the CustomAttrs
static java.util.List<java.lang.String> getFieldNames()
          Generate a list of field names.
 int getIndexAttachment()
          Get the IndexAttachment
 int getManufacturersId()
          Get the ManufacturersId
 int getMaxDownloadDays()
          Get the MaxDownloadDays
 int getMaxNumDownloads()
          Get the MaxNumDownloads
 int getPaymentScheduleId()
          Get the PaymentScheduleId
 ProductsPeer getPeer()
          returns a peer instance associated with this om.
 org.apache.torque.om.ObjectKey getPrimaryKey()
          returns an id that differentiates this object from others of its class.
 java.lang.String getProductsContentType()
          Get the ProductsContentType
 java.util.Date getProductsDateAdded()
          Get the ProductsDateAdded
 java.util.Date getProductsDateAvailable()
          Get the ProductsDateAvailable
 java.util.Date getProductsDateExpiry()
          Get the ProductsDateExpiry
 java.util.List getProductsDescriptions()
          If this collection has already been initialized, returns the collection.
 java.util.List getProductsDescriptions(java.sql.Connection con)
          If this collection has already been initialized, returns the collection.
 java.util.List getProductsDescriptions(org.apache.torque.util.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.util.List getProductsDescriptions(org.apache.torque.util.Criteria criteria, java.sql.Connection con)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.List getProductsDescriptionsJoinProducts(org.apache.torque.util.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.lang.String getProductsFilePath()
          Get the ProductsFilePath
 int getProductsId()
          Get the ProductsId
 java.lang.String getProductsImage()
          Get the ProductsImage
 java.lang.String getProductsImage2()
          Get the ProductsImage2
 java.lang.String getProductsImage3()
          Get the ProductsImage3
 java.lang.String getProductsImage4()
          Get the ProductsImage4
 int getProductsInvisible()
          Get the ProductsInvisible
 java.util.Date getProductsLastModified()
          Get the ProductsLastModified
 java.lang.String getProductsModel()
          Get the ProductsModel
 int getProductsOrdered()
          Get the ProductsOrdered
 java.math.BigDecimal getProductsPrice()
          Get the ProductsPrice
 java.math.BigDecimal getProductsPrice1()
          Get the ProductsPrice1
 java.math.BigDecimal getProductsPrice2()
          Get the ProductsPrice2
 java.math.BigDecimal getProductsPrice3()
          Get the ProductsPrice3
 int getProductsQuantity()
          Get the ProductsQuantity
 java.util.List getProductsQuantitys()
          If this collection has already been initialized, returns the collection.
 java.util.List getProductsQuantitys(java.sql.Connection con)
          If this collection has already been initialized, returns the collection.
 java.util.List getProductsQuantitys(org.apache.torque.util.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.util.List getProductsQuantitys(org.apache.torque.util.Criteria criteria, java.sql.Connection con)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.List getProductsQuantitysJoinProducts(org.apache.torque.util.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.lang.String getProductsSku()
          Get the ProductsSku
 byte getProductsStatus()
          Get the ProductsStatus
 int getProductsTaxClassId()
          Get the ProductsTaxClassId
 ProductsToCategories getProductsToCategories()
          Returns the associated ProductsToCategories object.
 ProductsToCategories getProductsToCategories(java.sql.Connection connection)
          Return the associated ProductsToCategories object If it was not retrieved before, the object is retrieved from the database using the passed connection
 int getProductsType()
          Get the ProductsType
 java.math.BigDecimal getProductsWeight()
          Get the ProductsWeight
 java.lang.String getProductUuid()
          Get the ProductUuid
 java.util.List getPromotionToProducts()
          If this collection has already been initialized, returns the collection.
 java.util.List getPromotionToProducts(java.sql.Connection con)
          If this collection has already been initialized, returns the collection.
 java.util.List getPromotionToProducts(org.apache.torque.util.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.util.List getPromotionToProducts(org.apache.torque.util.Criteria criteria, java.sql.Connection con)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.List getPromotionToProductsJoinProducts(org.apache.torque.util.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.math.BigDecimal getRating()
          Get the Rating
 java.util.Date getSourceLastModified()
          Get the SourceLastModified
 int getStockReorderLevel()
          Get the StockReorderLevel
 java.lang.String getStoreId()
          Get the StoreId
 org.apache.torque.map.TableMap getTableMap()
          Retrieves the TableMap object related to this Table data without compiler warnings of using getPeer().getTableMap().
protected  void initProductsDescriptions()
          Temporary storage of collProductsDescriptions to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.
protected  void initProductsQuantitys()
          Temporary storage of collProductsQuantitys to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.
protected  void initPromotionToProducts()
          Temporary storage of collPromotionToProducts to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.
 void save()
          Stores the object in the database.
 void save(java.sql.Connection con)
          Stores the object in the database.
 void save(java.lang.String dbName)
          Stores the object in the database.
 boolean setByName(java.lang.String name, java.lang.Object value)
          Set a field in the object by field (Java) name.
 boolean setByPeerName(java.lang.String name, java.lang.Object value)
          Set field values by Peer Field Name
 boolean setByPosition(int position, java.lang.Object value)
          Set field values by its position (zero based) in the XML schema.
 void setCanOrderWhenNotInStock(int v)
          Set the value of CanOrderWhenNotInStock
 void setCustAttrTmplId(int v)
          Set the value of CustAttrTmplId
 void setCustom1(java.lang.String v)
          Set the value of Custom1
 void setCustom10(java.lang.String v)
          Set the value of Custom10
 void setCustom1dec(java.math.BigDecimal v)
          Set the value of Custom1dec
 void setCustom1int(int v)
          Set the value of Custom1int
 void setCustom2(java.lang.String v)
          Set the value of Custom2
 void setCustom2dec(java.math.BigDecimal v)
          Set the value of Custom2dec
 void setCustom2int(int v)
          Set the value of Custom2int
 void setCustom3(java.lang.String v)
          Set the value of Custom3
 void setCustom4(java.lang.String v)
          Set the value of Custom4
 void setCustom5(java.lang.String v)
          Set the value of Custom5
 void setCustom6(java.lang.String v)
          Set the value of Custom6
 void setCustom7(java.lang.String v)
          Set the value of Custom7
 void setCustom8(java.lang.String v)
          Set the value of Custom8
 void setCustom9(java.lang.String v)
          Set the value of Custom9
 void setCustomAttrs(java.lang.String v)
          Set the value of CustomAttrs
 void setIndexAttachment(int v)
          Set the value of IndexAttachment
 void setManufacturersId(int v)
          Set the value of ManufacturersId
 void setMaxDownloadDays(int v)
          Set the value of MaxDownloadDays
 void setMaxNumDownloads(int v)
          Set the value of MaxNumDownloads
 void setPaymentScheduleId(int v)
          Set the value of PaymentScheduleId
 void setPrimaryKey(org.apache.torque.om.ObjectKey key)
          Set the PrimaryKey using ObjectKey.
 void setPrimaryKey(java.lang.String key)
          Set the PrimaryKey using a String.
 void setProductsContentType(java.lang.String v)
          Set the value of ProductsContentType
 void setProductsDateAdded(java.util.Date v)
          Set the value of ProductsDateAdded
 void setProductsDateAvailable(java.util.Date v)
          Set the value of ProductsDateAvailable
 void setProductsDateExpiry(java.util.Date v)
          Set the value of ProductsDateExpiry
 void setProductsFilePath(java.lang.String v)
          Set the value of ProductsFilePath
 void setProductsId(int v)
          Set the value of ProductsId
 void setProductsImage(java.lang.String v)
          Set the value of ProductsImage
 void setProductsImage2(java.lang.String v)
          Set the value of ProductsImage2
 void setProductsImage3(java.lang.String v)
          Set the value of ProductsImage3
 void setProductsImage4(java.lang.String v)
          Set the value of ProductsImage4
 void setProductsInvisible(int v)
          Set the value of ProductsInvisible
 void setProductsLastModified(java.util.Date v)
          Set the value of ProductsLastModified
 void setProductsModel(java.lang.String v)
          Set the value of ProductsModel
 void setProductsOrdered(int v)
          Set the value of ProductsOrdered
 void setProductsPrice(java.math.BigDecimal v)
          Set the value of ProductsPrice
 void setProductsPrice1(java.math.BigDecimal v)
          Set the value of ProductsPrice1
 void setProductsPrice2(java.math.BigDecimal v)
          Set the value of ProductsPrice2
 void setProductsPrice3(java.math.BigDecimal v)
          Set the value of ProductsPrice3
 void setProductsQuantity(int v)
          Set the value of ProductsQuantity
 void setProductsSku(java.lang.String v)
          Set the value of ProductsSku
 void setProductsStatus(byte v)
          Set the value of ProductsStatus
 void setProductsTaxClassId(int v)
          Set the value of ProductsTaxClassId
 void setProductsToCategories(ProductsToCategories v)
          Declares an association between this object and a ProductsToCategories object
 void setProductsToCategoriesKey(org.apache.torque.om.ObjectKey key)
          Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())
 void setProductsType(int v)
          Set the value of ProductsType
 void setProductsWeight(java.math.BigDecimal v)
          Set the value of ProductsWeight
 void setProductUuid(java.lang.String v)
          Set the value of ProductUuid
 void setRating(java.math.BigDecimal v)
          Set the value of Rating
 void setSourceLastModified(java.util.Date v)
          Set the value of SourceLastModified
 void setStockReorderLevel(int v)
          Set the value of StockReorderLevel
 void setStoreId(java.lang.String v)
          Set the value of StoreId
 java.lang.String toString()
           
 
Methods inherited from class org.apache.torque.om.BaseObject
equals, equals, getLog, hashCode, isModified, isNew, resetModified, setModified, setNew, setPrimaryKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

collProductsDescriptions

protected java.util.List collProductsDescriptions
Collection to store aggregation of collProductsDescriptions


collPromotionToProducts

protected java.util.List collPromotionToProducts
Collection to store aggregation of collPromotionToProducts


collProductsQuantitys

protected java.util.List collProductsQuantitys
Collection to store aggregation of collProductsQuantitys

Constructor Detail

BaseProducts

public BaseProducts()
Method Detail

getProductsId

public int getProductsId()
Get the ProductsId

Returns:
int

setProductsId

public void setProductsId(int v)
                   throws org.apache.torque.TorqueException
Set the value of ProductsId

Parameters:
v - new value
Throws:
org.apache.torque.TorqueException

getStoreId

public java.lang.String getStoreId()
Get the StoreId

Returns:
String

setStoreId

public void setStoreId(java.lang.String v)
Set the value of StoreId

Parameters:
v - new value

getProductsQuantity

public int getProductsQuantity()
Get the ProductsQuantity

Returns:
int

setProductsQuantity

public void setProductsQuantity(int v)
Set the value of ProductsQuantity

Parameters:
v - new value

getProductsModel

public java.lang.String getProductsModel()
Get the ProductsModel

Returns:
String

setProductsModel

public void setProductsModel(java.lang.String v)
Set the value of ProductsModel

Parameters:
v - new value

getProductsImage

public java.lang.String getProductsImage()
Get the ProductsImage

Returns:
String

setProductsImage

public void setProductsImage(java.lang.String v)
Set the value of ProductsImage

Parameters:
v - new value

getProductsImage2

public java.lang.String getProductsImage2()
Get the ProductsImage2

Returns:
String

setProductsImage2

public void setProductsImage2(java.lang.String v)
Set the value of ProductsImage2

Parameters:
v - new value

getProductsImage3

public java.lang.String getProductsImage3()
Get the ProductsImage3

Returns:
String

setProductsImage3

public void setProductsImage3(java.lang.String v)
Set the value of ProductsImage3

Parameters:
v - new value

getProductsImage4

public java.lang.String getProductsImage4()
Get the ProductsImage4

Returns:
String

setProductsImage4

public void setProductsImage4(java.lang.String v)
Set the value of ProductsImage4

Parameters:
v - new value

getProductsPrice

public java.math.BigDecimal getProductsPrice()
Get the ProductsPrice

Returns:
BigDecimal

setProductsPrice

public void setProductsPrice(java.math.BigDecimal v)
Set the value of ProductsPrice

Parameters:
v - new value

getProductsPrice1

public java.math.BigDecimal getProductsPrice1()
Get the ProductsPrice1

Returns:
BigDecimal

setProductsPrice1

public void setProductsPrice1(java.math.BigDecimal v)
Set the value of ProductsPrice1

Parameters:
v - new value

getProductsPrice2

public java.math.BigDecimal getProductsPrice2()
Get the ProductsPrice2

Returns:
BigDecimal

setProductsPrice2

public void setProductsPrice2(java.math.BigDecimal v)
Set the value of ProductsPrice2

Parameters:
v - new value

getProductsPrice3

public java.math.BigDecimal getProductsPrice3()
Get the ProductsPrice3

Returns:
BigDecimal

setProductsPrice3

public void setProductsPrice3(java.math.BigDecimal v)
Set the value of ProductsPrice3

Parameters:
v - new value

getProductsDateAdded

public java.util.Date getProductsDateAdded()
Get the ProductsDateAdded

Returns:
Date

setProductsDateAdded

public void setProductsDateAdded(java.util.Date v)
Set the value of ProductsDateAdded

Parameters:
v - new value

getProductsLastModified

public java.util.Date getProductsLastModified()
Get the ProductsLastModified

Returns:
Date

setProductsLastModified

public void setProductsLastModified(java.util.Date v)
Set the value of ProductsLastModified

Parameters:
v - new value

getProductsDateAvailable

public java.util.Date getProductsDateAvailable()
Get the ProductsDateAvailable

Returns:
Date

setProductsDateAvailable

public void setProductsDateAvailable(java.util.Date v)
Set the value of ProductsDateAvailable

Parameters:
v - new value

getProductsDateExpiry

public java.util.Date getProductsDateExpiry()
Get the ProductsDateExpiry

Returns:
Date

setProductsDateExpiry

public void setProductsDateExpiry(java.util.Date v)
Set the value of ProductsDateExpiry

Parameters:
v - new value

getProductsWeight

public java.math.BigDecimal getProductsWeight()
Get the ProductsWeight

Returns:
BigDecimal

setProductsWeight

public void setProductsWeight(java.math.BigDecimal v)
Set the value of ProductsWeight

Parameters:
v - new value

getProductsStatus

public byte getProductsStatus()
Get the ProductsStatus

Returns:
byte

setProductsStatus

public void setProductsStatus(byte v)
Set the value of ProductsStatus

Parameters:
v - new value

getProductsInvisible

public int getProductsInvisible()
Get the ProductsInvisible

Returns:
int

setProductsInvisible

public void setProductsInvisible(int v)
Set the value of ProductsInvisible

Parameters:
v - new value

getProductsTaxClassId

public int getProductsTaxClassId()
Get the ProductsTaxClassId

Returns:
int

setProductsTaxClassId

public void setProductsTaxClassId(int v)
Set the value of ProductsTaxClassId

Parameters:
v - new value

getManufacturersId

public int getManufacturersId()
Get the ManufacturersId

Returns:
int

setManufacturersId

public void setManufacturersId(int v)
Set the value of ManufacturersId

Parameters:
v - new value

getProductsOrdered

public int getProductsOrdered()
Get the ProductsOrdered

Returns:
int

setProductsOrdered

public void setProductsOrdered(int v)
Set the value of ProductsOrdered

Parameters:
v - new value

getProductsSku

public java.lang.String getProductsSku()
Get the ProductsSku

Returns:
String

setProductsSku

public void setProductsSku(java.lang.String v)
Set the value of ProductsSku

Parameters:
v - new value

getProductsFilePath

public java.lang.String getProductsFilePath()
Get the ProductsFilePath

Returns:
String

setProductsFilePath

public void setProductsFilePath(java.lang.String v)
Set the value of ProductsFilePath

Parameters:
v - new value

getProductsContentType

public java.lang.String getProductsContentType()
Get the ProductsContentType

Returns:
String

setProductsContentType

public void setProductsContentType(java.lang.String v)
Set the value of ProductsContentType

Parameters:
v - new value

getProductsType

public int getProductsType()
Get the ProductsType

Returns:
int

setProductsType

public void setProductsType(int v)
Set the value of ProductsType

Parameters:
v - new value

getMaxNumDownloads

public int getMaxNumDownloads()
Get the MaxNumDownloads

Returns:
int

setMaxNumDownloads

public void setMaxNumDownloads(int v)
Set the value of MaxNumDownloads

Parameters:
v - new value

getMaxDownloadDays

public int getMaxDownloadDays()
Get the MaxDownloadDays

Returns:
int

setMaxDownloadDays

public void setMaxDownloadDays(int v)
Set the value of MaxDownloadDays

Parameters:
v - new value

getStockReorderLevel

public int getStockReorderLevel()
Get the StockReorderLevel

Returns:
int

setStockReorderLevel

public void setStockReorderLevel(int v)
Set the value of StockReorderLevel

Parameters:
v - new value

getCanOrderWhenNotInStock

public int getCanOrderWhenNotInStock()
Get the CanOrderWhenNotInStock

Returns:
int

setCanOrderWhenNotInStock

public void setCanOrderWhenNotInStock(int v)
Set the value of CanOrderWhenNotInStock

Parameters:
v - new value

getIndexAttachment

public int getIndexAttachment()
Get the IndexAttachment

Returns:
int

setIndexAttachment

public void setIndexAttachment(int v)
Set the value of IndexAttachment

Parameters:
v - new value

getRating

public java.math.BigDecimal getRating()
Get the Rating

Returns:
BigDecimal

setRating

public void setRating(java.math.BigDecimal v)
Set the value of Rating

Parameters:
v - new value

getPaymentScheduleId

public int getPaymentScheduleId()
Get the PaymentScheduleId

Returns:
int

setPaymentScheduleId

public void setPaymentScheduleId(int v)
Set the value of PaymentScheduleId

Parameters:
v - new value

getCustAttrTmplId

public int getCustAttrTmplId()
Get the CustAttrTmplId

Returns:
int

setCustAttrTmplId

public void setCustAttrTmplId(int v)
Set the value of CustAttrTmplId

Parameters:
v - new value

getCustomAttrs

public java.lang.String getCustomAttrs()
Get the CustomAttrs

Returns:
String

setCustomAttrs

public void setCustomAttrs(java.lang.String v)
Set the value of CustomAttrs

Parameters:
v - new value

getCustom1

public java.lang.String getCustom1()
Get the Custom1

Returns:
String

setCustom1

public void setCustom1(java.lang.String v)
Set the value of Custom1

Parameters:
v - new value

getCustom2

public java.lang.String getCustom2()
Get the Custom2

Returns:
String

setCustom2

public void setCustom2(java.lang.String v)
Set the value of Custom2

Parameters:
v - new value

getCustom3

public java.lang.String getCustom3()
Get the Custom3

Returns:
String

setCustom3

public void setCustom3(java.lang.String v)
Set the value of Custom3

Parameters:
v - new value

getCustom4

public java.lang.String getCustom4()
Get the Custom4

Returns:
String

setCustom4

public void setCustom4(java.lang.String v)
Set the value of Custom4

Parameters:
v - new value

getCustom5

public java.lang.String getCustom5()
Get the Custom5

Returns:
String

setCustom5

public void setCustom5(java.lang.String v)
Set the value of Custom5

Parameters:
v - new value

getCustom6

public java.lang.String getCustom6()
Get the Custom6

Returns:
String

setCustom6

public void setCustom6(java.lang.String v)
Set the value of Custom6

Parameters:
v - new value

getCustom7

public java.lang.String getCustom7()
Get the Custom7

Returns:
String

setCustom7

public void setCustom7(java.lang.String v)
Set the value of Custom7

Parameters:
v - new value

getCustom8

public java.lang.String getCustom8()
Get the Custom8

Returns:
String

setCustom8

public void setCustom8(java.lang.String v)
Set the value of Custom8

Parameters:
v - new value

getCustom9

public java.lang.String getCustom9()
Get the Custom9

Returns:
String

setCustom9

public void setCustom9(java.lang.String v)
Set the value of Custom9

Parameters:
v - new value

getCustom10

public java.lang.String getCustom10()
Get the Custom10

Returns:
String

setCustom10

public void setCustom10(java.lang.String v)
Set the value of Custom10

Parameters:
v - new value

getCustom1int

public int getCustom1int()
Get the Custom1int

Returns:
int

setCustom1int

public void setCustom1int(int v)
Set the value of Custom1int

Parameters:
v - new value

getCustom2int

public int getCustom2int()
Get the Custom2int

Returns:
int

setCustom2int

public void setCustom2int(int v)
Set the value of Custom2int

Parameters:
v - new value

getCustom1dec

public java.math.BigDecimal getCustom1dec()
Get the Custom1dec

Returns:
BigDecimal

setCustom1dec

public void setCustom1dec(java.math.BigDecimal v)
Set the value of Custom1dec

Parameters:
v - new value

getCustom2dec

public java.math.BigDecimal getCustom2dec()
Get the Custom2dec

Returns:
BigDecimal

setCustom2dec

public void setCustom2dec(java.math.BigDecimal v)
Set the value of Custom2dec

Parameters:
v - new value

getProductUuid

public java.lang.String getProductUuid()
Get the ProductUuid

Returns:
String

setProductUuid

public void setProductUuid(java.lang.String v)
Set the value of ProductUuid

Parameters:
v - new value

getSourceLastModified

public java.util.Date getSourceLastModified()
Get the SourceLastModified

Returns:
Date

setSourceLastModified

public void setSourceLastModified(java.util.Date v)
Set the value of SourceLastModified

Parameters:
v - new value

setProductsToCategories

public void setProductsToCategories(ProductsToCategories v)
                             throws org.apache.torque.TorqueException
Declares an association between this object and a ProductsToCategories object

Parameters:
v - ProductsToCategories
Throws:
org.apache.torque.TorqueException

getProductsToCategories

public ProductsToCategories getProductsToCategories()
                                             throws org.apache.torque.TorqueException
Returns the associated ProductsToCategories object. If it was not retrieved before, the object is retrieved from the database

Returns:
the associated ProductsToCategories object
Throws:
org.apache.torque.TorqueException

getProductsToCategories

public ProductsToCategories getProductsToCategories(java.sql.Connection connection)
                                             throws org.apache.torque.TorqueException
Return the associated ProductsToCategories object If it was not retrieved before, the object is retrieved from the database using the passed connection

Parameters:
connection - the connection used to retrieve the associated object from the database, if it was not retrieved before
Returns:
the associated ProductsToCategories object
Throws:
org.apache.torque.TorqueException

setProductsToCategoriesKey

public void setProductsToCategoriesKey(org.apache.torque.om.ObjectKey key)
                                throws org.apache.torque.TorqueException
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())

Throws:
org.apache.torque.TorqueException

initProductsDescriptions

protected void initProductsDescriptions()
Temporary storage of collProductsDescriptions to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.


addProductsDescription

public void addProductsDescription(ProductsDescription l)
                            throws org.apache.torque.TorqueException
Method called to associate a ProductsDescription object to this object through the ProductsDescription foreign key attribute

Parameters:
l - ProductsDescription
Throws:
org.apache.torque.TorqueException

addProductsDescription

public void addProductsDescription(ProductsDescription l,
                                   java.sql.Connection con)
                            throws org.apache.torque.TorqueException
Method called to associate a ProductsDescription object to this object through the ProductsDescription foreign key attribute using connection.

Parameters:
l - ProductsDescription
Throws:
org.apache.torque.TorqueException

getProductsDescriptions

public java.util.List getProductsDescriptions()
                                       throws org.apache.torque.TorqueException
If this collection has already been initialized, returns the collection. Otherwise returns the results of getProductsDescriptions(new Criteria())

Returns:
the collection of associated objects
Throws:
org.apache.torque.TorqueException

getProductsDescriptions

public java.util.List getProductsDescriptions(org.apache.torque.util.Criteria criteria)
                                       throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Products has previously been saved, it will retrieve related ProductsDescriptions from storage. If this Products is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

Throws:
org.apache.torque.TorqueException

getProductsDescriptions

public java.util.List getProductsDescriptions(java.sql.Connection con)
                                       throws org.apache.torque.TorqueException
If this collection has already been initialized, returns the collection. Otherwise returns the results of getProductsDescriptions(new Criteria(),Connection) This method takes in the Connection also as input so that referenced objects can also be obtained using a Connection that is taken as input

Throws:
org.apache.torque.TorqueException

getProductsDescriptions

public java.util.List getProductsDescriptions(org.apache.torque.util.Criteria criteria,
                                              java.sql.Connection con)
                                       throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Products has previously been saved, it will retrieve related ProductsDescriptions from storage. If this Products is new, it will return an empty collection or the current collection, the criteria is ignored on a new object. This method takes in the Connection also as input so that referenced objects can also be obtained using a Connection that is taken as input

Throws:
org.apache.torque.TorqueException

getProductsDescriptionsJoinProducts

protected java.util.List getProductsDescriptionsJoinProducts(org.apache.torque.util.Criteria criteria)
                                                      throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Products is new, it will return an empty collection; or if this Products has previously been saved, it will retrieve related ProductsDescriptions from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Products.

Throws:
org.apache.torque.TorqueException

initPromotionToProducts

protected void initPromotionToProducts()
Temporary storage of collPromotionToProducts to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.


addPromotionToProduct

public void addPromotionToProduct(PromotionToProduct l)
                           throws org.apache.torque.TorqueException
Method called to associate a PromotionToProduct object to this object through the PromotionToProduct foreign key attribute

Parameters:
l - PromotionToProduct
Throws:
org.apache.torque.TorqueException

addPromotionToProduct

public void addPromotionToProduct(PromotionToProduct l,
                                  java.sql.Connection con)
                           throws org.apache.torque.TorqueException
Method called to associate a PromotionToProduct object to this object through the PromotionToProduct foreign key attribute using connection.

Parameters:
l - PromotionToProduct
Throws:
org.apache.torque.TorqueException

getPromotionToProducts

public java.util.List getPromotionToProducts()
                                      throws org.apache.torque.TorqueException
If this collection has already been initialized, returns the collection. Otherwise returns the results of getPromotionToProducts(new Criteria())

Returns:
the collection of associated objects
Throws:
org.apache.torque.TorqueException

getPromotionToProducts

public java.util.List getPromotionToProducts(org.apache.torque.util.Criteria criteria)
                                      throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Products has previously been saved, it will retrieve related PromotionToProducts from storage. If this Products is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

Throws:
org.apache.torque.TorqueException

getPromotionToProducts

public java.util.List getPromotionToProducts(java.sql.Connection con)
                                      throws org.apache.torque.TorqueException
If this collection has already been initialized, returns the collection. Otherwise returns the results of getPromotionToProducts(new Criteria(),Connection) This method takes in the Connection also as input so that referenced objects can also be obtained using a Connection that is taken as input

Throws:
org.apache.torque.TorqueException

getPromotionToProducts

public java.util.List getPromotionToProducts(org.apache.torque.util.Criteria criteria,
                                             java.sql.Connection con)
                                      throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Products has previously been saved, it will retrieve related PromotionToProducts from storage. If this Products is new, it will return an empty collection or the current collection, the criteria is ignored on a new object. This method takes in the Connection also as input so that referenced objects can also be obtained using a Connection that is taken as input

Throws:
org.apache.torque.TorqueException

getPromotionToProductsJoinProducts

protected java.util.List getPromotionToProductsJoinProducts(org.apache.torque.util.Criteria criteria)
                                                     throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Products is new, it will return an empty collection; or if this Products has previously been saved, it will retrieve related PromotionToProducts from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Products.

Throws:
org.apache.torque.TorqueException

initProductsQuantitys

protected void initProductsQuantitys()
Temporary storage of collProductsQuantitys to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.


addProductsQuantity

public void addProductsQuantity(ProductsQuantity l)
                         throws org.apache.torque.TorqueException
Method called to associate a ProductsQuantity object to this object through the ProductsQuantity foreign key attribute

Parameters:
l - ProductsQuantity
Throws:
org.apache.torque.TorqueException

addProductsQuantity

public void addProductsQuantity(ProductsQuantity l,
                                java.sql.Connection con)
                         throws org.apache.torque.TorqueException
Method called to associate a ProductsQuantity object to this object through the ProductsQuantity foreign key attribute using connection.

Parameters:
l - ProductsQuantity
Throws:
org.apache.torque.TorqueException

getProductsQuantitys

public java.util.List getProductsQuantitys()
                                    throws org.apache.torque.TorqueException
If this collection has already been initialized, returns the collection. Otherwise returns the results of getProductsQuantitys(new Criteria())

Returns:
the collection of associated objects
Throws:
org.apache.torque.TorqueException

getProductsQuantitys

public java.util.List getProductsQuantitys(org.apache.torque.util.Criteria criteria)
                                    throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Products has previously been saved, it will retrieve related ProductsQuantitys from storage. If this Products is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

Throws:
org.apache.torque.TorqueException

getProductsQuantitys

public java.util.List getProductsQuantitys(java.sql.Connection con)
                                    throws org.apache.torque.TorqueException
If this collection has already been initialized, returns the collection. Otherwise returns the results of getProductsQuantitys(new Criteria(),Connection) This method takes in the Connection also as input so that referenced objects can also be obtained using a Connection that is taken as input

Throws:
org.apache.torque.TorqueException

getProductsQuantitys

public java.util.List getProductsQuantitys(org.apache.torque.util.Criteria criteria,
                                           java.sql.Connection con)
                                    throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Products has previously been saved, it will retrieve related ProductsQuantitys from storage. If this Products is new, it will return an empty collection or the current collection, the criteria is ignored on a new object. This method takes in the Connection also as input so that referenced objects can also be obtained using a Connection that is taken as input

Throws:
org.apache.torque.TorqueException

getProductsQuantitysJoinProducts

protected java.util.List getProductsQuantitysJoinProducts(org.apache.torque.util.Criteria criteria)
                                                   throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Products is new, it will return an empty collection; or if this Products has previously been saved, it will retrieve related ProductsQuantitys from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Products.

Throws:
org.apache.torque.TorqueException

getFieldNames

public static java.util.List<java.lang.String> getFieldNames()
Generate a list of field names.

Returns:
a list of field names

getByName

public java.lang.Object getByName(java.lang.String name)
Retrieves a field from the object by field (Java) name passed in as a String.

Overrides:
getByName in class org.apache.torque.om.BaseObject
Parameters:
name - field name
Returns:
value

setByName

public boolean setByName(java.lang.String name,
                         java.lang.Object value)
                  throws org.apache.torque.TorqueException,
                         java.lang.IllegalArgumentException
Set a field in the object by field (Java) name.

Overrides:
setByName in class org.apache.torque.om.BaseObject
Parameters:
name - field name
value - field value
Returns:
True if value was set, false if not (invalid name / protected field).
Throws:
java.lang.IllegalArgumentException - if object type of value does not match field object type.
org.apache.torque.TorqueException - If a problem occurs with the set[Field] method.

getByPeerName

public java.lang.Object getByPeerName(java.lang.String name)
Retrieves a field from the object by name passed in as a String. The String must be one of the static Strings defined in this Class' Peer.

Overrides:
getByPeerName in class org.apache.torque.om.BaseObject
Parameters:
name - peer name
Returns:
value

setByPeerName

public boolean setByPeerName(java.lang.String name,
                             java.lang.Object value)
                      throws org.apache.torque.TorqueException,
                             java.lang.IllegalArgumentException
Set field values by Peer Field Name

Overrides:
setByPeerName in class org.apache.torque.om.BaseObject
Parameters:
name - field name
value - field value
Returns:
True if value was set, false if not (invalid name / protected field).
Throws:
java.lang.IllegalArgumentException - if object type of value does not match field object type.
org.apache.torque.TorqueException - If a problem occurs with the set[Field] method.

getByPosition

public java.lang.Object getByPosition(int pos)
Retrieves a field from the object by Position as specified in the xml schema. Zero-based.

Overrides:
getByPosition in class org.apache.torque.om.BaseObject
Parameters:
pos - position in xml schema
Returns:
value

setByPosition

public boolean setByPosition(int position,
                             java.lang.Object value)
                      throws org.apache.torque.TorqueException,
                             java.lang.IllegalArgumentException
Set field values by its position (zero based) in the XML schema.

Overrides:
setByPosition in class org.apache.torque.om.BaseObject
Parameters:
position - The field position
value - field value
Returns:
True if value was set, false if not (invalid position / protected field).
Throws:
java.lang.IllegalArgumentException - if object type of value does not match field object type.
org.apache.torque.TorqueException - If a problem occurs with the set[Field] method.

save

public void save()
          throws java.lang.Exception
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed.

Specified by:
save in interface org.apache.torque.om.Persistent
Specified by:
save in class org.apache.torque.om.BaseObject
Throws:
java.lang.Exception

save

public void save(java.lang.String dbName)
          throws org.apache.torque.TorqueException
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed. Note: this code is here because the method body is auto-generated conditionally and therefore needs to be in this file instead of in the super class, BaseObject.

Specified by:
save in interface org.apache.torque.om.Persistent
Specified by:
save in class org.apache.torque.om.BaseObject
Parameters:
dbName -
Throws:
org.apache.torque.TorqueException

save

public void save(java.sql.Connection con)
          throws org.apache.torque.TorqueException
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed. This method is meant to be used as part of a transaction, otherwise use the save() method and the connection details will be handled internally

Specified by:
save in interface org.apache.torque.om.Persistent
Specified by:
save in class org.apache.torque.om.BaseObject
Parameters:
con -
Throws:
org.apache.torque.TorqueException

setPrimaryKey

public void setPrimaryKey(org.apache.torque.om.ObjectKey key)
                   throws org.apache.torque.TorqueException
Set the PrimaryKey using ObjectKey.

Specified by:
setPrimaryKey in interface org.apache.torque.om.Persistent
Overrides:
setPrimaryKey in class org.apache.torque.om.BaseObject
Parameters:
key - productsId ObjectKey
Throws:
org.apache.torque.TorqueException

setPrimaryKey

public void setPrimaryKey(java.lang.String key)
                   throws org.apache.torque.TorqueException
Set the PrimaryKey using a String.

Specified by:
setPrimaryKey in interface org.apache.torque.om.Persistent
Overrides:
setPrimaryKey in class org.apache.torque.om.BaseObject
Parameters:
key -
Throws:
org.apache.torque.TorqueException

getPrimaryKey

public org.apache.torque.om.ObjectKey getPrimaryKey()
returns an id that differentiates this object from others of its class.

Specified by:
getPrimaryKey in interface org.apache.torque.om.Persistent
Overrides:
getPrimaryKey in class org.apache.torque.om.BaseObject

copy

public Products copy()
              throws org.apache.torque.TorqueException
Makes a copy of this object. It creates a new object filling in the simple attributes. It then fills all the association collections and sets the related objects to isNew=true.

Returns:
a Products object
Throws:
org.apache.torque.TorqueException

copy

public Products copy(java.sql.Connection con)
              throws org.apache.torque.TorqueException
Makes a copy of this object using connection. It creates a new object filling in the simple attributes. It then fills all the association collections and sets the related objects to isNew=true.

Parameters:
con - the database connection to read associated objects.
Returns:
a Products object
Throws:
org.apache.torque.TorqueException

copy

public Products copy(boolean deepcopy)
              throws org.apache.torque.TorqueException
Makes a copy of this object. It creates a new object filling in the simple attributes. If the parameter deepcopy is true, it then fills all the association collections and sets the related objects to isNew=true.

Parameters:
deepcopy - whether to copy the associated objects.
Returns:
a Products object
Throws:
org.apache.torque.TorqueException

copy

public Products copy(boolean deepcopy,
                     java.sql.Connection con)
              throws org.apache.torque.TorqueException
Makes a copy of this object using connection. It creates a new object filling in the simple attributes. If the parameter deepcopy is true, it then fills all the association collections and sets the related objects to isNew=true.

Parameters:
deepcopy - whether to copy the associated objects.
con - the database connection to read associated objects.
Returns:
a Products object
Throws:
org.apache.torque.TorqueException

copyInto

protected Products copyInto(Products copyObj)
                     throws org.apache.torque.TorqueException
Fills the copyObj with the contents of this object. The associated objects are also copied and treated as new objects.

Parameters:
copyObj - the object to fill.
Throws:
org.apache.torque.TorqueException

copyInto

protected Products copyInto(Products copyObj,
                            java.sql.Connection con)
                     throws org.apache.torque.TorqueException
Fills the copyObj with the contents of this object using connection. The associated objects are also copied and treated as new objects.

Parameters:
copyObj - the object to fill.
con - the database connection to read associated objects.
Throws:
org.apache.torque.TorqueException

copyInto

protected Products copyInto(Products copyObj,
                            boolean deepcopy)
                     throws org.apache.torque.TorqueException
Fills the copyObj with the contents of this object. If deepcopy is true, The associated objects are also copied and treated as new objects.

Parameters:
copyObj - the object to fill.
deepcopy - whether the associated objects should be copied.
Throws:
org.apache.torque.TorqueException

copyInto

protected Products copyInto(Products copyObj,
                            boolean deepcopy,
                            java.sql.Connection con)
                     throws org.apache.torque.TorqueException
Fills the copyObj with the contents of this object using connection. If deepcopy is true, The associated objects are also copied and treated as new objects.

Parameters:
copyObj - the object to fill.
deepcopy - whether the associated objects should be copied.
con - the database connection to read associated objects.
Returns:
a Products object
Throws:
org.apache.torque.TorqueException

getPeer

public ProductsPeer getPeer()
returns a peer instance associated with this om. Since Peer classes are not to have any instance attributes, this method returns the same instance for all member of this class. The method could therefore be static, but this would prevent one from overriding the behavior.

Returns:
The ProductsPeer object.

getTableMap

public org.apache.torque.map.TableMap getTableMap()
                                           throws org.apache.torque.TorqueException
Retrieves the TableMap object related to this Table data without compiler warnings of using getPeer().getTableMap().

Overrides:
getTableMap in class org.apache.torque.om.BaseObject
Returns:
The associated TableMap object.
Throws:
org.apache.torque.TorqueException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011 DS Data Systems UK Ltd.