|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.torque.om.BaseObject
com.konakart.om.BaseProducts
public abstract class BaseProducts
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
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 |
---|
protected java.util.List collProductsDescriptions
protected java.util.List collPromotionToProducts
protected java.util.List collProductsQuantitys
Constructor Detail |
---|
public BaseProducts()
Method Detail |
---|
public int getProductsId()
public void setProductsId(int v) throws org.apache.torque.TorqueException
v
- new value
org.apache.torque.TorqueException
public java.lang.String getStoreId()
public void setStoreId(java.lang.String v)
v
- new valuepublic int getProductsQuantity()
public void setProductsQuantity(int v)
v
- new valuepublic java.lang.String getProductsModel()
public void setProductsModel(java.lang.String v)
v
- new valuepublic java.lang.String getProductsImage()
public void setProductsImage(java.lang.String v)
v
- new valuepublic java.lang.String getProductsImage2()
public void setProductsImage2(java.lang.String v)
v
- new valuepublic java.lang.String getProductsImage3()
public void setProductsImage3(java.lang.String v)
v
- new valuepublic java.lang.String getProductsImage4()
public void setProductsImage4(java.lang.String v)
v
- new valuepublic java.math.BigDecimal getProductsPrice()
public void setProductsPrice(java.math.BigDecimal v)
v
- new valuepublic java.math.BigDecimal getProductsPrice1()
public void setProductsPrice1(java.math.BigDecimal v)
v
- new valuepublic java.math.BigDecimal getProductsPrice2()
public void setProductsPrice2(java.math.BigDecimal v)
v
- new valuepublic java.math.BigDecimal getProductsPrice3()
public void setProductsPrice3(java.math.BigDecimal v)
v
- new valuepublic java.util.Date getProductsDateAdded()
public void setProductsDateAdded(java.util.Date v)
v
- new valuepublic java.util.Date getProductsLastModified()
public void setProductsLastModified(java.util.Date v)
v
- new valuepublic java.util.Date getProductsDateAvailable()
public void setProductsDateAvailable(java.util.Date v)
v
- new valuepublic java.util.Date getProductsDateExpiry()
public void setProductsDateExpiry(java.util.Date v)
v
- new valuepublic java.math.BigDecimal getProductsWeight()
public void setProductsWeight(java.math.BigDecimal v)
v
- new valuepublic byte getProductsStatus()
public void setProductsStatus(byte v)
v
- new valuepublic int getProductsInvisible()
public void setProductsInvisible(int v)
v
- new valuepublic int getProductsTaxClassId()
public void setProductsTaxClassId(int v)
v
- new valuepublic int getManufacturersId()
public void setManufacturersId(int v)
v
- new valuepublic int getProductsOrdered()
public void setProductsOrdered(int v)
v
- new valuepublic java.lang.String getProductsSku()
public void setProductsSku(java.lang.String v)
v
- new valuepublic java.lang.String getProductsFilePath()
public void setProductsFilePath(java.lang.String v)
v
- new valuepublic java.lang.String getProductsContentType()
public void setProductsContentType(java.lang.String v)
v
- new valuepublic int getProductsType()
public void setProductsType(int v)
v
- new valuepublic int getMaxNumDownloads()
public void setMaxNumDownloads(int v)
v
- new valuepublic int getMaxDownloadDays()
public void setMaxDownloadDays(int v)
v
- new valuepublic int getStockReorderLevel()
public void setStockReorderLevel(int v)
v
- new valuepublic int getCanOrderWhenNotInStock()
public void setCanOrderWhenNotInStock(int v)
v
- new valuepublic int getIndexAttachment()
public void setIndexAttachment(int v)
v
- new valuepublic java.math.BigDecimal getRating()
public void setRating(java.math.BigDecimal v)
v
- new valuepublic int getPaymentScheduleId()
public void setPaymentScheduleId(int v)
v
- new valuepublic int getCustAttrTmplId()
public void setCustAttrTmplId(int v)
v
- new valuepublic java.lang.String getCustomAttrs()
public void setCustomAttrs(java.lang.String v)
v
- new valuepublic java.lang.String getCustom1()
public void setCustom1(java.lang.String v)
v
- new valuepublic java.lang.String getCustom2()
public void setCustom2(java.lang.String v)
v
- new valuepublic java.lang.String getCustom3()
public void setCustom3(java.lang.String v)
v
- new valuepublic java.lang.String getCustom4()
public void setCustom4(java.lang.String v)
v
- new valuepublic java.lang.String getCustom5()
public void setCustom5(java.lang.String v)
v
- new valuepublic java.lang.String getCustom6()
public void setCustom6(java.lang.String v)
v
- new valuepublic java.lang.String getCustom7()
public void setCustom7(java.lang.String v)
v
- new valuepublic java.lang.String getCustom8()
public void setCustom8(java.lang.String v)
v
- new valuepublic java.lang.String getCustom9()
public void setCustom9(java.lang.String v)
v
- new valuepublic java.lang.String getCustom10()
public void setCustom10(java.lang.String v)
v
- new valuepublic int getCustom1int()
public void setCustom1int(int v)
v
- new valuepublic int getCustom2int()
public void setCustom2int(int v)
v
- new valuepublic java.math.BigDecimal getCustom1dec()
public void setCustom1dec(java.math.BigDecimal v)
v
- new valuepublic java.math.BigDecimal getCustom2dec()
public void setCustom2dec(java.math.BigDecimal v)
v
- new valuepublic java.lang.String getProductUuid()
public void setProductUuid(java.lang.String v)
v
- new valuepublic java.util.Date getSourceLastModified()
public void setSourceLastModified(java.util.Date v)
v
- new valuepublic void setProductsToCategories(ProductsToCategories v) throws org.apache.torque.TorqueException
v
- ProductsToCategories
org.apache.torque.TorqueException
public ProductsToCategories getProductsToCategories() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public ProductsToCategories getProductsToCategories(java.sql.Connection connection) throws org.apache.torque.TorqueException
connection
- the connection used to retrieve the associated object
from the database, if it was not retrieved before
org.apache.torque.TorqueException
public void setProductsToCategoriesKey(org.apache.torque.om.ObjectKey key) throws org.apache.torque.TorqueException
bar.setFooKey(foo.getPrimaryKey())
org.apache.torque.TorqueException
protected void initProductsDescriptions()
public void addProductsDescription(ProductsDescription l) throws org.apache.torque.TorqueException
l
- ProductsDescription
org.apache.torque.TorqueException
public void addProductsDescription(ProductsDescription l, java.sql.Connection con) throws org.apache.torque.TorqueException
l
- ProductsDescription
org.apache.torque.TorqueException
public java.util.List getProductsDescriptions() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getProductsDescriptions(org.apache.torque.util.Criteria criteria) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getProductsDescriptions(java.sql.Connection con) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getProductsDescriptions(org.apache.torque.util.Criteria criteria, java.sql.Connection con) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getProductsDescriptionsJoinProducts(org.apache.torque.util.Criteria criteria) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected void initPromotionToProducts()
public void addPromotionToProduct(PromotionToProduct l) throws org.apache.torque.TorqueException
l
- PromotionToProduct
org.apache.torque.TorqueException
public void addPromotionToProduct(PromotionToProduct l, java.sql.Connection con) throws org.apache.torque.TorqueException
l
- PromotionToProduct
org.apache.torque.TorqueException
public java.util.List getPromotionToProducts() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getPromotionToProducts(org.apache.torque.util.Criteria criteria) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getPromotionToProducts(java.sql.Connection con) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getPromotionToProducts(org.apache.torque.util.Criteria criteria, java.sql.Connection con) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getPromotionToProductsJoinProducts(org.apache.torque.util.Criteria criteria) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected void initProductsQuantitys()
public void addProductsQuantity(ProductsQuantity l) throws org.apache.torque.TorqueException
l
- ProductsQuantity
org.apache.torque.TorqueException
public void addProductsQuantity(ProductsQuantity l, java.sql.Connection con) throws org.apache.torque.TorqueException
l
- ProductsQuantity
org.apache.torque.TorqueException
public java.util.List getProductsQuantitys() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getProductsQuantitys(org.apache.torque.util.Criteria criteria) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getProductsQuantitys(java.sql.Connection con) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getProductsQuantitys(org.apache.torque.util.Criteria criteria, java.sql.Connection con) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getProductsQuantitysJoinProducts(org.apache.torque.util.Criteria criteria) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public static java.util.List<java.lang.String> getFieldNames()
public java.lang.Object getByName(java.lang.String name)
getByName
in class org.apache.torque.om.BaseObject
name
- field name
public boolean setByName(java.lang.String name, java.lang.Object value) throws org.apache.torque.TorqueException, java.lang.IllegalArgumentException
setByName
in class org.apache.torque.om.BaseObject
name
- field namevalue
- field value
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.public java.lang.Object getByPeerName(java.lang.String name)
getByPeerName
in class org.apache.torque.om.BaseObject
name
- peer name
public boolean setByPeerName(java.lang.String name, java.lang.Object value) throws org.apache.torque.TorqueException, java.lang.IllegalArgumentException
setByPeerName
in class org.apache.torque.om.BaseObject
name
- field namevalue
- field value
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.public java.lang.Object getByPosition(int pos)
getByPosition
in class org.apache.torque.om.BaseObject
pos
- position in xml schema
public boolean setByPosition(int position, java.lang.Object value) throws org.apache.torque.TorqueException, java.lang.IllegalArgumentException
setByPosition
in class org.apache.torque.om.BaseObject
position
- The field positionvalue
- field value
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.public void save() throws java.lang.Exception
save
in interface org.apache.torque.om.Persistent
save
in class org.apache.torque.om.BaseObject
java.lang.Exception
public void save(java.lang.String dbName) throws org.apache.torque.TorqueException
save
in interface org.apache.torque.om.Persistent
save
in class org.apache.torque.om.BaseObject
dbName
-
org.apache.torque.TorqueException
public void save(java.sql.Connection con) throws org.apache.torque.TorqueException
save
in interface org.apache.torque.om.Persistent
save
in class org.apache.torque.om.BaseObject
con
-
org.apache.torque.TorqueException
public void setPrimaryKey(org.apache.torque.om.ObjectKey key) throws org.apache.torque.TorqueException
setPrimaryKey
in interface org.apache.torque.om.Persistent
setPrimaryKey
in class org.apache.torque.om.BaseObject
key
- productsId ObjectKey
org.apache.torque.TorqueException
public void setPrimaryKey(java.lang.String key) throws org.apache.torque.TorqueException
setPrimaryKey
in interface org.apache.torque.om.Persistent
setPrimaryKey
in class org.apache.torque.om.BaseObject
key
-
org.apache.torque.TorqueException
public org.apache.torque.om.ObjectKey getPrimaryKey()
getPrimaryKey
in interface org.apache.torque.om.Persistent
getPrimaryKey
in class org.apache.torque.om.BaseObject
public Products copy() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public Products copy(java.sql.Connection con) throws org.apache.torque.TorqueException
con
- the database connection to read associated objects.
org.apache.torque.TorqueException
public Products copy(boolean deepcopy) throws org.apache.torque.TorqueException
deepcopy
- whether to copy the associated objects.
org.apache.torque.TorqueException
public Products copy(boolean deepcopy, java.sql.Connection con) throws org.apache.torque.TorqueException
deepcopy
- whether to copy the associated objects.con
- the database connection to read associated objects.
org.apache.torque.TorqueException
protected Products copyInto(Products copyObj) throws org.apache.torque.TorqueException
copyObj
- the object to fill.
org.apache.torque.TorqueException
protected Products copyInto(Products copyObj, java.sql.Connection con) throws org.apache.torque.TorqueException
copyObj
- the object to fill.con
- the database connection to read associated objects.
org.apache.torque.TorqueException
protected Products copyInto(Products copyObj, boolean deepcopy) throws org.apache.torque.TorqueException
copyObj
- the object to fill.deepcopy
- whether the associated objects should be copied.
org.apache.torque.TorqueException
protected Products copyInto(Products copyObj, boolean deepcopy, java.sql.Connection con) throws org.apache.torque.TorqueException
copyObj
- the object to fill.deepcopy
- whether the associated objects should be copied.con
- the database connection to read associated objects.
org.apache.torque.TorqueException
public ProductsPeer getPeer()
public org.apache.torque.map.TableMap getTableMap() throws org.apache.torque.TorqueException
getTableMap
in class org.apache.torque.om.BaseObject
org.apache.torque.TorqueException
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |