org.paneris.jammyjoes.model.generated
Class AffiliateBase

java.lang.Object
  extended by org.melati.poem.transaction.Transactioned
      extended by org.melati.poem.JdbcPersistent
          extended by org.paneris.jammyjoes.model.generated.AffiliateBase
All Implemented Interfaces:
java.lang.Cloneable, org.melati.poem.Persistable, org.melati.poem.Persistent, org.melati.poem.Treeable
Direct Known Subclasses:
Affiliate

public abstract class AffiliateBase
extends org.melati.poem.JdbcPersistent

Melati POEM generated abstract base class for a Persistent Affiliate Object.


Field Summary
protected  java.lang.String company
          Company - The Affiliate's Company Name
protected  java.lang.Integer cookiedays
          Cookie Days - The number of days to set a cookie for for this Affiliate
protected  java.lang.Integer id
          id
protected  java.lang.String payee
          Payee - The Payee (for cheques)
protected  java.lang.Double percentage
          Percentage - The percentage of sales for this Affiliate
protected  java.sql.Timestamp registration
          Date of Registration - The date when this Affiliate Registered
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
AffiliateBase()
           
 
Method Summary
 AffiliateTable getAffiliateTable()
          Retrieves the AffiliateTable table which this Persistent is from.
 java.lang.String getCompany_unsafe()
          Retrieves the Company value, without locking, for this Affiliate Persistent.
 java.lang.String getCompany()
          Retrieves the Company value, with locking, for this Affiliate Persistent.
 org.melati.poem.Field getCompanyField()
          Retrieves the Company value as a Field from this Affiliate Persistent.
 java.lang.Integer getCookiedays_unsafe()
          Retrieves the Cookiedays value, without locking, for this Affiliate Persistent.
 java.lang.Integer getCookiedays()
          Retrieves the Cookiedays value, with locking, for this Affiliate Persistent.
 org.melati.poem.Field getCookiedaysField()
          Retrieves the Cookiedays value as a Field from this Affiliate Persistent.
 java.lang.Integer getId_unsafe()
          Retrieves the Id value, without locking, for this Affiliate Persistent.
 java.lang.Integer getId()
          Retrieves the Id value, with locking, for this Affiliate Persistent.
 org.melati.poem.Field getIdField()
          Retrieves the Id value as a Field from this Affiliate Persistent.
 JammyjoesDatabaseTables getJammyjoesDatabaseTables()
          Retrieves the Database object.
 java.lang.String getPayee_unsafe()
          Retrieves the Payee value, without locking, for this Affiliate Persistent.
 java.lang.String getPayee()
          Retrieves the Payee value, with locking, for this Affiliate Persistent.
 org.melati.poem.Field getPayeeField()
          Retrieves the Payee value as a Field from this Affiliate Persistent.
 java.lang.Double getPercentage_unsafe()
          Retrieves the Percentage value, without locking, for this Affiliate Persistent.
 java.lang.Double getPercentage()
          Retrieves the Percentage value, with locking, for this Affiliate Persistent.
 org.melati.poem.Field getPercentageField()
          Retrieves the Percentage value as a Field from this Affiliate Persistent.
 java.sql.Timestamp getRegistration_unsafe()
          Retrieves the Registration value, without locking, for this Affiliate Persistent.
 java.sql.Timestamp getRegistration()
          Retrieves the Registration value, with locking, for this Affiliate Persistent.
 org.melati.poem.Field getRegistrationField()
          Retrieves the Registration value as a Field from this Affiliate Persistent.
 void setCompany_unsafe(java.lang.String cooked)
          Sets the Company value directly, without checking, for this Affiliate Persistent.
 void setCompany(java.lang.String cooked)
          Sets the Company value, with checking, for this Affiliate Persistent.
 void setCookiedays_unsafe(java.lang.Integer cooked)
          Sets the Cookiedays value directly, without checking, for this Affiliate Persistent.
 void setCookiedays(int cooked)
          Sets the Cookiedays value, with checking, for this Affiliate Persistent.
 void setCookiedays(java.lang.Integer cooked)
          Sets the Cookiedays value, with checking, for this Affiliate Persistent.
 void setId_unsafe(java.lang.Integer cooked)
          Sets the Id value directly, without checking, for this Affiliate Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this Affiliate Persistent.
 void setId(java.lang.Integer cooked)
          Sets the Id value, with checking, for this Affiliate Persistent.
 void setPayee_unsafe(java.lang.String cooked)
          Sets the Payee value directly, without checking, for this Affiliate Persistent.
 void setPayee(java.lang.String cooked)
          Sets the Payee value, with checking, for this Affiliate Persistent.
 void setPercentage_unsafe(java.lang.Double cooked)
          Sets the Percentage value directly, without checking, for this Affiliate Persistent.
 void setPercentage(double cooked)
          Sets the Percentage value, with checking, for this Affiliate Persistent.
 void setPercentage(java.lang.Double cooked)
          Sets the Percentage value, with checking, for this Affiliate Persistent.
 void setRegistration_unsafe(java.sql.Timestamp cooked)
          Sets the Registration value directly, without checking, for this Affiliate Persistent.
 void setRegistration(java.sql.Timestamp cooked)
          Sets the Registration value, with checking, for this Affiliate Persistent.
 
Methods inherited from class org.melati.poem.JdbcPersistent
assertCanCreate, assertCanCreate, assertCanDelete, assertCanDelete, assertCanRead, assertCanRead, assertCanWrite, assertCanWrite, clone, commit, countMatchSQL, delete_unsafe, delete, delete, deleteAndCommit, deleteAndCommit, deleteLock, displayString, displayString, displayString, dump, dump, duplicated, duplicatedFloating, equals, existenceLock, existenceLock, fieldsOfColumns, fromClause, getCanDelete, getCanRead, getCanSelect, getCanWrite, getChildren, getCooked, getCookedString, getDatabase, getDetailDisplayFields, getField, getFields, getName, getPrimaryDisplayField, getRaw, getRawString, getReadable, getRecordDisplayFields, getSearchCriterionFields, getSummaryDisplayFields, getTable, getTroid, hashCode, invalidate, isDirty, load, makePersistent, postEdit, postInsert, postModify, postWrite, preEdit, readLock, readLock, readLock, rollback, setCooked, setDirty, setRaw, setRawString, statusExistent, statusNonexistent, toString, troid, upToDate, writeDown, writeLock, writeLock, writeLock
 
Methods inherited from class org.melati.poem.transaction.Transactioned
markValid, reset, setTransactionPool, transactionPool, unSee
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected java.lang.Integer id
id


company

protected java.lang.String company
Company - The Affiliate's Company Name


payee

protected java.lang.String payee
Payee - The Payee (for cheques)


percentage

protected java.lang.Double percentage
Percentage - The percentage of sales for this Affiliate


cookiedays

protected java.lang.Integer cookiedays
Cookie Days - The number of days to set a cookie for for this Affiliate


registration

protected java.sql.Timestamp registration
Date of Registration - The date when this Affiliate Registered

Constructor Detail

AffiliateBase

public AffiliateBase()
Method Detail

getJammyjoesDatabaseTables

public JammyjoesDatabaseTables getJammyjoesDatabaseTables()
Retrieves the Database object.

Returns:
the database

getAffiliateTable

public AffiliateTable getAffiliateTable()
Retrieves the AffiliateTable table which this Persistent is from.

Returns:
the AffiliateTable

getId_unsafe

public java.lang.Integer getId_unsafe()
Retrieves the Id value, without locking, for this Affiliate Persistent.

Returns:
the Integer id

setId_unsafe

public void setId_unsafe(java.lang.Integer cooked)
Sets the Id value directly, without checking, for this Affiliate Persistent.

Parameters:
cooked - the pre-validated value to set

getId

public java.lang.Integer getId()
                        throws org.melati.poem.AccessPoemException
Retrieves the Id value, with locking, for this Affiliate Persistent.

Returns:
the value of the field Id for this Affiliate Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setId

public void setId(java.lang.Integer cooked)
           throws org.melati.poem.AccessPoemException,
                  org.melati.poem.ValidationPoemException
Sets the Id value, with checking, for this Affiliate Persistent.

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

setId

public final void setId(int cooked)
                 throws org.melati.poem.AccessPoemException,
                        org.melati.poem.ValidationPoemException
Sets the Id value, with checking, for this Affiliate Persistent.

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getIdField

public org.melati.poem.Field getIdField()
                                 throws org.melati.poem.AccessPoemException
Retrieves the Id value as a Field from this Affiliate Persistent.

Returns:
the Integer id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getCompany_unsafe

public java.lang.String getCompany_unsafe()
Retrieves the Company value, without locking, for this Affiliate Persistent.

Returns:
the String company

setCompany_unsafe

public void setCompany_unsafe(java.lang.String cooked)
Sets the Company value directly, without checking, for this Affiliate Persistent.

Parameters:
cooked - the pre-validated value to set

getCompany

public java.lang.String getCompany()
                            throws org.melati.poem.AccessPoemException
Retrieves the Company value, with locking, for this Affiliate Persistent. Field description: The Affiliate's Company Name

Returns:
the value of the field Company for this Affiliate Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setCompany

public void setCompany(java.lang.String cooked)
                throws org.melati.poem.AccessPoemException,
                       org.melati.poem.ValidationPoemException
Sets the Company value, with checking, for this Affiliate Persistent. Field description: The Affiliate's Company Name

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getCompanyField

public org.melati.poem.Field getCompanyField()
                                      throws org.melati.poem.AccessPoemException
Retrieves the Company value as a Field from this Affiliate Persistent.

Returns:
the String company
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getPayee_unsafe

public java.lang.String getPayee_unsafe()
Retrieves the Payee value, without locking, for this Affiliate Persistent.

Returns:
the String payee

setPayee_unsafe

public void setPayee_unsafe(java.lang.String cooked)
Sets the Payee value directly, without checking, for this Affiliate Persistent.

Parameters:
cooked - the pre-validated value to set

getPayee

public java.lang.String getPayee()
                          throws org.melati.poem.AccessPoemException
Retrieves the Payee value, with locking, for this Affiliate Persistent. Field description: The Payee (for cheques)

Returns:
the value of the field Payee for this Affiliate Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setPayee

public void setPayee(java.lang.String cooked)
              throws org.melati.poem.AccessPoemException,
                     org.melati.poem.ValidationPoemException
Sets the Payee value, with checking, for this Affiliate Persistent. Field description: The Payee (for cheques)

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getPayeeField

public org.melati.poem.Field getPayeeField()
                                    throws org.melati.poem.AccessPoemException
Retrieves the Payee value as a Field from this Affiliate Persistent.

Returns:
the String payee
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getPercentage_unsafe

public java.lang.Double getPercentage_unsafe()
Retrieves the Percentage value, without locking, for this Affiliate Persistent.

Returns:
the Double percentage

setPercentage_unsafe

public void setPercentage_unsafe(java.lang.Double cooked)
Sets the Percentage value directly, without checking, for this Affiliate Persistent.

Parameters:
cooked - the pre-validated value to set

getPercentage

public java.lang.Double getPercentage()
                               throws org.melati.poem.AccessPoemException
Retrieves the Percentage value, with locking, for this Affiliate Persistent. Field description: The percentage of sales for this Affiliate

Returns:
the value of the field Percentage for this Affiliate Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setPercentage

public void setPercentage(java.lang.Double cooked)
                   throws org.melati.poem.AccessPoemException,
                          org.melati.poem.ValidationPoemException
Sets the Percentage value, with checking, for this Affiliate Persistent. Field description: The percentage of sales for this Affiliate

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

setPercentage

public final void setPercentage(double cooked)
                         throws org.melati.poem.AccessPoemException,
                                org.melati.poem.ValidationPoemException
Sets the Percentage value, with checking, for this Affiliate Persistent. Field description: The percentage of sales for this Affiliate

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getPercentageField

public org.melati.poem.Field getPercentageField()
                                         throws org.melati.poem.AccessPoemException
Retrieves the Percentage value as a Field from this Affiliate Persistent.

Returns:
the Double percentage
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getCookiedays_unsafe

public java.lang.Integer getCookiedays_unsafe()
Retrieves the Cookiedays value, without locking, for this Affiliate Persistent.

Returns:
the Integer cookiedays

setCookiedays_unsafe

public void setCookiedays_unsafe(java.lang.Integer cooked)
Sets the Cookiedays value directly, without checking, for this Affiliate Persistent.

Parameters:
cooked - the pre-validated value to set

getCookiedays

public java.lang.Integer getCookiedays()
                                throws org.melati.poem.AccessPoemException
Retrieves the Cookiedays value, with locking, for this Affiliate Persistent. Field description: The number of days to set a cookie for for this Affiliate

Returns:
the value of the field Cookiedays for this Affiliate Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setCookiedays

public void setCookiedays(java.lang.Integer cooked)
                   throws org.melati.poem.AccessPoemException,
                          org.melati.poem.ValidationPoemException
Sets the Cookiedays value, with checking, for this Affiliate Persistent. Field description: The number of days to set a cookie for for this Affiliate

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

setCookiedays

public final void setCookiedays(int cooked)
                         throws org.melati.poem.AccessPoemException,
                                org.melati.poem.ValidationPoemException
Sets the Cookiedays value, with checking, for this Affiliate Persistent. Field description: The number of days to set a cookie for for this Affiliate

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getCookiedaysField

public org.melati.poem.Field getCookiedaysField()
                                         throws org.melati.poem.AccessPoemException
Retrieves the Cookiedays value as a Field from this Affiliate Persistent.

Returns:
the Integer cookiedays
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getRegistration_unsafe

public java.sql.Timestamp getRegistration_unsafe()
Retrieves the Registration value, without locking, for this Affiliate Persistent.

Returns:
the Timestamp registration

setRegistration_unsafe

public void setRegistration_unsafe(java.sql.Timestamp cooked)
Sets the Registration value directly, without checking, for this Affiliate Persistent.

Parameters:
cooked - the pre-validated value to set

getRegistration

public java.sql.Timestamp getRegistration()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Registration value, with locking, for this Affiliate Persistent. Field description: The date when this Affiliate Registered

Returns:
the value of the field Registration for this Affiliate Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setRegistration

public void setRegistration(java.sql.Timestamp cooked)
                     throws org.melati.poem.AccessPoemException,
                            org.melati.poem.ValidationPoemException
Sets the Registration value, with checking, for this Affiliate Persistent. Field description: The date when this Affiliate Registered

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getRegistrationField

public org.melati.poem.Field getRegistrationField()
                                           throws org.melati.poem.AccessPoemException
Retrieves the Registration value as a Field from this Affiliate Persistent.

Returns:
the Timestamp registration
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights


Copyright © 2001-2008 PanEris. All Rights Reserved.