org.paneris.bibliomania.generated
Class CampaignUserBase

java.lang.Object
  extended by org.melati.poem.transaction.Transactioned
      extended by org.melati.poem.JdbcPersistent
          extended by org.paneris.bibliomania.generated.CampaignUserBase
All Implemented Interfaces:
java.lang.Cloneable, org.melati.poem.Persistable, org.melati.poem.Persistent, org.melati.poem.Treeable
Direct Known Subclasses:
CampaignUser

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

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

See Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

Field Summary
protected  java.lang.Integer campaign
          Campaign
protected  java.lang.Integer id
          id
protected  java.lang.Integer user
          User
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
CampaignUserBase()
           
 
Method Summary
 BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
          Retrieves the Database object.
 java.lang.Integer getCampaign_unsafe()
          Retrieves the Campaign value, without locking, for this CampaignUser Persistent.
 Campaign getCampaign()
          Retrieves the Campaign object referred to.
 org.melati.poem.Field getCampaignField()
          Retrieves the Campaign value as a Field from this CampaignUser Persistent.
 java.lang.Integer getCampaignTroid()
          Retrieves the Table Row Object ID.
 CampaignUserTable getCampaignUserTable()
          Retrieves the CampaignUserTable table which this Persistent is from.
 java.lang.Integer getId_unsafe()
          Retrieves the Id value, without locking, for this CampaignUser Persistent.
 java.lang.Integer getId()
          Retrieves the Id value, with locking, for this CampaignUser Persistent.
 org.melati.poem.Field getIdField()
          Retrieves the Id value as a Field from this CampaignUser Persistent.
 java.lang.Integer getUser_unsafe()
          Retrieves the User value, without locking, for this CampaignUser Persistent.
 User getUser()
          Retrieves the User object referred to.
 org.melati.poem.Field getUserField()
          Retrieves the User value as a Field from this CampaignUser Persistent.
 java.lang.Integer getUserTroid()
          Retrieves the Table Row Object ID.
 void setCampaign_unsafe(java.lang.Integer cooked)
          Sets the Campaign value directly, without checking, for this CampaignUser Persistent.
 void setCampaign(Campaign cooked)
          Set the Campaign.
 void setCampaignTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setId_unsafe(java.lang.Integer cooked)
          Sets the Id value directly, without checking, for this CampaignUser Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this CampaignUser Persistent.
 void setId(java.lang.Integer cooked)
          Sets the Id value, with checking, for this CampaignUser Persistent.
 void setUser_unsafe(java.lang.Integer cooked)
          Sets the User value directly, without checking, for this CampaignUser Persistent.
 void setUser(User cooked)
          Set the User.
 void setUserTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 
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


campaign

protected java.lang.Integer campaign
Campaign


user

protected java.lang.Integer user
User

Constructor Detail

CampaignUserBase

public CampaignUserBase()
Method Detail

getBibliomaniaDatabaseTables

public BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
Retrieves the Database object.

Returns:
the database
See Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

getCampaignUserTable

public CampaignUserTable getCampaignUserTable()
Retrieves the CampaignUserTable table which this Persistent is from.

Returns:
the CampaignUserTable
See Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

getId_unsafe

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

Returns:
the Integer id
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setId_unsafe

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

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getId

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

Returns:
the value of the field Id for this CampaignUser Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

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 CampaignUser 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
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

setId

public final void setId(int cooked)
                 throws org.melati.poem.AccessPoemException,
                        org.melati.poem.ValidationPoemException
Sets the Id value, with checking, for this CampaignUser 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
Generator
org.melati.poem.prepro.IntegerFieldDef#generateBaseMethods

getIdField

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

Returns:
the Integer id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getCampaign_unsafe

public java.lang.Integer getCampaign_unsafe()
Retrieves the Campaign value, without locking, for this CampaignUser Persistent.

Returns:
the Integer campaign
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setCampaign_unsafe

public void setCampaign_unsafe(java.lang.Integer cooked)
Sets the Campaign value directly, without checking, for this CampaignUser Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getCampaignTroid

public java.lang.Integer getCampaignTroid()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Table Row Object ID.

Returns:
the TROID as an Integer
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights
Generator
org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

setCampaignTroid

public void setCampaignTroid(java.lang.Integer raw)
                      throws org.melati.poem.AccessPoemException
Sets the Table Row Object ID.

Parameters:
raw - a Table Row Object Id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

getCampaign

public Campaign getCampaign()
                     throws org.melati.poem.AccessPoemException,
                            org.melati.poem.NoSuchRowPoemException
Retrieves the Campaign object referred to.

Returns:
the Campaign as a Campaign
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights
org.melati.poem.NoSuchRowPoemException - if the Persistent has yet to be allocated a TROID
Generator
org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

setCampaign

public void setCampaign(Campaign cooked)
                 throws org.melati.poem.AccessPoemException
Set the Campaign.

Parameters:
cooked - a validated Campaign
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

getCampaignField

public org.melati.poem.Field getCampaignField()
                                       throws org.melati.poem.AccessPoemException
Retrieves the Campaign value as a Field from this CampaignUser Persistent.

Returns:
the Integer campaign
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getUser_unsafe

public java.lang.Integer getUser_unsafe()
Retrieves the User value, without locking, for this CampaignUser Persistent.

Returns:
the Integer user
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setUser_unsafe

public void setUser_unsafe(java.lang.Integer cooked)
Sets the User value directly, without checking, for this CampaignUser Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getUserTroid

public java.lang.Integer getUserTroid()
                               throws org.melati.poem.AccessPoemException
Retrieves the Table Row Object ID.

Returns:
the TROID as an Integer
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights
Generator
org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

setUserTroid

public void setUserTroid(java.lang.Integer raw)
                  throws org.melati.poem.AccessPoemException
Sets the Table Row Object ID.

Parameters:
raw - a Table Row Object Id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

getUser

public User getUser()
             throws org.melati.poem.AccessPoemException,
                    org.melati.poem.NoSuchRowPoemException
Retrieves the User object referred to.

Returns:
the User as a User
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights
org.melati.poem.NoSuchRowPoemException - if the Persistent has yet to be allocated a TROID
Generator
org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

setUser

public void setUser(User cooked)
             throws org.melati.poem.AccessPoemException
Set the User.

Parameters:
cooked - a validated User
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

getUserField

public org.melati.poem.Field getUserField()
                                   throws org.melati.poem.AccessPoemException
Retrieves the User value as a Field from this CampaignUser Persistent.

Returns:
the Integer user
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator


Copyright © 2000-2009 PanEris. All Rights Reserved.