org.paneris.bibliomania.generated
Class DownloadEventBase

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

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

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

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

Field Summary
protected  java.sql.Timestamp date
          Date - The date and time the file was downloaded
protected  java.lang.Integer document
          Download - The name of the file downloaded
protected  java.lang.Integer id
          id
protected  java.lang.Integer user
          User
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
DownloadEventBase()
           
 
Method Summary
 BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
          Retrieves the Database object.
 java.sql.Timestamp getDate_unsafe()
          Retrieves the Date value, without locking, for this DownloadEvent Persistent.
 java.sql.Timestamp getDate()
          Retrieves the Date value, with locking, for this DownloadEvent Persistent.
 org.melati.poem.Field getDateField()
          Retrieves the Date value as a Field from this DownloadEvent Persistent.
 java.lang.Integer getDocument_unsafe()
          Retrieves the Document value, without locking, for this DownloadEvent Persistent.
 Download getDocument()
          Retrieves the Document object referred to.
 org.melati.poem.Field getDocumentField()
          Retrieves the Document value as a Field from this DownloadEvent Persistent.
 java.lang.Integer getDocumentTroid()
          Retrieves the Table Row Object ID.
 DownloadEventTable getDownloadEventTable()
          Retrieves the DownloadEventTable table which this Persistent is from.
 java.lang.Integer getId_unsafe()
          Retrieves the Id value, without locking, for this DownloadEvent Persistent.
 java.lang.Integer getId()
          Retrieves the Id value, with locking, for this DownloadEvent Persistent.
 org.melati.poem.Field getIdField()
          Retrieves the Id value as a Field from this DownloadEvent Persistent.
 java.lang.Integer getUser_unsafe()
          Retrieves the User value, without locking, for this DownloadEvent Persistent.
 User getUser()
          Retrieves the User object referred to.
 org.melati.poem.Field getUserField()
          Retrieves the User value as a Field from this DownloadEvent Persistent.
 java.lang.Integer getUserTroid()
          Retrieves the Table Row Object ID.
 void setDate_unsafe(java.sql.Timestamp cooked)
          Sets the Date value directly, without checking, for this DownloadEvent Persistent.
 void setDate(java.sql.Timestamp cooked)
          Sets the Date value, with checking, for this DownloadEvent Persistent.
 void setDocument_unsafe(java.lang.Integer cooked)
          Sets the Document value directly, without checking, for this DownloadEvent Persistent.
 void setDocument(Download cooked)
          Set the Document.
 void setDocumentTroid(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 DownloadEvent Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this DownloadEvent Persistent.
 void setId(java.lang.Integer cooked)
          Sets the Id value, with checking, for this DownloadEvent Persistent.
 void setUser_unsafe(java.lang.Integer cooked)
          Sets the User value directly, without checking, for this DownloadEvent 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


user

protected java.lang.Integer user
User


document

protected java.lang.Integer document
Download - The name of the file downloaded


date

protected java.sql.Timestamp date
Date - The date and time the file was downloaded

Constructor Detail

DownloadEventBase

public DownloadEventBase()
Method Detail

getBibliomaniaDatabaseTables

public BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
Retrieves the Database object.

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

getDownloadEventTable

public DownloadEventTable getDownloadEventTable()
Retrieves the DownloadEventTable table which this Persistent is from.

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

getId_unsafe

public java.lang.Integer getId_unsafe()
Retrieves the Id value, without locking, for this DownloadEvent 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 DownloadEvent 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 DownloadEvent Persistent.

Returns:
the value of the field Id for this DownloadEvent 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 DownloadEvent 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 DownloadEvent 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 DownloadEvent 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

getUser_unsafe

public java.lang.Integer getUser_unsafe()
Retrieves the User value, without locking, for this DownloadEvent 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 DownloadEvent 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 DownloadEvent 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

getDocument_unsafe

public java.lang.Integer getDocument_unsafe()
Retrieves the Document value, without locking, for this DownloadEvent Persistent.

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

setDocument_unsafe

public void setDocument_unsafe(java.lang.Integer cooked)
Sets the Document value directly, without checking, for this DownloadEvent Persistent.

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

getDocumentTroid

public java.lang.Integer getDocumentTroid()
                                   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

setDocumentTroid

public void setDocumentTroid(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

getDocument

public Download getDocument()
                     throws org.melati.poem.AccessPoemException,
                            org.melati.poem.NoSuchRowPoemException
Retrieves the Document object referred to.

Returns:
the Document as a Download
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

setDocument

public void setDocument(Download cooked)
                 throws org.melati.poem.AccessPoemException
Set the Document.

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

getDocumentField

public org.melati.poem.Field getDocumentField()
                                       throws org.melati.poem.AccessPoemException
Retrieves the Document value as a Field from this DownloadEvent Persistent.

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

getDate_unsafe

public java.sql.Timestamp getDate_unsafe()
Retrieves the Date value, without locking, for this DownloadEvent Persistent.

Returns:
the Timestamp date
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setDate_unsafe

public void setDate_unsafe(java.sql.Timestamp cooked)
Sets the Date value directly, without checking, for this DownloadEvent Persistent.

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

getDate

public java.sql.Timestamp getDate()
                           throws org.melati.poem.AccessPoemException
Retrieves the Date value, with locking, for this DownloadEvent Persistent. Field description: The date and time the file was downloaded

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

setDate

public void setDate(java.sql.Timestamp cooked)
             throws org.melati.poem.AccessPoemException,
                    org.melati.poem.ValidationPoemException
Sets the Date value, with checking, for this DownloadEvent Persistent. Field description: The date and time the file was downloaded

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

getDateField

public org.melati.poem.Field getDateField()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Date value as a Field from this DownloadEvent Persistent.

Returns:
the Timestamp date
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.