org.paneris.bibliomania.generated
Class ProductBase

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

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

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

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

Field Summary
protected  java.lang.Integer book
          book - The book to be sold
protected  java.lang.Boolean deleted
          Deleted?
protected  java.lang.String description
          Description - Additional blurb about the product
protected  java.lang.Integer download
          download - The download object for this product (if any)
protected  java.lang.Integer format
          format - The type of the product
protected  java.lang.Integer id
          id
protected  java.lang.String ISBN
          ISBN - The ISBN number of this product (if any)
protected  java.lang.Double listprice
          List Price - The normal selling price of the product, not including delivery
protected  java.lang.String name
          Product Name - A name for this product if different to the Book title
protected  java.lang.String picture
          Picture - A jacket cover image or similar
protected  java.lang.Double price
          Retail Price - Price payable by the customer, including discounts, excluding delivery
protected  java.lang.Integer publisher
          publisher - The publisher for this product
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
ProductBase()
           
 
Method Summary
 BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
          Retrieves the Database object.
 java.lang.Integer getBook_unsafe()
          Retrieves the Book value, without locking, for this Product Persistent.
 Book getBook()
          Retrieves the Book object referred to.
 org.melati.poem.Field getBookField()
          Retrieves the Book value as a Field from this Product Persistent.
 java.lang.Integer getBookTroid()
          Retrieves the Table Row Object ID.
 java.lang.Boolean getDeleted_unsafe()
          Retrieves the Deleted value, without locking, for this Product Persistent.
 java.lang.Boolean getDeleted()
          Retrieves the Deleted value, with locking, for this Product Persistent.
 org.melati.poem.Field getDeletedField()
          Retrieves the Deleted value as a Field from this Product Persistent.
 java.lang.String getDescription_unsafe()
          Retrieves the Description value, without locking, for this Product Persistent.
 java.lang.String getDescription()
          Retrieves the Description value, with locking, for this Product Persistent.
 org.melati.poem.Field getDescriptionField()
          Retrieves the Description value as a Field from this Product Persistent.
 java.lang.Integer getDownload_unsafe()
          Retrieves the Download value, without locking, for this Product Persistent.
 Download getDownload()
          Retrieves the Download object referred to.
 org.melati.poem.Field getDownloadField()
          Retrieves the Download value as a Field from this Product Persistent.
 java.lang.Integer getDownloadTroid()
          Retrieves the Table Row Object ID.
 java.lang.Integer getFormat_unsafe()
          Retrieves the Format value, without locking, for this Product Persistent.
 BookFormat getFormat()
          Retrieves the Format object referred to.
 org.melati.poem.Field getFormatField()
          Retrieves the Format value as a Field from this Product Persistent.
 java.lang.Integer getFormatTroid()
          Retrieves the Table Row Object ID.
 java.lang.Integer getId_unsafe()
          Retrieves the Id value, without locking, for this Product Persistent.
 java.lang.Integer getId()
          Retrieves the Id value, with locking, for this Product Persistent.
 org.melati.poem.Field getIdField()
          Retrieves the Id value as a Field from this Product Persistent.
 java.lang.String getISBN_unsafe()
          Retrieves the ISBN value, without locking, for this Product Persistent.
 java.lang.String getISBN()
          Retrieves the ISBN value, with locking, for this Product Persistent.
 org.melati.poem.Field getISBNField()
          Retrieves the ISBN value as a Field from this Product Persistent.
 java.lang.Double getListprice_unsafe()
          Retrieves the Listprice value, without locking, for this Product Persistent.
 java.lang.Double getListprice()
          Retrieves the Listprice value, with locking, for this Product Persistent.
 org.melati.poem.Field getListpriceField()
          Retrieves the Listprice value as a Field from this Product Persistent.
 java.lang.String getName_unsafe()
          Retrieves the Name value, without locking, for this Product Persistent.
 java.lang.String getName()
          Retrieves the Name value, with locking, for this Product Persistent.
 org.melati.poem.Field getNameField()
          Retrieves the Name value as a Field from this Product Persistent.
 java.lang.String getPicture_unsafe()
          Retrieves the Picture value, without locking, for this Product Persistent.
 java.lang.String getPicture()
          Retrieves the Picture value, with locking, for this Product Persistent.
 org.melati.poem.Field getPictureField()
          Retrieves the Picture value as a Field from this Product Persistent.
 java.lang.Double getPrice_unsafe()
          Retrieves the Price value, without locking, for this Product Persistent.
 java.lang.Double getPrice()
          Retrieves the Price value, with locking, for this Product Persistent.
 org.melati.poem.Field getPriceField()
          Retrieves the Price value as a Field from this Product Persistent.
 ProductTable getProductTable()
          Retrieves the ProductTable table which this Persistent is from.
 java.lang.Integer getPublisher_unsafe()
          Retrieves the Publisher value, without locking, for this Product Persistent.
 Publisher getPublisher()
          Retrieves the Publisher object referred to.
 org.melati.poem.Field getPublisherField()
          Retrieves the Publisher value as a Field from this Product Persistent.
 java.lang.Integer getPublisherTroid()
          Retrieves the Table Row Object ID.
 void setBook_unsafe(java.lang.Integer cooked)
          Sets the Book value directly, without checking, for this Product Persistent.
 void setBook(Book cooked)
          Set the Book.
 void setBookTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setDeleted_unsafe(java.lang.Boolean cooked)
          Sets the Deleted value directly, without checking, for this Product Persistent.
 void setDeleted(boolean cooked)
          Sets the Deleted value, with checking, from a boolean, for this Product Persistent.
 void setDeleted(java.lang.Boolean cooked)
          Sets the Deleted value, with checking, for this Product Persistent.
 void setDescription_unsafe(java.lang.String cooked)
          Sets the Description value directly, without checking, for this Product Persistent.
 void setDescription(java.lang.String cooked)
          Sets the Description value, with checking, for this Product Persistent.
 void setDownload_unsafe(java.lang.Integer cooked)
          Sets the Download value directly, without checking, for this Product Persistent.
 void setDownload(Download cooked)
          Set the Download.
 void setDownloadTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setFormat_unsafe(java.lang.Integer cooked)
          Sets the Format value directly, without checking, for this Product Persistent.
 void setFormat(BookFormat cooked)
          Set the Format.
 void setFormatTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setId_unsafe(java.lang.Integer cooked)
          Sets the Id value directly, without checking, for this Product Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this Product Persistent.
 void setId(java.lang.Integer cooked)
          Sets the Id value, with checking, for this Product Persistent.
 void setISBN_unsafe(java.lang.String cooked)
          Sets the ISBN value directly, without checking, for this Product Persistent.
 void setISBN(java.lang.String cooked)
          Sets the ISBN value, with checking, for this Product Persistent.
 void setListprice_unsafe(java.lang.Double cooked)
          Sets the Listprice value directly, without checking, for this Product Persistent.
 void setListprice(double cooked)
          Sets the Listprice value, with checking, for this Product Persistent.
 void setListprice(java.lang.Double cooked)
          Sets the Listprice value, with checking, for this Product Persistent.
 void setName_unsafe(java.lang.String cooked)
          Sets the Name value directly, without checking, for this Product Persistent.
 void setName(java.lang.String cooked)
          Sets the Name value, with checking, for this Product Persistent.
 void setPicture_unsafe(java.lang.String cooked)
          Sets the Picture value directly, without checking, for this Product Persistent.
 void setPicture(java.lang.String cooked)
          Sets the Picture value, with checking, for this Product Persistent.
 void setPrice_unsafe(java.lang.Double cooked)
          Sets the Price value directly, without checking, for this Product Persistent.
 void setPrice(double cooked)
          Sets the Price value, with checking, for this Product Persistent.
 void setPrice(java.lang.Double cooked)
          Sets the Price value, with checking, for this Product Persistent.
 void setPublisher_unsafe(java.lang.Integer cooked)
          Sets the Publisher value directly, without checking, for this Product Persistent.
 void setPublisher(Publisher cooked)
          Set the Publisher.
 void setPublisherTroid(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, 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


book

protected java.lang.Integer book
book - The book to be sold


publisher

protected java.lang.Integer publisher
publisher - The publisher for this product


download

protected java.lang.Integer download
download - The download object for this product (if any)


name

protected java.lang.String name
Product Name - A name for this product if different to the Book title


description

protected java.lang.String description
Description - Additional blurb about the product


price

protected java.lang.Double price
Retail Price - Price payable by the customer, including discounts, excluding delivery


listprice

protected java.lang.Double listprice
List Price - The normal selling price of the product, not including delivery


ISBN

protected java.lang.String ISBN
ISBN - The ISBN number of this product (if any)


picture

protected java.lang.String picture
Picture - A jacket cover image or similar


deleted

protected java.lang.Boolean deleted
Deleted?


format

protected java.lang.Integer format
format - The type of the product

Constructor Detail

ProductBase

public ProductBase()
Method Detail

getBibliomaniaDatabaseTables

public BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
Retrieves the Database object.

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

getProductTable

public ProductTable getProductTable()
Retrieves the ProductTable table which this Persistent is from.

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

getId_unsafe

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

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

getBook_unsafe

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

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

setBook_unsafe

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

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

getBookTroid

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

setBookTroid

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

getBook

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

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

setBook

public void setBook(Book cooked)
             throws org.melati.poem.AccessPoemException
Set the Book.

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

getBookField

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

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

getPublisher_unsafe

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

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

setPublisher_unsafe

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

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

getPublisherTroid

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

setPublisherTroid

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

getPublisher

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

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

setPublisher

public void setPublisher(Publisher cooked)
                  throws org.melati.poem.AccessPoemException
Set the Publisher.

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

getPublisherField

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

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

getDownload_unsafe

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

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

setDownload_unsafe

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

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

getDownloadTroid

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

setDownloadTroid

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

getDownload

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

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

setDownload

public void setDownload(Download cooked)
                 throws org.melati.poem.AccessPoemException
Set the Download.

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

getDownloadField

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

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

getName_unsafe

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

Returns:
the String name
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setName_unsafe

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

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

getName

public java.lang.String getName()
                         throws org.melati.poem.AccessPoemException
Retrieves the Name value, with locking, for this Product Persistent. Field description: A name for this product if different to the Book title

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 Product Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

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 Product Persistent. Field description: A name for this product if different to the Book title

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

getNameField

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

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

getDescription_unsafe

public java.lang.String getDescription_unsafe()
Retrieves the Description value, without locking, for this Product Persistent.

Returns:
the String description
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setDescription_unsafe

public void setDescription_unsafe(java.lang.String cooked)
Sets the Description value directly, without checking, for this Product Persistent.

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

getDescription

public java.lang.String getDescription()
                                throws org.melati.poem.AccessPoemException
Retrieves the Description value, with locking, for this Product Persistent. Field description: Additional blurb about the product

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

setDescription

public void setDescription(java.lang.String cooked)
                    throws org.melati.poem.AccessPoemException,
                           org.melati.poem.ValidationPoemException
Sets the Description value, with checking, for this Product Persistent. Field description: Additional blurb about the product

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

getDescriptionField

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

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

getPrice_unsafe

public java.lang.Double getPrice_unsafe()
Retrieves the Price value, without locking, for this Product Persistent.

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

setPrice_unsafe

public void setPrice_unsafe(java.lang.Double cooked)
Sets the Price value directly, without checking, for this Product Persistent.

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

getPrice

public java.lang.Double getPrice()
                          throws org.melati.poem.AccessPoemException
Retrieves the Price value, with locking, for this Product Persistent. Field description: Price payable by the customer, including discounts, excluding delivery

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

setPrice

public void setPrice(java.lang.Double cooked)
              throws org.melati.poem.AccessPoemException,
                     org.melati.poem.ValidationPoemException
Sets the Price value, with checking, for this Product Persistent. Field description: Price payable by the customer, including discounts, excluding delivery

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

setPrice

public final void setPrice(double cooked)
                    throws org.melati.poem.AccessPoemException,
                           org.melati.poem.ValidationPoemException
Sets the Price value, with checking, for this Product Persistent. Field description: Price payable by the customer, including discounts, excluding delivery

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

getPriceField

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

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

getListprice_unsafe

public java.lang.Double getListprice_unsafe()
Retrieves the Listprice value, without locking, for this Product Persistent.

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

setListprice_unsafe

public void setListprice_unsafe(java.lang.Double cooked)
Sets the Listprice value directly, without checking, for this Product Persistent.

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

getListprice

public java.lang.Double getListprice()
                              throws org.melati.poem.AccessPoemException
Retrieves the Listprice value, with locking, for this Product Persistent. Field description: The normal selling price of the product, not including delivery

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

setListprice

public void setListprice(java.lang.Double cooked)
                  throws org.melati.poem.AccessPoemException,
                         org.melati.poem.ValidationPoemException
Sets the Listprice value, with checking, for this Product Persistent. Field description: The normal selling price of the product, not including delivery

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

setListprice

public final void setListprice(double cooked)
                        throws org.melati.poem.AccessPoemException,
                               org.melati.poem.ValidationPoemException
Sets the Listprice value, with checking, for this Product Persistent. Field description: The normal selling price of the product, not including delivery

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

getListpriceField

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

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

getISBN_unsafe

public java.lang.String getISBN_unsafe()
Retrieves the ISBN value, without locking, for this Product Persistent.

Returns:
the String ISBN
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setISBN_unsafe

public void setISBN_unsafe(java.lang.String cooked)
Sets the ISBN value directly, without checking, for this Product Persistent.

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

getISBN

public java.lang.String getISBN()
                         throws org.melati.poem.AccessPoemException
Retrieves the ISBN value, with locking, for this Product Persistent. Field description: The ISBN number of this product (if any)

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

setISBN

public void setISBN(java.lang.String cooked)
             throws org.melati.poem.AccessPoemException,
                    org.melati.poem.ValidationPoemException
Sets the ISBN value, with checking, for this Product Persistent. Field description: The ISBN number of this product (if any)

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

getISBNField

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

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

getPicture_unsafe

public java.lang.String getPicture_unsafe()
Retrieves the Picture value, without locking, for this Product Persistent.

Returns:
the String picture
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setPicture_unsafe

public void setPicture_unsafe(java.lang.String cooked)
Sets the Picture value directly, without checking, for this Product Persistent.

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

getPicture

public java.lang.String getPicture()
                            throws org.melati.poem.AccessPoemException
Retrieves the Picture value, with locking, for this Product Persistent. Field description: A jacket cover image or similar

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

setPicture

public void setPicture(java.lang.String cooked)
                throws org.melati.poem.AccessPoemException,
                       org.melati.poem.ValidationPoemException
Sets the Picture value, with checking, for this Product Persistent. Field description: A jacket cover image or similar

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

getPictureField

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

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

getDeleted_unsafe

public java.lang.Boolean getDeleted_unsafe()
Retrieves the Deleted value, without locking, for this Product Persistent.

Returns:
the Boolean deleted
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setDeleted_unsafe

public void setDeleted_unsafe(java.lang.Boolean cooked)
Sets the Deleted value directly, without checking, for this Product Persistent.

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

getDeleted

public java.lang.Boolean getDeleted()
                             throws org.melati.poem.AccessPoemException
Retrieves the Deleted value, with locking, for this Product Persistent.

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

setDeleted

public void setDeleted(java.lang.Boolean cooked)
                throws org.melati.poem.AccessPoemException,
                       org.melati.poem.ValidationPoemException
Sets the Deleted value, with checking, for this Product 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

setDeleted

public final void setDeleted(boolean cooked)
                      throws org.melati.poem.AccessPoemException,
                             org.melati.poem.ValidationPoemException
Sets the Deleted value, with checking, from a boolean, for this Product Persistent.

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
Generator
org.melati.poem.prepro.BooleanFieldDef#generateBaseMethods

getDeletedField

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

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

getFormat_unsafe

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

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

setFormat_unsafe

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

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

getFormatTroid

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

setFormatTroid

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

getFormat

public BookFormat getFormat()
                     throws org.melati.poem.AccessPoemException,
                            org.melati.poem.NoSuchRowPoemException
Retrieves the Format object referred to.

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

setFormat

public void setFormat(BookFormat cooked)
               throws org.melati.poem.AccessPoemException
Set the Format.

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

getFormatField

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

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