org.paneris.jammyjoes.model.generated
Class AgeBase

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

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

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


Field Summary
protected  java.lang.Integer id
          id
protected  java.lang.Integer maxage
          Maximum Age
protected  java.lang.Integer minage
          Minimum Age
protected  java.lang.String name
          Age name (singular) - Age name (singular)
protected  java.lang.String pluralName
          Age name (plural) - Age name (plural)
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
AgeBase()
           
 
Method Summary
 AgeTable getAgeTable()
          Retrieves the AgeTable table which this Persistent is from.
 java.lang.Integer getId_unsafe()
          Retrieves the Id value, without locking, for this Age Persistent.
 java.lang.Integer getId()
          Retrieves the Id value, with locking, for this Age Persistent.
 org.melati.poem.Field getIdField()
          Retrieves the Id value as a Field from this Age Persistent.
 JammyjoesDatabaseTables getJammyjoesDatabaseTables()
          Retrieves the Database object.
 java.lang.Integer getMaxage_unsafe()
          Retrieves the Maxage value, without locking, for this Age Persistent.
 java.lang.Integer getMaxage()
          Retrieves the Maxage value, with locking, for this Age Persistent.
 org.melati.poem.Field getMaxageField()
          Retrieves the Maxage value as a Field from this Age Persistent.
 java.lang.Integer getMinage_unsafe()
          Retrieves the Minage value, without locking, for this Age Persistent.
 java.lang.Integer getMinage()
          Retrieves the Minage value, with locking, for this Age Persistent.
 org.melati.poem.Field getMinageField()
          Retrieves the Minage value as a Field from this Age Persistent.
 java.lang.String getName_unsafe()
          Retrieves the Name value, without locking, for this Age Persistent.
 java.lang.String getName()
          Retrieves the Name value, with locking, for this Age Persistent.
 org.melati.poem.Field getNameField()
          Retrieves the Name value as a Field from this Age Persistent.
 java.lang.String getPluralName_unsafe()
          Retrieves the PluralName value, without locking, for this Age Persistent.
 java.lang.String getPluralName()
          Retrieves the PluralName value, with locking, for this Age Persistent.
 org.melati.poem.Field getPluralNameField()
          Retrieves the PluralName value as a Field from this Age Persistent.
 void setId_unsafe(java.lang.Integer cooked)
          Sets the Id value directly, without checking, for this Age Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this Age Persistent.
 void setId(java.lang.Integer cooked)
          Sets the Id value, with checking, for this Age Persistent.
 void setMaxage_unsafe(java.lang.Integer cooked)
          Sets the Maxage value directly, without checking, for this Age Persistent.
 void setMaxage(int cooked)
          Sets the Maxage value, with checking, for this Age Persistent.
 void setMaxage(java.lang.Integer cooked)
          Sets the Maxage value, with checking, for this Age Persistent.
 void setMinage_unsafe(java.lang.Integer cooked)
          Sets the Minage value directly, without checking, for this Age Persistent.
 void setMinage(int cooked)
          Sets the Minage value, with checking, for this Age Persistent.
 void setMinage(java.lang.Integer cooked)
          Sets the Minage value, with checking, for this Age Persistent.
 void setName_unsafe(java.lang.String cooked)
          Sets the Name value directly, without checking, for this Age Persistent.
 void setName(java.lang.String cooked)
          Sets the Name value, with checking, for this Age Persistent.
 void setPluralName_unsafe(java.lang.String cooked)
          Sets the PluralName value directly, without checking, for this Age Persistent.
 void setPluralName(java.lang.String cooked)
          Sets the PluralName value, with checking, for this Age 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, 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


name

protected java.lang.String name
Age name (singular) - Age name (singular)


pluralName

protected java.lang.String pluralName
Age name (plural) - Age name (plural)


minage

protected java.lang.Integer minage
Minimum Age


maxage

protected java.lang.Integer maxage
Maximum Age

Constructor Detail

AgeBase

public AgeBase()
Method Detail

getJammyjoesDatabaseTables

public JammyjoesDatabaseTables getJammyjoesDatabaseTables()
Retrieves the Database object.

Returns:
the database

getAgeTable

public AgeTable getAgeTable()
Retrieves the AgeTable table which this Persistent is from.

Returns:
the AgeTable

getId_unsafe

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

Returns:
the Integer id

setId_unsafe

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

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

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

getName_unsafe

public java.lang.String getName_unsafe()
Retrieves the Name value, without locking, for this Age Persistent.

Returns:
the String name

setName_unsafe

public void setName_unsafe(java.lang.String cooked)
Sets the Name value directly, without checking, for this Age Persistent.

Parameters:
cooked - the pre-validated value to set

getName

public java.lang.String getName()
                         throws org.melati.poem.AccessPoemException
Retrieves the Name value, with locking, for this Age Persistent. Field description: Age name (singular)

Specified by:
getName in interface org.melati.poem.Treeable
Overrides:
getName in class org.melati.poem.JdbcPersistent
Returns:
the value of the field Name for this Age Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setName

public void setName(java.lang.String cooked)
             throws org.melati.poem.AccessPoemException,
                    org.melati.poem.ValidationPoemException
Sets the Name value, with checking, for this Age Persistent. Field description: Age name (singular)

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

getNameField

public org.melati.poem.Field getNameField()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Name value as a Field from this Age Persistent.

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

getPluralName_unsafe

public java.lang.String getPluralName_unsafe()
Retrieves the PluralName value, without locking, for this Age Persistent.

Returns:
the String pluralName

setPluralName_unsafe

public void setPluralName_unsafe(java.lang.String cooked)
Sets the PluralName value directly, without checking, for this Age Persistent.

Parameters:
cooked - the pre-validated value to set

getPluralName

public java.lang.String getPluralName()
                               throws org.melati.poem.AccessPoemException
Retrieves the PluralName value, with locking, for this Age Persistent. Field description: Age name (plural)

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

setPluralName

public void setPluralName(java.lang.String cooked)
                   throws org.melati.poem.AccessPoemException,
                          org.melati.poem.ValidationPoemException
Sets the PluralName value, with checking, for this Age Persistent. Field description: Age name (plural)

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

getPluralNameField

public org.melati.poem.Field getPluralNameField()
                                         throws org.melati.poem.AccessPoemException
Retrieves the PluralName value as a Field from this Age Persistent.

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

getMinage_unsafe

public java.lang.Integer getMinage_unsafe()
Retrieves the Minage value, without locking, for this Age Persistent.

Returns:
the Integer minage

setMinage_unsafe

public void setMinage_unsafe(java.lang.Integer cooked)
Sets the Minage value directly, without checking, for this Age Persistent.

Parameters:
cooked - the pre-validated value to set

getMinage

public java.lang.Integer getMinage()
                            throws org.melati.poem.AccessPoemException
Retrieves the Minage value, with locking, for this Age Persistent.

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

setMinage

public void setMinage(java.lang.Integer cooked)
               throws org.melati.poem.AccessPoemException,
                      org.melati.poem.ValidationPoemException
Sets the Minage value, with checking, for this Age 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

setMinage

public final void setMinage(int cooked)
                     throws org.melati.poem.AccessPoemException,
                            org.melati.poem.ValidationPoemException
Sets the Minage value, with checking, for this Age 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

getMinageField

public org.melati.poem.Field getMinageField()
                                     throws org.melati.poem.AccessPoemException
Retrieves the Minage value as a Field from this Age Persistent.

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

getMaxage_unsafe

public java.lang.Integer getMaxage_unsafe()
Retrieves the Maxage value, without locking, for this Age Persistent.

Returns:
the Integer maxage

setMaxage_unsafe

public void setMaxage_unsafe(java.lang.Integer cooked)
Sets the Maxage value directly, without checking, for this Age Persistent.

Parameters:
cooked - the pre-validated value to set

getMaxage

public java.lang.Integer getMaxage()
                            throws org.melati.poem.AccessPoemException
Retrieves the Maxage value, with locking, for this Age Persistent.

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

setMaxage

public void setMaxage(java.lang.Integer cooked)
               throws org.melati.poem.AccessPoemException,
                      org.melati.poem.ValidationPoemException
Sets the Maxage value, with checking, for this Age 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

setMaxage

public final void setMaxage(int cooked)
                     throws org.melati.poem.AccessPoemException,
                            org.melati.poem.ValidationPoemException
Sets the Maxage value, with checking, for this Age 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

getMaxageField

public org.melati.poem.Field getMaxageField()
                                     throws org.melati.poem.AccessPoemException
Retrieves the Maxage value as a Field from this Age Persistent.

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


Copyright © 2001-2008 PanEris. All Rights Reserved.