org.paneris.jammyjoes.model.generated
Class DeliveryZoneBase

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

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

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


Field Summary
protected  java.lang.Boolean chargeByValue
          Charge by Value? - Charge by value for deliveries to this zone?
protected  java.lang.String displayname
          Display name - The zone's name
protected  java.lang.Integer displayorder
          The order to display the zone
protected  java.lang.Integer id
          id
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
DeliveryZoneBase()
           
 
Method Summary
 java.lang.Boolean getChargeByValue_unsafe()
          Retrieves the ChargeByValue value, without locking, for this DeliveryZone Persistent.
 java.lang.Boolean getChargeByValue()
          Retrieves the ChargeByValue value, with locking, for this DeliveryZone Persistent.
 org.melati.poem.Field getChargeByValueField()
          Retrieves the ChargeByValue value as a Field from this DeliveryZone Persistent.
 DeliveryZoneTable getDeliveryZoneTable()
          Retrieves the DeliveryZoneTable table which this Persistent is from.
 java.lang.String getDisplayname_unsafe()
          Retrieves the Displayname value, without locking, for this DeliveryZone Persistent.
 java.lang.String getDisplayname()
          Retrieves the Displayname value, with locking, for this DeliveryZone Persistent.
 org.melati.poem.Field getDisplaynameField()
          Retrieves the Displayname value as a Field from this DeliveryZone Persistent.
 java.lang.Integer getDisplayorder_unsafe()
          Retrieves the Displayorder value, without locking, for this DeliveryZone Persistent.
 java.lang.Integer getDisplayorder()
          Retrieves the Displayorder value, with locking, for this DeliveryZone Persistent.
 org.melati.poem.Field getDisplayorderField()
          Retrieves the Displayorder value as a Field from this DeliveryZone Persistent.
 java.lang.Integer getId_unsafe()
          Retrieves the Id value, without locking, for this DeliveryZone Persistent.
 java.lang.Integer getId()
          Retrieves the Id value, with locking, for this DeliveryZone Persistent.
 org.melati.poem.Field getIdField()
          Retrieves the Id value as a Field from this DeliveryZone Persistent.
 JammyjoesDatabaseTables getJammyjoesDatabaseTables()
          Retrieves the Database object.
 void setChargeByValue_unsafe(java.lang.Boolean cooked)
          Sets the ChargeByValue value directly, without checking, for this DeliveryZone Persistent.
 void setChargeByValue(boolean cooked)
          Sets the ChargeByValue value, with checking, from a boolean, for this DeliveryZone Persistent.
 void setChargeByValue(java.lang.Boolean cooked)
          Sets the ChargeByValue value, with checking, for this DeliveryZone Persistent.
 void setDisplayname_unsafe(java.lang.String cooked)
          Sets the Displayname value directly, without checking, for this DeliveryZone Persistent.
 void setDisplayname(java.lang.String cooked)
          Sets the Displayname value, with checking, for this DeliveryZone Persistent.
 void setDisplayorder_unsafe(java.lang.Integer cooked)
          Sets the Displayorder value directly, without checking, for this DeliveryZone Persistent.
 void setDisplayorder(int cooked)
          Sets the Displayorder value, with checking, for this DeliveryZone Persistent.
 void setDisplayorder(java.lang.Integer cooked)
          Sets the Displayorder value, with checking, for this DeliveryZone Persistent.
 void setId_unsafe(java.lang.Integer cooked)
          Sets the Id value directly, without checking, for this DeliveryZone Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this DeliveryZone Persistent.
 void setId(java.lang.Integer cooked)
          Sets the Id value, with checking, for this DeliveryZone 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


displayname

protected java.lang.String displayname
Display name - The zone's name


displayorder

protected java.lang.Integer displayorder
The order to display the zone


chargeByValue

protected java.lang.Boolean chargeByValue
Charge by Value? - Charge by value for deliveries to this zone?

Constructor Detail

DeliveryZoneBase

public DeliveryZoneBase()
Method Detail

getJammyjoesDatabaseTables

public JammyjoesDatabaseTables getJammyjoesDatabaseTables()
Retrieves the Database object.

Returns:
the database

getDeliveryZoneTable

public DeliveryZoneTable getDeliveryZoneTable()
Retrieves the DeliveryZoneTable table which this Persistent is from.

Returns:
the DeliveryZoneTable

getId_unsafe

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

Returns:
the Integer id

setId_unsafe

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

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

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

getDisplayname_unsafe

public java.lang.String getDisplayname_unsafe()
Retrieves the Displayname value, without locking, for this DeliveryZone Persistent.

Returns:
the String displayname

setDisplayname_unsafe

public void setDisplayname_unsafe(java.lang.String cooked)
Sets the Displayname value directly, without checking, for this DeliveryZone Persistent.

Parameters:
cooked - the pre-validated value to set

getDisplayname

public java.lang.String getDisplayname()
                                throws org.melati.poem.AccessPoemException
Retrieves the Displayname value, with locking, for this DeliveryZone Persistent. Field description: The zone's name

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

setDisplayname

public void setDisplayname(java.lang.String cooked)
                    throws org.melati.poem.AccessPoemException,
                           org.melati.poem.ValidationPoemException
Sets the Displayname value, with checking, for this DeliveryZone Persistent. Field description: The zone's 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

getDisplaynameField

public org.melati.poem.Field getDisplaynameField()
                                          throws org.melati.poem.AccessPoemException
Retrieves the Displayname value as a Field from this DeliveryZone Persistent.

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

getDisplayorder_unsafe

public java.lang.Integer getDisplayorder_unsafe()
Retrieves the Displayorder value, without locking, for this DeliveryZone Persistent.

Returns:
the Integer displayorder

setDisplayorder_unsafe

public void setDisplayorder_unsafe(java.lang.Integer cooked)
Sets the Displayorder value directly, without checking, for this DeliveryZone Persistent.

Parameters:
cooked - the pre-validated value to set

getDisplayorder

public java.lang.Integer getDisplayorder()
                                  throws org.melati.poem.AccessPoemException
Retrieves the Displayorder value, with locking, for this DeliveryZone Persistent.

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

setDisplayorder

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

setDisplayorder

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

getDisplayorderField

public org.melati.poem.Field getDisplayorderField()
                                           throws org.melati.poem.AccessPoemException
Retrieves the Displayorder value as a Field from this DeliveryZone Persistent.

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

getChargeByValue_unsafe

public java.lang.Boolean getChargeByValue_unsafe()
Retrieves the ChargeByValue value, without locking, for this DeliveryZone Persistent.

Returns:
the Boolean chargeByValue

setChargeByValue_unsafe

public void setChargeByValue_unsafe(java.lang.Boolean cooked)
Sets the ChargeByValue value directly, without checking, for this DeliveryZone Persistent.

Parameters:
cooked - the pre-validated value to set

getChargeByValue

public java.lang.Boolean getChargeByValue()
                                   throws org.melati.poem.AccessPoemException
Retrieves the ChargeByValue value, with locking, for this DeliveryZone Persistent. Field description: Charge by value for deliveries to this zone?

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

setChargeByValue

public void setChargeByValue(java.lang.Boolean cooked)
                      throws org.melati.poem.AccessPoemException,
                             org.melati.poem.ValidationPoemException
Sets the ChargeByValue value, with checking, for this DeliveryZone Persistent. Field description: Charge by value for deliveries to this zone?

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

setChargeByValue

public final void setChargeByValue(boolean cooked)
                            throws org.melati.poem.AccessPoemException,
                                   org.melati.poem.ValidationPoemException
Sets the ChargeByValue value, with checking, from a boolean, for this DeliveryZone Persistent. Field description: Charge by value for deliveries to this zone?

Parameters:
cooked - a boolean
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

getChargeByValueField

public org.melati.poem.Field getChargeByValueField()
                                            throws org.melati.poem.AccessPoemException
Retrieves the ChargeByValue value as a Field from this DeliveryZone Persistent.

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


Copyright © 2001-2008 PanEris. All Rights Reserved.