org.paneris.bibliomania.generated
Class SupplierBase

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

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

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

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

Field Summary
protected  java.lang.String address
          Address - A postal address for the Supplier
protected  java.lang.String contact
          Contact Name - The person who will deal with queries
protected  java.lang.String email
          email - An email address used to submit orders to this Supplier
protected  java.lang.Integer id
          id
protected  java.lang.String location
          location - The Location of this supplier (eg London)
protected  java.lang.String name
          Name - The full name of the Supplier
protected  java.lang.String website
          Website - The website for this supplier, if they have one
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
SupplierBase()
           
 
Method Summary
 java.lang.String getAddress_unsafe()
          Retrieves the Address value, without locking, for this Supplier Persistent.
 java.lang.String getAddress()
          Retrieves the Address value, with locking, for this Supplier Persistent.
 org.melati.poem.Field getAddressField()
          Retrieves the Address value as a Field from this Supplier Persistent.
 BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
          Retrieves the Database object.
 java.lang.String getContact_unsafe()
          Retrieves the Contact value, without locking, for this Supplier Persistent.
 java.lang.String getContact()
          Retrieves the Contact value, with locking, for this Supplier Persistent.
 org.melati.poem.Field getContactField()
          Retrieves the Contact value as a Field from this Supplier Persistent.
 java.lang.String getEmail_unsafe()
          Retrieves the Email value, without locking, for this Supplier Persistent.
 java.lang.String getEmail()
          Retrieves the Email value, with locking, for this Supplier Persistent.
 org.melati.poem.Field getEmailField()
          Retrieves the Email value as a Field from this Supplier Persistent.
 java.lang.Integer getId_unsafe()
          Retrieves the Id value, without locking, for this Supplier Persistent.
 java.lang.Integer getId()
          Retrieves the Id value, with locking, for this Supplier Persistent.
 org.melati.poem.Field getIdField()
          Retrieves the Id value as a Field from this Supplier Persistent.
 java.lang.String getLocation_unsafe()
          Retrieves the Location value, without locking, for this Supplier Persistent.
 java.lang.String getLocation()
          Retrieves the Location value, with locking, for this Supplier Persistent.
 org.melati.poem.Field getLocationField()
          Retrieves the Location value as a Field from this Supplier Persistent.
 java.lang.String getName_unsafe()
          Retrieves the Name value, without locking, for this Supplier Persistent.
 java.lang.String getName()
          Retrieves the Name value, with locking, for this Supplier Persistent.
 org.melati.poem.Field getNameField()
          Retrieves the Name value as a Field from this Supplier Persistent.
 SupplierTable getSupplierTable()
          Retrieves the SupplierTable table which this Persistent is from.
 java.lang.String getWebsite_unsafe()
          Retrieves the Website value, without locking, for this Supplier Persistent.
 java.lang.String getWebsite()
          Retrieves the Website value, with locking, for this Supplier Persistent.
 org.melati.poem.Field getWebsiteField()
          Retrieves the Website value as a Field from this Supplier Persistent.
 void setAddress_unsafe(java.lang.String cooked)
          Sets the Address value directly, without checking, for this Supplier Persistent.
 void setAddress(java.lang.String cooked)
          Sets the Address value, with checking, for this Supplier Persistent.
 void setContact_unsafe(java.lang.String cooked)
          Sets the Contact value directly, without checking, for this Supplier Persistent.
 void setContact(java.lang.String cooked)
          Sets the Contact value, with checking, for this Supplier Persistent.
 void setEmail_unsafe(java.lang.String cooked)
          Sets the Email value directly, without checking, for this Supplier Persistent.
 void setEmail(java.lang.String cooked)
          Sets the Email value, with checking, for this Supplier Persistent.
 void setId_unsafe(java.lang.Integer cooked)
          Sets the Id value directly, without checking, for this Supplier Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this Supplier Persistent.
 void setId(java.lang.Integer cooked)
          Sets the Id value, with checking, for this Supplier Persistent.
 void setLocation_unsafe(java.lang.String cooked)
          Sets the Location value directly, without checking, for this Supplier Persistent.
 void setLocation(java.lang.String cooked)
          Sets the Location value, with checking, for this Supplier Persistent.
 void setName_unsafe(java.lang.String cooked)
          Sets the Name value directly, without checking, for this Supplier Persistent.
 void setName(java.lang.String cooked)
          Sets the Name value, with checking, for this Supplier Persistent.
 void setWebsite_unsafe(java.lang.String cooked)
          Sets the Website value directly, without checking, for this Supplier Persistent.
 void setWebsite(java.lang.String cooked)
          Sets the Website value, with checking, for this Supplier Persistent.
 
Methods inherited from class org.melati.poem.JdbcPersistent
assertCanCreate, assertCanCreate, assertCanDelete, assertCanDelete, assertCanRead, assertCanRead, assertCanWrite, assertCanWrite, clone, commit, countMatchSQL, delete_unsafe, delete, delete, deleteAndCommit, deleteAndCommit, deleteLock, displayString, displayString, displayString, dump, dump, duplicated, duplicatedFloating, equals, existenceLock, existenceLock, fieldsOfColumns, fromClause, getCanDelete, getCanRead, getCanSelect, getCanWrite, getChildren, getCooked, getCookedString, getDatabase, getDetailDisplayFields, getField, getFields, 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


name

protected java.lang.String name
Name - The full name of the Supplier


address

protected java.lang.String address
Address - A postal address for the Supplier


contact

protected java.lang.String contact
Contact Name - The person who will deal with queries


email

protected java.lang.String email
email - An email address used to submit orders to this Supplier


website

protected java.lang.String website
Website - The website for this supplier, if they have one


location

protected java.lang.String location
location - The Location of this supplier (eg London)

Constructor Detail

SupplierBase

public SupplierBase()
Method Detail

getBibliomaniaDatabaseTables

public BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
Retrieves the Database object.

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

getSupplierTable

public SupplierTable getSupplierTable()
Retrieves the SupplierTable table which this Persistent is from.

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

getId_unsafe

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

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

getName_unsafe

public java.lang.String getName_unsafe()
Retrieves the Name value, without locking, for this Supplier 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 Supplier 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 Supplier Persistent. Field description: The full name of the Supplier

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 Supplier 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 Supplier Persistent. Field description: The full name of the Supplier

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 Supplier 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

getAddress_unsafe

public java.lang.String getAddress_unsafe()
Retrieves the Address value, without locking, for this Supplier Persistent.

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

setAddress_unsafe

public void setAddress_unsafe(java.lang.String cooked)
Sets the Address value directly, without checking, for this Supplier Persistent.

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

getAddress

public java.lang.String getAddress()
                            throws org.melati.poem.AccessPoemException
Retrieves the Address value, with locking, for this Supplier Persistent. Field description: A postal address for the Supplier

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

setAddress

public void setAddress(java.lang.String cooked)
                throws org.melati.poem.AccessPoemException,
                       org.melati.poem.ValidationPoemException
Sets the Address value, with checking, for this Supplier Persistent. Field description: A postal address for the Supplier

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

getAddressField

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

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

getContact_unsafe

public java.lang.String getContact_unsafe()
Retrieves the Contact value, without locking, for this Supplier Persistent.

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

setContact_unsafe

public void setContact_unsafe(java.lang.String cooked)
Sets the Contact value directly, without checking, for this Supplier Persistent.

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

getContact

public java.lang.String getContact()
                            throws org.melati.poem.AccessPoemException
Retrieves the Contact value, with locking, for this Supplier Persistent. Field description: The person who will deal with queries

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

setContact

public void setContact(java.lang.String cooked)
                throws org.melati.poem.AccessPoemException,
                       org.melati.poem.ValidationPoemException
Sets the Contact value, with checking, for this Supplier Persistent. Field description: The person who will deal with queries

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

getContactField

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

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

getEmail_unsafe

public java.lang.String getEmail_unsafe()
Retrieves the Email value, without locking, for this Supplier Persistent.

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

setEmail_unsafe

public void setEmail_unsafe(java.lang.String cooked)
Sets the Email value directly, without checking, for this Supplier Persistent.

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

getEmail

public java.lang.String getEmail()
                          throws org.melati.poem.AccessPoemException
Retrieves the Email value, with locking, for this Supplier Persistent. Field description: An email address used to submit orders to this Supplier

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

setEmail

public void setEmail(java.lang.String cooked)
              throws org.melati.poem.AccessPoemException,
                     org.melati.poem.ValidationPoemException
Sets the Email value, with checking, for this Supplier Persistent. Field description: An email address used to submit orders to this Supplier

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

getEmailField

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

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

getWebsite_unsafe

public java.lang.String getWebsite_unsafe()
Retrieves the Website value, without locking, for this Supplier Persistent.

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

setWebsite_unsafe

public void setWebsite_unsafe(java.lang.String cooked)
Sets the Website value directly, without checking, for this Supplier Persistent.

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

getWebsite

public java.lang.String getWebsite()
                            throws org.melati.poem.AccessPoemException
Retrieves the Website value, with locking, for this Supplier Persistent. Field description: The website for this supplier, if they have one

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

setWebsite

public void setWebsite(java.lang.String cooked)
                throws org.melati.poem.AccessPoemException,
                       org.melati.poem.ValidationPoemException
Sets the Website value, with checking, for this Supplier Persistent. Field description: The website for this supplier, if they have one

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

getWebsiteField

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

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

getLocation_unsafe

public java.lang.String getLocation_unsafe()
Retrieves the Location value, without locking, for this Supplier Persistent.

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

setLocation_unsafe

public void setLocation_unsafe(java.lang.String cooked)
Sets the Location value directly, without checking, for this Supplier Persistent.

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

getLocation

public java.lang.String getLocation()
                             throws org.melati.poem.AccessPoemException
Retrieves the Location value, with locking, for this Supplier Persistent. Field description: The Location of this supplier (eg London)

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

setLocation

public void setLocation(java.lang.String cooked)
                 throws org.melati.poem.AccessPoemException,
                        org.melati.poem.ValidationPoemException
Sets the Location value, with checking, for this Supplier Persistent. Field description: The Location of this supplier (eg London)

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

getLocationField

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

Returns:
the String location
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.