org.paneris.bibliomania.generated
Class DeliveryChargeBase

java.lang.Object
  extended by org.melati.poem.transaction.Transactioned
      extended by org.melati.poem.JdbcPersistent
          extended by org.paneris.bibliomania.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.

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

Field Summary
protected  java.lang.Integer band
          Delivery Charge Band - The name of area for this delivery charge
protected  java.lang.Double charge
          Per Item Delivery Charge - The cost for delivering each book to a coutry in this band
protected  java.lang.Integer id
          id
protected  java.lang.Double ordercharge
          Order Delivery Charge - The cost for delivering the order (added to the per item charge)
protected  java.lang.Integer supplier
          Supplier - The supplier for which these charges apply
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
DeliveryChargeBase()
           
 
Method Summary
 java.lang.Integer getBand_unsafe()
          Retrieves the Band value, without locking, for this DeliveryCharge Persistent.
 DeliveryChargeBand getBand()
          Retrieves the Band object referred to.
 org.melati.poem.Field getBandField()
          Retrieves the Band value as a Field from this DeliveryCharge Persistent.
 java.lang.Integer getBandTroid()
          Retrieves the Table Row Object ID.
 BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
          Retrieves the Database object.
 java.lang.Double getCharge_unsafe()
          Retrieves the Charge value, without locking, for this DeliveryCharge Persistent.
 java.lang.Double getCharge()
          Retrieves the Charge value, with locking, for this DeliveryCharge Persistent.
 org.melati.poem.Field getChargeField()
          Retrieves the Charge 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.
 java.lang.Double getOrdercharge_unsafe()
          Retrieves the Ordercharge value, without locking, for this DeliveryCharge Persistent.
 java.lang.Double getOrdercharge()
          Retrieves the Ordercharge value, with locking, for this DeliveryCharge Persistent.
 org.melati.poem.Field getOrderchargeField()
          Retrieves the Ordercharge value as a Field from this DeliveryCharge Persistent.
 java.lang.Integer getSupplier_unsafe()
          Retrieves the Supplier value, without locking, for this DeliveryCharge Persistent.
 Supplier getSupplier()
          Retrieves the Supplier object referred to.
 org.melati.poem.Field getSupplierField()
          Retrieves the Supplier value as a Field from this DeliveryCharge Persistent.
 java.lang.Integer getSupplierTroid()
          Retrieves the Table Row Object ID.
 void setBand_unsafe(java.lang.Integer cooked)
          Sets the Band value directly, without checking, for this DeliveryCharge Persistent.
 void setBand(DeliveryChargeBand cooked)
          Set the Band.
 void setBandTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setCharge_unsafe(java.lang.Double cooked)
          Sets the Charge value directly, without checking, for this DeliveryCharge Persistent.
 void setCharge(double cooked)
          Sets the Charge value, with checking, for this DeliveryCharge Persistent.
 void setCharge(java.lang.Double cooked)
          Sets the Charge 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 setOrdercharge_unsafe(java.lang.Double cooked)
          Sets the Ordercharge value directly, without checking, for this DeliveryCharge Persistent.
 void setOrdercharge(double cooked)
          Sets the Ordercharge value, with checking, for this DeliveryCharge Persistent.
 void setOrdercharge(java.lang.Double cooked)
          Sets the Ordercharge value, with checking, for this DeliveryCharge Persistent.
 void setSupplier_unsafe(java.lang.Integer cooked)
          Sets the Supplier value directly, without checking, for this DeliveryCharge Persistent.
 void setSupplier(Supplier cooked)
          Set the Supplier.
 void setSupplierTroid(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


band

protected java.lang.Integer band
Delivery Charge Band - The name of area for this delivery charge


supplier

protected java.lang.Integer supplier
Supplier - The supplier for which these charges apply


charge

protected java.lang.Double charge
Per Item Delivery Charge - The cost for delivering each book to a coutry in this band


ordercharge

protected java.lang.Double ordercharge
Order Delivery Charge - The cost for delivering the order (added to the per item charge)

Constructor Detail

DeliveryChargeBase

public DeliveryChargeBase()
Method Detail

getBibliomaniaDatabaseTables

public BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
Retrieves the Database object.

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

getDeliveryChargeTable

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

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

getId_unsafe

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

getBand_unsafe

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

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

setBand_unsafe

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

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

getBandTroid

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

setBandTroid

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

getBand

public DeliveryChargeBand getBand()
                           throws org.melati.poem.AccessPoemException,
                                  org.melati.poem.NoSuchRowPoemException
Retrieves the Band object referred to.

Returns:
the Band as a DeliveryChargeBand
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

setBand

public void setBand(DeliveryChargeBand cooked)
             throws org.melati.poem.AccessPoemException
Set the Band.

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

getBandField

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

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

getSupplier_unsafe

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

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

setSupplier_unsafe

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

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

getSupplierTroid

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

setSupplierTroid

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

getSupplier

public Supplier getSupplier()
                     throws org.melati.poem.AccessPoemException,
                            org.melati.poem.NoSuchRowPoemException
Retrieves the Supplier object referred to.

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

setSupplier

public void setSupplier(Supplier cooked)
                 throws org.melati.poem.AccessPoemException
Set the Supplier.

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

getSupplierField

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

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

getCharge_unsafe

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

Returns:
the Double charge
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setCharge_unsafe

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

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

getCharge

public java.lang.Double getCharge()
                           throws org.melati.poem.AccessPoemException
Retrieves the Charge value, with locking, for this DeliveryCharge Persistent. Field description: The cost for delivering each book to a coutry in this band

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

setCharge

public void setCharge(java.lang.Double cooked)
               throws org.melati.poem.AccessPoemException,
                      org.melati.poem.ValidationPoemException
Sets the Charge value, with checking, for this DeliveryCharge Persistent. Field description: The cost for delivering each book to a coutry in this band

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

setCharge

public final void setCharge(double cooked)
                     throws org.melati.poem.AccessPoemException,
                            org.melati.poem.ValidationPoemException
Sets the Charge value, with checking, for this DeliveryCharge Persistent. Field description: The cost for delivering each book to a coutry in this band

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.DoubleFieldDef#generateBaseMethods

getChargeField

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

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

getOrdercharge_unsafe

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

Returns:
the Double ordercharge
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setOrdercharge_unsafe

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

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

getOrdercharge

public java.lang.Double getOrdercharge()
                                throws org.melati.poem.AccessPoemException
Retrieves the Ordercharge value, with locking, for this DeliveryCharge Persistent. Field description: The cost for delivering the order (added to the per item charge)

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

setOrdercharge

public void setOrdercharge(java.lang.Double cooked)
                    throws org.melati.poem.AccessPoemException,
                           org.melati.poem.ValidationPoemException
Sets the Ordercharge value, with checking, for this DeliveryCharge Persistent. Field description: The cost for delivering the order (added to the per item charge)

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

setOrdercharge

public final void setOrdercharge(double cooked)
                          throws org.melati.poem.AccessPoemException,
                                 org.melati.poem.ValidationPoemException
Sets the Ordercharge value, with checking, for this DeliveryCharge Persistent. Field description: The cost for delivering the order (added to the per item charge)

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.DoubleFieldDef#generateBaseMethods

getOrderchargeField

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

Returns:
the Double ordercharge
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.