org.paneris.bibliomania.generated
Class SupplierProductBase

java.lang.Object
  extended by org.melati.poem.transaction.Transactioned
      extended by org.melati.poem.JdbcPersistent
          extended by org.paneris.bibliomania.generated.SupplierProductBase
All Implemented Interfaces:
java.lang.Cloneable, org.melati.poem.Persistable, org.melati.poem.Persistent, org.melati.poem.Treeable
Direct Known Subclasses:
SupplierProduct

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

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

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

Field Summary
protected  java.lang.Integer id
          id
protected  java.lang.Integer product
          Product - A product for this supplier
protected  java.lang.Integer supplier
          Supplier - A supplier for this product
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
SupplierProductBase()
           
 
Method Summary
 BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
          Retrieves the Database object.
 java.lang.Integer getId_unsafe()
          Retrieves the Id value, without locking, for this SupplierProduct Persistent.
 java.lang.Integer getId()
          Retrieves the Id value, with locking, for this SupplierProduct Persistent.
 org.melati.poem.Field getIdField()
          Retrieves the Id value as a Field from this SupplierProduct Persistent.
 java.lang.Integer getProduct_unsafe()
          Retrieves the Product value, without locking, for this SupplierProduct Persistent.
 Product getProduct()
          Retrieves the Product object referred to.
 org.melati.poem.Field getProductField()
          Retrieves the Product value as a Field from this SupplierProduct Persistent.
 java.lang.Integer getProductTroid()
          Retrieves the Table Row Object ID.
 java.lang.Integer getSupplier_unsafe()
          Retrieves the Supplier value, without locking, for this SupplierProduct Persistent.
 Supplier getSupplier()
          Retrieves the Supplier object referred to.
 org.melati.poem.Field getSupplierField()
          Retrieves the Supplier value as a Field from this SupplierProduct Persistent.
 SupplierProductTable getSupplierProductTable()
          Retrieves the SupplierProductTable table which this Persistent is from.
 java.lang.Integer getSupplierTroid()
          Retrieves the Table Row Object ID.
 void setId_unsafe(java.lang.Integer cooked)
          Sets the Id value directly, without checking, for this SupplierProduct Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this SupplierProduct Persistent.
 void setId(java.lang.Integer cooked)
          Sets the Id value, with checking, for this SupplierProduct Persistent.
 void setProduct_unsafe(java.lang.Integer cooked)
          Sets the Product value directly, without checking, for this SupplierProduct Persistent.
 void setProduct(Product cooked)
          Set the Product.
 void setProductTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setSupplier_unsafe(java.lang.Integer cooked)
          Sets the Supplier value directly, without checking, for this SupplierProduct 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


supplier

protected java.lang.Integer supplier
Supplier - A supplier for this product


product

protected java.lang.Integer product
Product - A product for this supplier

Constructor Detail

SupplierProductBase

public SupplierProductBase()
Method Detail

getBibliomaniaDatabaseTables

public BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
Retrieves the Database object.

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

getSupplierProductTable

public SupplierProductTable getSupplierProductTable()
Retrieves the SupplierProductTable table which this Persistent is from.

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

getId_unsafe

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

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

getSupplier_unsafe

public java.lang.Integer getSupplier_unsafe()
Retrieves the Supplier value, without locking, for this SupplierProduct 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 SupplierProduct 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 SupplierProduct 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

getProduct_unsafe

public java.lang.Integer getProduct_unsafe()
Retrieves the Product value, without locking, for this SupplierProduct Persistent.

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

setProduct_unsafe

public void setProduct_unsafe(java.lang.Integer cooked)
Sets the Product value directly, without checking, for this SupplierProduct Persistent.

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

getProductTroid

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

setProductTroid

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

getProduct

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

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

setProduct

public void setProduct(Product cooked)
                throws org.melati.poem.AccessPoemException
Set the Product.

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

getProductField

public org.melati.poem.Field getProductField()
                                      throws org.melati.poem.AccessPoemException
Retrieves the Product value as a Field from this SupplierProduct Persistent.

Returns:
the Integer product
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.