|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.torque.om.BaseObject | +--org.apache.jetspeed.om.apps.coffees.BaseCoffees
This class was autogenerated by Torque on: [Thu Apr 22 23:12:36 EDT 2004] You should not use this class directly. It should not even be extended all references should be to Coffees
Field Summary |
Fields inherited from class org.apache.torque.om.BaseObject |
NEW_ID |
Constructor Summary | |
BaseCoffees()
|
Method Summary | |
org.apache.jetspeed.om.apps.coffees.Coffees |
copy()
Makes a copy of this object. |
java.lang.Object |
getByName(java.lang.String name)
Retrieves a field from the object by 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 |
getCoffeeId()
Get the CoffeeId |
java.lang.String |
getCoffeeName()
Get the CoffeeName |
static java.util.List |
getFieldNames()
Generate a list of field names. |
org.apache.jetspeed.om.apps.coffees.CoffeesPeer |
getPeer()
returns a peer instance associated with this om. |
double |
getPrice()
Get the Price |
org.apache.torque.om.ObjectKey |
getPrimaryKey()
returns an id that differentiates this object from others of its class. |
int |
getSales()
Get the Sales |
int |
getSupplierId()
Get the SupplierId |
int |
getTotal()
Get the Total |
protected boolean |
isCacheOnSave()
Specify whether to cache the object after saving to the db. |
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. |
void |
setCoffeeId(int v)
Set the value of CoffeeId |
void |
setCoffeeName(java.lang.String v)
Set the value of CoffeeName |
void |
setPrice(double v)
Set the value of Price |
void |
setPrimaryKey(org.apache.torque.om.ObjectKey coffeeId)
Set the PrimaryKey using ObjectKey. |
void |
setPrimaryKey(java.lang.String key)
Set the PrimaryKey using a String. |
void |
setSales(int v)
Set the value of Sales |
void |
setSupplierId(int v)
Set the value of SupplierId |
void |
setTotal(int v)
Set the value of Total |
Methods inherited from class org.apache.torque.om.BaseObject |
equals, equals, getLog, hashCode, isModified, isNew, log, resetModified, setModified, setNew, setPrimaryKey |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BaseCoffees()
Method Detail |
public int getCoffeeId()
public void setCoffeeId(int v)
public java.lang.String getCoffeeName()
public void setCoffeeName(java.lang.String v)
public int getSupplierId()
public void setSupplierId(int v)
public double getPrice()
public void setPrice(double v)
public int getSales()
public void setSales(int v)
public int getTotal()
public void setTotal(int v)
public static java.util.List getFieldNames()
public java.lang.Object getByName(java.lang.String name)
getByName
in class org.apache.torque.om.BaseObject
public java.lang.Object getByPeerName(java.lang.String name)
getByPeerName
in class org.apache.torque.om.BaseObject
public java.lang.Object getByPosition(int pos)
getByPosition
in class org.apache.torque.om.BaseObject
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
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
org.apache.torque.TorqueException
protected boolean isCacheOnSave()
public void setPrimaryKey(org.apache.torque.om.ObjectKey coffeeId)
setPrimaryKey
in interface org.apache.torque.om.Persistent
setPrimaryKey
in class org.apache.torque.om.BaseObject
public void setPrimaryKey(java.lang.String key)
setPrimaryKey
in interface org.apache.torque.om.Persistent
setPrimaryKey
in class org.apache.torque.om.BaseObject
public org.apache.torque.om.ObjectKey getPrimaryKey()
getPrimaryKey
in interface org.apache.torque.om.Persistent
getPrimaryKey
in class org.apache.torque.om.BaseObject
public org.apache.jetspeed.om.apps.coffees.Coffees copy() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public org.apache.jetspeed.om.apps.coffees.CoffeesPeer getPeer()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |