|
|||||||||
| 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.BaseCustomers
public abstract class BaseCustomers
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 Customers
| Field Summary | |
|---|---|
protected java.util.List |
collPromotionToCustGroups
Collection to store aggregation of collPromotionToCustGroups |
protected java.util.List |
collPromotionToCustomers
Collection to store aggregation of collPromotionToCustomers |
protected java.util.List |
collPromotionToCustomerUses
Collection to store aggregation of collPromotionToCustomerUses |
| Fields inherited from class org.apache.torque.om.BaseObject |
|---|
NEW_ID |
| Constructor Summary | |
|---|---|
BaseCustomers()
|
|
| Method Summary | |
|---|---|
void |
addPromotionToCustGroup(PromotionToCustGroup l)
Method called to associate a PromotionToCustGroup object to this object through the PromotionToCustGroup foreign key attribute |
void |
addPromotionToCustGroup(PromotionToCustGroup l,
java.sql.Connection con)
Method called to associate a PromotionToCustGroup object to this object through the PromotionToCustGroup foreign key attribute using connection. |
void |
addPromotionToCustomer(PromotionToCustomer l)
Method called to associate a PromotionToCustomer object to this object through the PromotionToCustomer foreign key attribute |
void |
addPromotionToCustomer(PromotionToCustomer l,
java.sql.Connection con)
Method called to associate a PromotionToCustomer object to this object through the PromotionToCustomer foreign key attribute using connection. |
void |
addPromotionToCustomerUse(PromotionToCustomerUse l)
Method called to associate a PromotionToCustomerUse object to this object through the PromotionToCustomerUse foreign key attribute |
void |
addPromotionToCustomerUse(PromotionToCustomerUse l,
java.sql.Connection con)
Method called to associate a PromotionToCustomerUse object to this object through the PromotionToCustomerUse foreign key attribute using connection. |
Customers |
copy()
Makes a copy of this object. |
Customers |
copy(boolean deepcopy)
Makes a copy of this object. |
Customers |
copy(boolean deepcopy,
java.sql.Connection con)
Makes a copy of this object using connection. |
Customers |
copy(java.sql.Connection con)
Makes a copy of this object using connection. |
protected Customers |
copyInto(Customers copyObj)
Fills the copyObj with the contents of this object. |
protected Customers |
copyInto(Customers copyObj,
boolean deepcopy)
Fills the copyObj with the contents of this object. |
protected Customers |
copyInto(Customers copyObj,
boolean deepcopy,
java.sql.Connection con)
Fills the copyObj with the contents of this object using connection. |
protected Customers |
copyInto(Customers 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. |
java.lang.String |
getCustom1()
Get the Custom1 |
java.lang.String |
getCustom2()
Get the Custom2 |
java.lang.String |
getCustom3()
Get the Custom3 |
java.lang.String |
getCustom4()
Get the Custom4 |
java.lang.String |
getCustom5()
Get the Custom5 |
int |
getCustomersDefaultAddressId()
Get the CustomersDefaultAddressId |
java.util.Date |
getCustomersDob()
Get the CustomersDob |
java.lang.String |
getCustomersEmailAddress()
Get the CustomersEmailAddress |
int |
getCustomersEnabled()
Get the CustomersEnabled |
java.lang.String |
getCustomersFax()
Get the CustomersFax |
java.lang.String |
getCustomersFirstname()
Get the CustomersFirstname |
java.lang.String |
getCustomersGender()
Get the CustomersGender |
int |
getCustomersGroupId()
Get the CustomersGroupId |
int |
getCustomersId()
Get the CustomersId |
java.lang.String |
getCustomersLastname()
Get the CustomersLastname |
java.lang.String |
getCustomersLocale()
Get the CustomersLocale |
java.lang.String |
getCustomersNewsletter()
Get the CustomersNewsletter |
java.lang.String |
getCustomersPassword()
Get the CustomersPassword |
java.lang.String |
getCustomersTelephone()
Get the CustomersTelephone |
java.lang.String |
getCustomersTelephone1()
Get the CustomersTelephone1 |
int |
getCustomersType()
Get the CustomersType |
static java.util.List<java.lang.String> |
getFieldNames()
Generate a list of field names. |
int |
getInvisible()
Get the Invisible |
CustomersPeer |
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.util.List |
getPromotionToCustGroups()
If this collection has already been initialized, returns the collection. |
java.util.List |
getPromotionToCustGroups(java.sql.Connection con)
If this collection has already been initialized, returns the collection. |
java.util.List |
getPromotionToCustGroups(org.apache.torque.util.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.util.List |
getPromotionToCustGroups(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 |
getPromotionToCustGroupsJoinCustomers(org.apache.torque.util.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.util.List |
getPromotionToCustomers()
If this collection has already been initialized, returns the collection. |
java.util.List |
getPromotionToCustomers(java.sql.Connection con)
If this collection has already been initialized, returns the collection. |
java.util.List |
getPromotionToCustomers(org.apache.torque.util.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.util.List |
getPromotionToCustomers(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 |
getPromotionToCustomersJoinCustomers(org.apache.torque.util.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.util.List |
getPromotionToCustomerUses()
If this collection has already been initialized, returns the collection. |
java.util.List |
getPromotionToCustomerUses(java.sql.Connection con)
If this collection has already been initialized, returns the collection. |
java.util.List |
getPromotionToCustomerUses(org.apache.torque.util.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.util.List |
getPromotionToCustomerUses(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 |
getPromotionToCustomerUsesJoinCustomers(org.apache.torque.util.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
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 |
initPromotionToCustGroups()
Temporary storage of collPromotionToCustGroups to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested. |
protected void |
initPromotionToCustomers()
Temporary storage of collPromotionToCustomers to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested. |
protected void |
initPromotionToCustomerUses()
Temporary storage of collPromotionToCustomerUses 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 |
setCustom1(java.lang.String v)
Set the value of Custom1 |
void |
setCustom2(java.lang.String v)
Set the value of Custom2 |
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 |
setCustomersDefaultAddressId(int v)
Set the value of CustomersDefaultAddressId |
void |
setCustomersDob(java.util.Date v)
Set the value of CustomersDob |
void |
setCustomersEmailAddress(java.lang.String v)
Set the value of CustomersEmailAddress |
void |
setCustomersEnabled(int v)
Set the value of CustomersEnabled |
void |
setCustomersFax(java.lang.String v)
Set the value of CustomersFax |
void |
setCustomersFirstname(java.lang.String v)
Set the value of CustomersFirstname |
void |
setCustomersGender(java.lang.String v)
Set the value of CustomersGender |
void |
setCustomersGroupId(int v)
Set the value of CustomersGroupId |
void |
setCustomersId(int v)
Set the value of CustomersId |
void |
setCustomersLastname(java.lang.String v)
Set the value of CustomersLastname |
void |
setCustomersLocale(java.lang.String v)
Set the value of CustomersLocale |
void |
setCustomersNewsletter(java.lang.String v)
Set the value of CustomersNewsletter |
void |
setCustomersPassword(java.lang.String v)
Set the value of CustomersPassword |
void |
setCustomersTelephone(java.lang.String v)
Set the value of CustomersTelephone |
void |
setCustomersTelephone1(java.lang.String v)
Set the value of CustomersTelephone1 |
void |
setCustomersType(int v)
Set the value of CustomersType |
void |
setInvisible(int v)
Set the value of Invisible |
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 |
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 collPromotionToCustomers
protected java.util.List collPromotionToCustomerUses
protected java.util.List collPromotionToCustGroups
| Constructor Detail |
|---|
public BaseCustomers()
| Method Detail |
|---|
public int getCustomersId()
public void setCustomersId(int v)
throws org.apache.torque.TorqueException
v - new value
org.apache.torque.TorqueExceptionpublic java.lang.String getStoreId()
public void setStoreId(java.lang.String v)
v - new valuepublic java.lang.String getCustomersGender()
public void setCustomersGender(java.lang.String v)
v - new valuepublic java.lang.String getCustomersFirstname()
public void setCustomersFirstname(java.lang.String v)
v - new valuepublic java.lang.String getCustomersLastname()
public void setCustomersLastname(java.lang.String v)
v - new valuepublic java.util.Date getCustomersDob()
public void setCustomersDob(java.util.Date v)
v - new valuepublic java.lang.String getCustomersEmailAddress()
public void setCustomersEmailAddress(java.lang.String v)
v - new valuepublic int getCustomersDefaultAddressId()
public void setCustomersDefaultAddressId(int v)
v - new valuepublic java.lang.String getCustomersTelephone()
public void setCustomersTelephone(java.lang.String v)
v - new valuepublic java.lang.String getCustomersTelephone1()
public void setCustomersTelephone1(java.lang.String v)
v - new valuepublic java.lang.String getCustomersFax()
public void setCustomersFax(java.lang.String v)
v - new valuepublic java.lang.String getCustomersPassword()
public void setCustomersPassword(java.lang.String v)
v - new valuepublic java.lang.String getCustomersNewsletter()
public void setCustomersNewsletter(java.lang.String v)
v - new valuepublic int getCustomersType()
public void setCustomersType(int v)
v - new valuepublic int getCustomersEnabled()
public void setCustomersEnabled(int v)
v - new valuepublic int getCustomersGroupId()
public void setCustomersGroupId(int v)
throws org.apache.torque.TorqueException
v - new value
org.apache.torque.TorqueExceptionpublic java.lang.String getCustomersLocale()
public void setCustomersLocale(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 int getInvisible()
public void setInvisible(int v)
v - new valueprotected void initPromotionToCustomers()
public void addPromotionToCustomer(PromotionToCustomer l)
throws org.apache.torque.TorqueException
l - PromotionToCustomer
org.apache.torque.TorqueException
public void addPromotionToCustomer(PromotionToCustomer l,
java.sql.Connection con)
throws org.apache.torque.TorqueException
l - PromotionToCustomer
org.apache.torque.TorqueException
public java.util.List getPromotionToCustomers()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getPromotionToCustomers(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getPromotionToCustomers(java.sql.Connection con)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getPromotionToCustomers(org.apache.torque.util.Criteria criteria,
java.sql.Connection con)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getPromotionToCustomersJoinCustomers(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionprotected void initPromotionToCustomerUses()
public void addPromotionToCustomerUse(PromotionToCustomerUse l)
throws org.apache.torque.TorqueException
l - PromotionToCustomerUse
org.apache.torque.TorqueException
public void addPromotionToCustomerUse(PromotionToCustomerUse l,
java.sql.Connection con)
throws org.apache.torque.TorqueException
l - PromotionToCustomerUse
org.apache.torque.TorqueException
public java.util.List getPromotionToCustomerUses()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getPromotionToCustomerUses(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getPromotionToCustomerUses(java.sql.Connection con)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getPromotionToCustomerUses(org.apache.torque.util.Criteria criteria,
java.sql.Connection con)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getPromotionToCustomerUsesJoinCustomers(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionprotected void initPromotionToCustGroups()
public void addPromotionToCustGroup(PromotionToCustGroup l)
throws org.apache.torque.TorqueException
l - PromotionToCustGroup
org.apache.torque.TorqueException
public void addPromotionToCustGroup(PromotionToCustGroup l,
java.sql.Connection con)
throws org.apache.torque.TorqueException
l - PromotionToCustGroup
org.apache.torque.TorqueException
public java.util.List getPromotionToCustGroups()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getPromotionToCustGroups(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getPromotionToCustGroups(java.sql.Connection con)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getPromotionToCustGroups(org.apache.torque.util.Criteria criteria,
java.sql.Connection con)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getPromotionToCustGroupsJoinCustomers(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionpublic static java.util.List<java.lang.String> getFieldNames()
public java.lang.Object getByName(java.lang.String name)
getByName in class org.apache.torque.om.BaseObjectname - 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.BaseObjectname - 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.BaseObjectname - 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.BaseObjectname - 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.BaseObjectpos - 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.BaseObjectposition - 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.Persistentsave in class org.apache.torque.om.BaseObjectjava.lang.Exception
public void save(java.lang.String dbName)
throws org.apache.torque.TorqueException
save in interface org.apache.torque.om.Persistentsave in class org.apache.torque.om.BaseObjectdbName -
org.apache.torque.TorqueException
public void save(java.sql.Connection con)
throws org.apache.torque.TorqueException
save in interface org.apache.torque.om.Persistentsave in class org.apache.torque.om.BaseObjectcon -
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.PersistentsetPrimaryKey in class org.apache.torque.om.BaseObjectkey - customersId ObjectKey
org.apache.torque.TorqueException
public void setPrimaryKey(java.lang.String key)
throws org.apache.torque.TorqueException
setPrimaryKey in interface org.apache.torque.om.PersistentsetPrimaryKey in class org.apache.torque.om.BaseObjectkey -
org.apache.torque.TorqueExceptionpublic org.apache.torque.om.ObjectKey getPrimaryKey()
getPrimaryKey in interface org.apache.torque.om.PersistentgetPrimaryKey in class org.apache.torque.om.BaseObject
public Customers copy()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public Customers copy(java.sql.Connection con)
throws org.apache.torque.TorqueException
con - the database connection to read associated objects.
org.apache.torque.TorqueException
public Customers copy(boolean deepcopy)
throws org.apache.torque.TorqueException
deepcopy - whether to copy the associated objects.
org.apache.torque.TorqueException
public Customers 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 Customers copyInto(Customers copyObj)
throws org.apache.torque.TorqueException
copyObj - the object to fill.
org.apache.torque.TorqueException
protected Customers copyInto(Customers 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 Customers copyInto(Customers 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 Customers copyInto(Customers 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.TorqueExceptionpublic CustomersPeer getPeer()
public org.apache.torque.map.TableMap getTableMap()
throws org.apache.torque.TorqueException
getTableMap in class org.apache.torque.om.BaseObjectorg.apache.torque.TorqueExceptionpublic 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 | ||||||||