org.paneris.jammyjoes.model.generated
Class DeliveryChargeBase

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

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

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


Field Summary
protected  java.lang.Integer carrier
          Delivery Carrier - The Delivery Carrier
protected  java.lang.Double cost
          Cost - The Cost to deliver this weight to this zone
protected  java.lang.Integer id
          id
protected  java.lang.Double weight
          Max Weight in grammes or Min Value in Pounds and Pence
protected  java.lang.Integer zone
          Delivery Zone - The Delivery Zone
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
DeliveryChargeBase()
           
 
Method Summary
 java.lang.Integer getCarrier_unsafe()
          Retrieves the Carrier value, without locking, for this DeliveryCharge Persistent.
 DeliveryCarrier getCarrier()
          Retrieves the Carrier object referred to.
 org.melati.poem.Field getCarrierField()
          Retrieves the Carrier value as a Field from this DeliveryCharge Persistent.
 java.lang.Integer getCarrierTroid()
          Retrieves the Table Row Object ID.
 java.lang.Double getCost_unsafe()
          Retrieves the Cost value, without locking, for this DeliveryCharge Persistent.
 java.lang.Double getCost()
          Retrieves the Cost value, with locking, for this DeliveryCharge Persistent.
 org.melati.poem.Field getCostField()
          Retrieves the Cost value as a Field from this DeliveryCharge Persistent.
 DeliveryChargeTable getDeliveryChargeTable()
          Retrieves the DeliveryChargeTable table which this Persistent is from.
 java.lang.Integer getId_unsafe()
          Retrieves the Id value, without locking, for this DeliveryCharge Persistent.
 java.lang.Integer getId()
          Retrieves the Id value, with locking, for this DeliveryCharge Persistent.
 org.melati.poem.Field getIdField()
          Retrieves the Id value as a Field from this DeliveryCharge Persistent.
 JammyjoesDatabaseTables getJammyjoesDatabaseTables()
          Retrieves the Database object.
 java.lang.Double getWeight_unsafe()
          Retrieves the Weight value, without locking, for this DeliveryCharge Persistent.
 java.lang.Double getWeight()
          Retrieves the Weight value, with locking, for this DeliveryCharge Persistent.
 org.melati.poem.Field getWeightField()
          Retrieves the Weight value as a Field from this DeliveryCharge Persistent.
 java.lang.Integer getZone_unsafe()
          Retrieves the Zone value, without locking, for this DeliveryCharge Persistent.
 DeliveryZone getZone()
          Retrieves the Zone object referred to.
 org.melati.poem.Field getZoneField()
          Retrieves the Zone value as a Field from this DeliveryCharge Persistent.
 java.lang.Integer getZoneTroid()
          Retrieves the Table Row Object ID.
 void setCarrier_unsafe(java.lang.Integer cooked)
          Sets the Carrier value directly, without checking, for this DeliveryCharge Persistent.
 void setCarrier(DeliveryCarrier cooked)
          Set the Carrier.
 void setCarrierTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setCost_unsafe(java.lang.Double cooked)
          Sets the Cost value directly, without checking, for this DeliveryCharge Persistent.
 void setCost(double cooked)
          Sets the Cost value, with checking, for this DeliveryCharge Persistent.
 void setCost(java.lang.Double cooked)
          Sets the Cost value, with checking, for this DeliveryCharge Persistent.
 void setId_unsafe(java.lang.Integer cooked)
          Sets the Id value directly, without checking, for this DeliveryCharge Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this DeliveryCharge Persistent.
 void setId(java.lang.Integer cooked)
          Sets the Id value, with checking, for this DeliveryCharge Persistent.
 void setWeight_unsafe(java.lang.Double cooked)
          Sets the Weight value directly, without checking, for this DeliveryCharge Persistent.
 void setWeight(double cooked)
          Sets the Weight value, with checking, for this DeliveryCharge Persistent.
 void setWeight(java.lang.Double cooked)
          Sets the Weight value, with checking, for this DeliveryCharge Persistent.
 void setZone_unsafe(java.lang.Integer cooked)
          Sets the Zone value directly, without checking, for this DeliveryCharge Persistent.
 void setZone(DeliveryZone cooked)
          Set the Zone.
 void setZoneTroid(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


zone

protected java.lang.Integer zone
Delivery Zone - The Delivery Zone


weight

protected java.lang.Double weight
Max Weight in grammes or Min Value in Pounds and Pence


cost

protected java.lang.Double cost
Cost - The Cost to deliver this weight to this zone


carrier

protected java.lang.Integer carrier
Delivery Carrier - The Delivery Carrier

Constructor Detail

DeliveryChargeBase

public DeliveryChargeBase()
Method Detail

getJammyjoesDatabaseTables

public JammyjoesDatabaseTables getJammyjoesDatabaseTables()
Retrieves the Database object.

Returns:
the database

getDeliveryChargeTable

public DeliveryChargeTable getDeliveryChargeTable()
Retrieves the DeliveryChargeTable table which this Persistent is from.

Returns:
the DeliveryChargeTable

getId_unsafe

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

Returns:
the Integer id

setId_unsafe

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

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

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

getZone_unsafe

public java.lang.Integer getZone_unsafe()
Retrieves the Zone value, without locking, for this DeliveryCharge Persistent.

Returns:
the Integer zone

setZone_unsafe

public void setZone_unsafe(java.lang.Integer cooked)
Sets the Zone value directly, without checking, for this DeliveryCharge Persistent.

Parameters:
cooked - the pre-validated value to set

getZoneTroid

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

setZoneTroid

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

getZone

public DeliveryZone getZone()
                     throws org.melati.poem.AccessPoemException,
                            org.melati.poem.NoSuchRowPoemException
Retrieves the Zone object referred to.

Returns:
the Zone as a DeliveryZone
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

setZone

public void setZone(DeliveryZone cooked)
             throws org.melati.poem.AccessPoemException
Set the Zone.

Parameters:
cooked - a validated DeliveryZone
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getZoneField

public org.melati.poem.Field getZoneField()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Zone value as a Field from this DeliveryCharge Persistent.

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

getWeight_unsafe

public java.lang.Double getWeight_unsafe()
Retrieves the Weight value, without locking, for this DeliveryCharge Persistent.

Returns:
the Double weight

setWeight_unsafe

public void setWeight_unsafe(java.lang.Double cooked)
Sets the Weight value directly, without checking, for this DeliveryCharge Persistent.

Parameters:
cooked - the pre-validated value to set

getWeight

public java.lang.Double getWeight()
                           throws org.melati.poem.AccessPoemException
Retrieves the Weight value, with locking, for this DeliveryCharge Persistent.

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

setWeight

public void setWeight(java.lang.Double cooked)
               throws org.melati.poem.AccessPoemException,
                      org.melati.poem.ValidationPoemException
Sets the Weight value, with checking, for this DeliveryCharge 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

setWeight

public final void setWeight(double cooked)
                     throws org.melati.poem.AccessPoemException,
                            org.melati.poem.ValidationPoemException
Sets the Weight value, with checking, for this DeliveryCharge 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

getWeightField

public org.melati.poem.Field getWeightField()
                                     throws org.melati.poem.AccessPoemException
Retrieves the Weight value as a Field from this DeliveryCharge Persistent.

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

getCost_unsafe

public java.lang.Double getCost_unsafe()
Retrieves the Cost value, without locking, for this DeliveryCharge Persistent.

Returns:
the Double cost

setCost_unsafe

public void setCost_unsafe(java.lang.Double cooked)
Sets the Cost value directly, without checking, for this DeliveryCharge Persistent.

Parameters:
cooked - the pre-validated value to set

getCost

public java.lang.Double getCost()
                         throws org.melati.poem.AccessPoemException
Retrieves the Cost value, with locking, for this DeliveryCharge Persistent. Field description: The Cost to deliver this weight to this zone

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

setCost

public void setCost(java.lang.Double cooked)
             throws org.melati.poem.AccessPoemException,
                    org.melati.poem.ValidationPoemException
Sets the Cost value, with checking, for this DeliveryCharge Persistent. Field description: The Cost to deliver this weight 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

setCost

public final void setCost(double cooked)
                   throws org.melati.poem.AccessPoemException,
                          org.melati.poem.ValidationPoemException
Sets the Cost value, with checking, for this DeliveryCharge Persistent. Field description: The Cost to deliver this weight 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

getCostField

public org.melati.poem.Field getCostField()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Cost value as a Field from this DeliveryCharge Persistent.

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

getCarrier_unsafe

public java.lang.Integer getCarrier_unsafe()
Retrieves the Carrier value, without locking, for this DeliveryCharge Persistent.

Returns:
the Integer carrier

setCarrier_unsafe

public void setCarrier_unsafe(java.lang.Integer cooked)
Sets the Carrier value directly, without checking, for this DeliveryCharge Persistent.

Parameters:
cooked - the pre-validated value to set

getCarrierTroid

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

setCarrierTroid

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

getCarrier

public DeliveryCarrier getCarrier()
                           throws org.melati.poem.AccessPoemException,
                                  org.melati.poem.NoSuchRowPoemException
Retrieves the Carrier object referred to.

Returns:
the Carrier as a DeliveryCarrier
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

setCarrier

public void setCarrier(DeliveryCarrier cooked)
                throws org.melati.poem.AccessPoemException
Set the Carrier.

Parameters:
cooked - a validated DeliveryCarrier
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getCarrierField

public org.melati.poem.Field getCarrierField()
                                      throws org.melati.poem.AccessPoemException
Retrieves the Carrier value as a Field from this DeliveryCharge Persistent.

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


Copyright © 2001-2008 PanEris. All Rights Reserved.