org.paneris.jammyjoes.model.generated
Class AwardBase

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

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

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


Field Summary
protected  java.lang.String description
          Description
protected  java.lang.Integer id
          id
protected  java.lang.String picture
          Picture
protected  java.lang.String title
          Title
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
AwardBase()
           
 
Method Summary
 AwardTable getAwardTable()
          Retrieves the AwardTable table which this Persistent is from.
 java.lang.String getDescription_unsafe()
          Retrieves the Description value, without locking, for this Award Persistent.
 java.lang.String getDescription()
          Retrieves the Description value, with locking, for this Award Persistent.
 org.melati.poem.Field getDescriptionField()
          Retrieves the Description value as a Field from this Award Persistent.
 java.lang.Integer getId_unsafe()
          Retrieves the Id value, without locking, for this Award Persistent.
 java.lang.Integer getId()
          Retrieves the Id value, with locking, for this Award Persistent.
 org.melati.poem.Field getIdField()
          Retrieves the Id value as a Field from this Award Persistent.
 JammyjoesDatabaseTables getJammyjoesDatabaseTables()
          Retrieves the Database object.
 java.lang.String getPicture_unsafe()
          Retrieves the Picture value, without locking, for this Award Persistent.
 java.lang.String getPicture()
          Retrieves the Picture value, with locking, for this Award Persistent.
 org.melati.poem.Field getPictureField()
          Retrieves the Picture value as a Field from this Award Persistent.
 java.lang.String getTitle_unsafe()
          Retrieves the Title value, without locking, for this Award Persistent.
 java.lang.String getTitle()
          Retrieves the Title value, with locking, for this Award Persistent.
 org.melati.poem.Field getTitleField()
          Retrieves the Title value as a Field from this Award Persistent.
 void setDescription_unsafe(java.lang.String cooked)
          Sets the Description value directly, without checking, for this Award Persistent.
 void setDescription(java.lang.String cooked)
          Sets the Description value, with checking, for this Award Persistent.
 void setId_unsafe(java.lang.Integer cooked)
          Sets the Id value directly, without checking, for this Award Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this Award Persistent.
 void setId(java.lang.Integer cooked)
          Sets the Id value, with checking, for this Award Persistent.
 void setPicture_unsafe(java.lang.String cooked)
          Sets the Picture value directly, without checking, for this Award Persistent.
 void setPicture(java.lang.String cooked)
          Sets the Picture value, with checking, for this Award Persistent.
 void setTitle_unsafe(java.lang.String cooked)
          Sets the Title value directly, without checking, for this Award Persistent.
 void setTitle(java.lang.String cooked)
          Sets the Title value, with checking, for this Award 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


title

protected java.lang.String title
Title


picture

protected java.lang.String picture
Picture


description

protected java.lang.String description
Description

Constructor Detail

AwardBase

public AwardBase()
Method Detail

getJammyjoesDatabaseTables

public JammyjoesDatabaseTables getJammyjoesDatabaseTables()
Retrieves the Database object.

Returns:
the database

getAwardTable

public AwardTable getAwardTable()
Retrieves the AwardTable table which this Persistent is from.

Returns:
the AwardTable

getId_unsafe

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

Returns:
the Integer id

setId_unsafe

public void setId_unsafe(java.lang.Integer cooked)
Sets the Id value directly, without checking, for this Award 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 Award Persistent.

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

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

getTitle_unsafe

public java.lang.String getTitle_unsafe()
Retrieves the Title value, without locking, for this Award Persistent.

Returns:
the String title

setTitle_unsafe

public void setTitle_unsafe(java.lang.String cooked)
Sets the Title value directly, without checking, for this Award Persistent.

Parameters:
cooked - the pre-validated value to set

getTitle

public java.lang.String getTitle()
                          throws org.melati.poem.AccessPoemException
Retrieves the Title value, with locking, for this Award Persistent.

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

setTitle

public void setTitle(java.lang.String cooked)
              throws org.melati.poem.AccessPoemException,
                     org.melati.poem.ValidationPoemException
Sets the Title value, with checking, for this Award 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

getTitleField

public org.melati.poem.Field getTitleField()
                                    throws org.melati.poem.AccessPoemException
Retrieves the Title value as a Field from this Award Persistent.

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

getPicture_unsafe

public java.lang.String getPicture_unsafe()
Retrieves the Picture value, without locking, for this Award Persistent.

Returns:
the String picture

setPicture_unsafe

public void setPicture_unsafe(java.lang.String cooked)
Sets the Picture value directly, without checking, for this Award Persistent.

Parameters:
cooked - the pre-validated value to set

getPicture

public java.lang.String getPicture()
                            throws org.melati.poem.AccessPoemException
Retrieves the Picture value, with locking, for this Award Persistent.

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

setPicture

public void setPicture(java.lang.String cooked)
                throws org.melati.poem.AccessPoemException,
                       org.melati.poem.ValidationPoemException
Sets the Picture value, with checking, for this Award 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

getPictureField

public org.melati.poem.Field getPictureField()
                                      throws org.melati.poem.AccessPoemException
Retrieves the Picture value as a Field from this Award Persistent.

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

getDescription_unsafe

public java.lang.String getDescription_unsafe()
Retrieves the Description value, without locking, for this Award Persistent.

Returns:
the String description

setDescription_unsafe

public void setDescription_unsafe(java.lang.String cooked)
Sets the Description value directly, without checking, for this Award Persistent.

Parameters:
cooked - the pre-validated value to set

getDescription

public java.lang.String getDescription()
                                throws org.melati.poem.AccessPoemException
Retrieves the Description value, with locking, for this Award Persistent.

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

setDescription

public void setDescription(java.lang.String cooked)
                    throws org.melati.poem.AccessPoemException,
                           org.melati.poem.ValidationPoemException
Sets the Description value, with checking, for this Award 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

getDescriptionField

public org.melati.poem.Field getDescriptionField()
                                          throws org.melati.poem.AccessPoemException
Retrieves the Description value as a Field from this Award Persistent.

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


Copyright © 2001-2008 PanEris. All Rights Reserved.