org.paneris.bibliomania.generated
Class ShopOrderItemBase

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

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

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

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

Field Summary
protected  java.lang.Double amount
          Amount (in customer's currency) - The amount of this line (in customer's currency)
protected  java.lang.Double amountUK
          Amount (UK Sterling Equivalent) - The amount of this line (UK Sterling Equivalent)
protected  java.sql.Timestamp date
          Date
protected  java.lang.Double delivery
          Delivery (in customer's currency) - The delivery charge for this line (in customer's currency)
protected  java.lang.Double deliveryUK
          Delivery (UK Sterling Equivalent) - The delivery charge for this line (UK Sterling Equivalent)
protected  java.sql.Timestamp fufilleddate
          Fufilled Date - The date that this order was fufilled (leave blank to autocomplete)
protected  java.lang.Integer id
          id
protected  java.lang.Integer order
          Order Number - The order number for this pruchase
protected  java.lang.Integer product
          Product
protected  java.lang.Integer quantity
          Quantity
protected  java.lang.Integer status
          Status - The status of this order item
protected  java.lang.Integer supplier
          Supplier
protected  java.lang.Integer user
          User
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
ShopOrderItemBase()
           
 
Method Summary
 java.lang.Double getAmount_unsafe()
          Retrieves the Amount value, without locking, for this ShopOrderItem Persistent.
 java.lang.Double getAmount()
          Retrieves the Amount value, with locking, for this ShopOrderItem Persistent.
 org.melati.poem.Field getAmountField()
          Retrieves the Amount value as a Field from this ShopOrderItem Persistent.
 java.lang.Double getAmountUK_unsafe()
          Retrieves the AmountUK value, without locking, for this ShopOrderItem Persistent.
 java.lang.Double getAmountUK()
          Retrieves the AmountUK value, with locking, for this ShopOrderItem Persistent.
 org.melati.poem.Field getAmountUKField()
          Retrieves the AmountUK value as a Field from this ShopOrderItem Persistent.
 BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
          Retrieves the Database object.
 java.sql.Timestamp getDate_unsafe()
          Retrieves the Date value, without locking, for this ShopOrderItem Persistent.
 java.sql.Timestamp getDate()
          Retrieves the Date value, with locking, for this ShopOrderItem Persistent.
 org.melati.poem.Field getDateField()
          Retrieves the Date value as a Field from this ShopOrderItem Persistent.
 java.lang.Double getDelivery_unsafe()
          Retrieves the Delivery value, without locking, for this ShopOrderItem Persistent.
 java.lang.Double getDelivery()
          Retrieves the Delivery value, with locking, for this ShopOrderItem Persistent.
 org.melati.poem.Field getDeliveryField()
          Retrieves the Delivery value as a Field from this ShopOrderItem Persistent.
 java.lang.Double getDeliveryUK_unsafe()
          Retrieves the DeliveryUK value, without locking, for this ShopOrderItem Persistent.
 java.lang.Double getDeliveryUK()
          Retrieves the DeliveryUK value, with locking, for this ShopOrderItem Persistent.
 org.melati.poem.Field getDeliveryUKField()
          Retrieves the DeliveryUK value as a Field from this ShopOrderItem Persistent.
 java.sql.Timestamp getFufilleddate_unsafe()
          Retrieves the Fufilleddate value, without locking, for this ShopOrderItem Persistent.
 java.sql.Timestamp getFufilleddate()
          Retrieves the Fufilleddate value, with locking, for this ShopOrderItem Persistent.
 org.melati.poem.Field getFufilleddateField()
          Retrieves the Fufilleddate value as a Field from this ShopOrderItem Persistent.
 java.lang.Integer getId_unsafe()
          Retrieves the Id value, without locking, for this ShopOrderItem Persistent.
 java.lang.Integer getId()
          Retrieves the Id value, with locking, for this ShopOrderItem Persistent.
 org.melati.poem.Field getIdField()
          Retrieves the Id value as a Field from this ShopOrderItem Persistent.
 java.lang.Integer getOrder_unsafe()
          Retrieves the Order value, without locking, for this ShopOrderItem Persistent.
 ShopOrder getOrder()
          Retrieves the Order object referred to.
 org.melati.poem.Field getOrderField()
          Retrieves the Order value as a Field from this ShopOrderItem Persistent.
 java.lang.Integer getOrderTroid()
          Retrieves the Table Row Object ID.
 java.lang.Integer getProduct_unsafe()
          Retrieves the Product value, without locking, for this ShopOrderItem Persistent.
 Product getProduct()
          Retrieves the Product object referred to.
 org.melati.poem.Field getProductField()
          Retrieves the Product value as a Field from this ShopOrderItem Persistent.
 java.lang.Integer getProductTroid()
          Retrieves the Table Row Object ID.
 java.lang.Integer getQuantity_unsafe()
          Retrieves the Quantity value, without locking, for this ShopOrderItem Persistent.
 java.lang.Integer getQuantity()
          Retrieves the Quantity value, with locking, for this ShopOrderItem Persistent.
 org.melati.poem.Field getQuantityField()
          Retrieves the Quantity value as a Field from this ShopOrderItem Persistent.
 ShopOrderItemTable getShopOrderItemTable()
          Retrieves the ShopOrderItemTable table which this Persistent is from.
 java.lang.Integer getStatus_unsafe()
          Retrieves the Status value, without locking, for this ShopOrderItem Persistent.
 OrderStatus getStatus()
          Retrieves the Status object referred to.
 org.melati.poem.Field getStatusField()
          Retrieves the Status value as a Field from this ShopOrderItem Persistent.
 java.lang.Integer getStatusTroid()
          Retrieves the Table Row Object ID.
 java.lang.Integer getSupplier_unsafe()
          Retrieves the Supplier value, without locking, for this ShopOrderItem Persistent.
 Supplier getSupplier()
          Retrieves the Supplier object referred to.
 org.melati.poem.Field getSupplierField()
          Retrieves the Supplier value as a Field from this ShopOrderItem Persistent.
 java.lang.Integer getSupplierTroid()
          Retrieves the Table Row Object ID.
 java.lang.Integer getUser_unsafe()
          Retrieves the User value, without locking, for this ShopOrderItem Persistent.
 User getUser()
          Retrieves the User object referred to.
 org.melati.poem.Field getUserField()
          Retrieves the User value as a Field from this ShopOrderItem Persistent.
 java.lang.Integer getUserTroid()
          Retrieves the Table Row Object ID.
 void setAmount_unsafe(java.lang.Double cooked)
          Sets the Amount value directly, without checking, for this ShopOrderItem Persistent.
 void setAmount(double cooked)
          Sets the Amount value, with checking, for this ShopOrderItem Persistent.
 void setAmount(java.lang.Double cooked)
          Sets the Amount value, with checking, for this ShopOrderItem Persistent.
 void setAmountUK_unsafe(java.lang.Double cooked)
          Sets the AmountUK value directly, without checking, for this ShopOrderItem Persistent.
 void setAmountUK(double cooked)
          Sets the AmountUK value, with checking, for this ShopOrderItem Persistent.
 void setAmountUK(java.lang.Double cooked)
          Sets the AmountUK value, with checking, for this ShopOrderItem Persistent.
 void setDate_unsafe(java.sql.Timestamp cooked)
          Sets the Date value directly, without checking, for this ShopOrderItem Persistent.
 void setDate(java.sql.Timestamp cooked)
          Sets the Date value, with checking, for this ShopOrderItem Persistent.
 void setDelivery_unsafe(java.lang.Double cooked)
          Sets the Delivery value directly, without checking, for this ShopOrderItem Persistent.
 void setDelivery(double cooked)
          Sets the Delivery value, with checking, for this ShopOrderItem Persistent.
 void setDelivery(java.lang.Double cooked)
          Sets the Delivery value, with checking, for this ShopOrderItem Persistent.
 void setDeliveryUK_unsafe(java.lang.Double cooked)
          Sets the DeliveryUK value directly, without checking, for this ShopOrderItem Persistent.
 void setDeliveryUK(double cooked)
          Sets the DeliveryUK value, with checking, for this ShopOrderItem Persistent.
 void setDeliveryUK(java.lang.Double cooked)
          Sets the DeliveryUK value, with checking, for this ShopOrderItem Persistent.
 void setFufilleddate_unsafe(java.sql.Timestamp cooked)
          Sets the Fufilleddate value directly, without checking, for this ShopOrderItem Persistent.
 void setFufilleddate(java.sql.Timestamp cooked)
          Sets the Fufilleddate value, with checking, for this ShopOrderItem Persistent.
 void setId_unsafe(java.lang.Integer cooked)
          Sets the Id value directly, without checking, for this ShopOrderItem Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this ShopOrderItem Persistent.
 void setId(java.lang.Integer cooked)
          Sets the Id value, with checking, for this ShopOrderItem Persistent.
 void setOrder_unsafe(java.lang.Integer cooked)
          Sets the Order value directly, without checking, for this ShopOrderItem Persistent.
 void setOrder(ShopOrder cooked)
          Set the Order.
 void setOrderTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setProduct_unsafe(java.lang.Integer cooked)
          Sets the Product value directly, without checking, for this ShopOrderItem Persistent.
 void setProduct(Product cooked)
          Set the Product.
 void setProductTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setQuantity_unsafe(java.lang.Integer cooked)
          Sets the Quantity value directly, without checking, for this ShopOrderItem Persistent.
 void setQuantity(int cooked)
          Sets the Quantity value, with checking, for this ShopOrderItem Persistent.
 void setQuantity(java.lang.Integer cooked)
          Sets the Quantity value, with checking, for this ShopOrderItem Persistent.
 void setStatus_unsafe(java.lang.Integer cooked)
          Sets the Status value directly, without checking, for this ShopOrderItem Persistent.
 void setStatus(OrderStatus cooked)
          Set the Status.
 void setStatusTroid(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 ShopOrderItem Persistent.
 void setSupplier(Supplier cooked)
          Set the Supplier.
 void setSupplierTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setUser_unsafe(java.lang.Integer cooked)
          Sets the User value directly, without checking, for this ShopOrderItem Persistent.
 void setUser(User cooked)
          Set the User.
 void setUserTroid(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


user

protected java.lang.Integer user
User


product

protected java.lang.Integer product
Product


supplier

protected java.lang.Integer supplier
Supplier


status

protected java.lang.Integer status
Status - The status of this order item


quantity

protected java.lang.Integer quantity
Quantity


date

protected java.sql.Timestamp date
Date


fufilleddate

protected java.sql.Timestamp fufilleddate
Fufilled Date - The date that this order was fufilled (leave blank to autocomplete)


order

protected java.lang.Integer order
Order Number - The order number for this pruchase


amount

protected java.lang.Double amount
Amount (in customer's currency) - The amount of this line (in customer's currency)


delivery

protected java.lang.Double delivery
Delivery (in customer's currency) - The delivery charge for this line (in customer's currency)


amountUK

protected java.lang.Double amountUK
Amount (UK Sterling Equivalent) - The amount of this line (UK Sterling Equivalent)


deliveryUK

protected java.lang.Double deliveryUK
Delivery (UK Sterling Equivalent) - The delivery charge for this line (UK Sterling Equivalent)

Constructor Detail

ShopOrderItemBase

public ShopOrderItemBase()
Method Detail

getBibliomaniaDatabaseTables

public BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
Retrieves the Database object.

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

getShopOrderItemTable

public ShopOrderItemTable getShopOrderItemTable()
Retrieves the ShopOrderItemTable table which this Persistent is from.

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

getId_unsafe

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

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

getUser_unsafe

public java.lang.Integer getUser_unsafe()
Retrieves the User value, without locking, for this ShopOrderItem Persistent.

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

setUser_unsafe

public void setUser_unsafe(java.lang.Integer cooked)
Sets the User value directly, without checking, for this ShopOrderItem Persistent.

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

getUserTroid

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

setUserTroid

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

getUser

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

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

setUser

public void setUser(User cooked)
             throws org.melati.poem.AccessPoemException
Set the User.

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

getUserField

public org.melati.poem.Field getUserField()
                                   throws org.melati.poem.AccessPoemException
Retrieves the User value as a Field from this ShopOrderItem Persistent.

Returns:
the Integer user
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 ShopOrderItem 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 ShopOrderItem 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 ShopOrderItem 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

getSupplier_unsafe

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

getStatus_unsafe

public java.lang.Integer getStatus_unsafe()
Retrieves the Status value, without locking, for this ShopOrderItem Persistent.

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

setStatus_unsafe

public void setStatus_unsafe(java.lang.Integer cooked)
Sets the Status value directly, without checking, for this ShopOrderItem Persistent.

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

getStatusTroid

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

setStatusTroid

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

getStatus

public OrderStatus getStatus()
                      throws org.melati.poem.AccessPoemException,
                             org.melati.poem.NoSuchRowPoemException
Retrieves the Status object referred to.

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

setStatus

public void setStatus(OrderStatus cooked)
               throws org.melati.poem.AccessPoemException
Set the Status.

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

getStatusField

public org.melati.poem.Field getStatusField()
                                     throws org.melati.poem.AccessPoemException
Retrieves the Status value as a Field from this ShopOrderItem Persistent.

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

getQuantity_unsafe

public java.lang.Integer getQuantity_unsafe()
Retrieves the Quantity value, without locking, for this ShopOrderItem Persistent.

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

setQuantity_unsafe

public void setQuantity_unsafe(java.lang.Integer cooked)
Sets the Quantity value directly, without checking, for this ShopOrderItem Persistent.

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

getQuantity

public java.lang.Integer getQuantity()
                              throws org.melati.poem.AccessPoemException
Retrieves the Quantity value, with locking, for this ShopOrderItem Persistent.

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

setQuantity

public void setQuantity(java.lang.Integer cooked)
                 throws org.melati.poem.AccessPoemException,
                        org.melati.poem.ValidationPoemException
Sets the Quantity value, with checking, for this ShopOrderItem 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

setQuantity

public final void setQuantity(int cooked)
                       throws org.melati.poem.AccessPoemException,
                              org.melati.poem.ValidationPoemException
Sets the Quantity value, with checking, for this ShopOrderItem 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

getQuantityField

public org.melati.poem.Field getQuantityField()
                                       throws org.melati.poem.AccessPoemException
Retrieves the Quantity value as a Field from this ShopOrderItem Persistent.

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

getDate_unsafe

public java.sql.Timestamp getDate_unsafe()
Retrieves the Date value, without locking, for this ShopOrderItem Persistent.

Returns:
the Timestamp date
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setDate_unsafe

public void setDate_unsafe(java.sql.Timestamp cooked)
Sets the Date value directly, without checking, for this ShopOrderItem Persistent.

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

getDate

public java.sql.Timestamp getDate()
                           throws org.melati.poem.AccessPoemException
Retrieves the Date value, with locking, for this ShopOrderItem Persistent.

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

setDate

public void setDate(java.sql.Timestamp cooked)
             throws org.melati.poem.AccessPoemException,
                    org.melati.poem.ValidationPoemException
Sets the Date value, with checking, for this ShopOrderItem 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

getDateField

public org.melati.poem.Field getDateField()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Date value as a Field from this ShopOrderItem Persistent.

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

getFufilleddate_unsafe

public java.sql.Timestamp getFufilleddate_unsafe()
Retrieves the Fufilleddate value, without locking, for this ShopOrderItem Persistent.

Returns:
the Timestamp fufilleddate
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setFufilleddate_unsafe

public void setFufilleddate_unsafe(java.sql.Timestamp cooked)
Sets the Fufilleddate value directly, without checking, for this ShopOrderItem Persistent.

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

getFufilleddate

public java.sql.Timestamp getFufilleddate()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Fufilleddate value, with locking, for this ShopOrderItem Persistent. Field description: The date that this order was fufilled (leave blank to autocomplete)

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

setFufilleddate

public void setFufilleddate(java.sql.Timestamp cooked)
                     throws org.melati.poem.AccessPoemException,
                            org.melati.poem.ValidationPoemException
Sets the Fufilleddate value, with checking, for this ShopOrderItem Persistent. Field description: The date that this order was fufilled (leave blank to autocomplete)

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

getFufilleddateField

public org.melati.poem.Field getFufilleddateField()
                                           throws org.melati.poem.AccessPoemException
Retrieves the Fufilleddate value as a Field from this ShopOrderItem Persistent.

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

getOrder_unsafe

public java.lang.Integer getOrder_unsafe()
Retrieves the Order value, without locking, for this ShopOrderItem Persistent.

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

setOrder_unsafe

public void setOrder_unsafe(java.lang.Integer cooked)
Sets the Order value directly, without checking, for this ShopOrderItem Persistent.

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

getOrderTroid

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

setOrderTroid

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

getOrder

public ShopOrder getOrder()
                   throws org.melati.poem.AccessPoemException,
                          org.melati.poem.NoSuchRowPoemException
Retrieves the Order object referred to.

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

setOrder

public void setOrder(ShopOrder cooked)
              throws org.melati.poem.AccessPoemException
Set the Order.

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

getOrderField

public org.melati.poem.Field getOrderField()
                                    throws org.melati.poem.AccessPoemException
Retrieves the Order value as a Field from this ShopOrderItem Persistent.

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

getAmount_unsafe

public java.lang.Double getAmount_unsafe()
Retrieves the Amount value, without locking, for this ShopOrderItem Persistent.

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

setAmount_unsafe

public void setAmount_unsafe(java.lang.Double cooked)
Sets the Amount value directly, without checking, for this ShopOrderItem Persistent.

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

getAmount

public java.lang.Double getAmount()
                           throws org.melati.poem.AccessPoemException
Retrieves the Amount value, with locking, for this ShopOrderItem Persistent. Field description: The amount of this line (in customer's currency)

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

setAmount

public void setAmount(java.lang.Double cooked)
               throws org.melati.poem.AccessPoemException,
                      org.melati.poem.ValidationPoemException
Sets the Amount value, with checking, for this ShopOrderItem Persistent. Field description: The amount of this line (in customer's currency)

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

setAmount

public final void setAmount(double cooked)
                     throws org.melati.poem.AccessPoemException,
                            org.melati.poem.ValidationPoemException
Sets the Amount value, with checking, for this ShopOrderItem Persistent. Field description: The amount of this line (in customer's currency)

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

getAmountField

public org.melati.poem.Field getAmountField()
                                     throws org.melati.poem.AccessPoemException
Retrieves the Amount value as a Field from this ShopOrderItem Persistent.

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

getDelivery_unsafe

public java.lang.Double getDelivery_unsafe()
Retrieves the Delivery value, without locking, for this ShopOrderItem Persistent.

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

setDelivery_unsafe

public void setDelivery_unsafe(java.lang.Double cooked)
Sets the Delivery value directly, without checking, for this ShopOrderItem Persistent.

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

getDelivery

public java.lang.Double getDelivery()
                             throws org.melati.poem.AccessPoemException
Retrieves the Delivery value, with locking, for this ShopOrderItem Persistent. Field description: The delivery charge for this line (in customer's currency)

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

setDelivery

public void setDelivery(java.lang.Double cooked)
                 throws org.melati.poem.AccessPoemException,
                        org.melati.poem.ValidationPoemException
Sets the Delivery value, with checking, for this ShopOrderItem Persistent. Field description: The delivery charge for this line (in customer's currency)

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

setDelivery

public final void setDelivery(double cooked)
                       throws org.melati.poem.AccessPoemException,
                              org.melati.poem.ValidationPoemException
Sets the Delivery value, with checking, for this ShopOrderItem Persistent. Field description: The delivery charge for this line (in customer's currency)

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

getDeliveryField

public org.melati.poem.Field getDeliveryField()
                                       throws org.melati.poem.AccessPoemException
Retrieves the Delivery value as a Field from this ShopOrderItem Persistent.

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

getAmountUK_unsafe

public java.lang.Double getAmountUK_unsafe()
Retrieves the AmountUK value, without locking, for this ShopOrderItem Persistent.

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

setAmountUK_unsafe

public void setAmountUK_unsafe(java.lang.Double cooked)
Sets the AmountUK value directly, without checking, for this ShopOrderItem Persistent.

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

getAmountUK

public java.lang.Double getAmountUK()
                             throws org.melati.poem.AccessPoemException
Retrieves the AmountUK value, with locking, for this ShopOrderItem Persistent. Field description: The amount of this line (UK Sterling Equivalent)

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

setAmountUK

public void setAmountUK(java.lang.Double cooked)
                 throws org.melati.poem.AccessPoemException,
                        org.melati.poem.ValidationPoemException
Sets the AmountUK value, with checking, for this ShopOrderItem Persistent. Field description: The amount of this line (UK Sterling Equivalent)

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

setAmountUK

public final void setAmountUK(double cooked)
                       throws org.melati.poem.AccessPoemException,
                              org.melati.poem.ValidationPoemException
Sets the AmountUK value, with checking, for this ShopOrderItem Persistent. Field description: The amount of this line (UK Sterling Equivalent)

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

getAmountUKField

public org.melati.poem.Field getAmountUKField()
                                       throws org.melati.poem.AccessPoemException
Retrieves the AmountUK value as a Field from this ShopOrderItem Persistent.

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

getDeliveryUK_unsafe

public java.lang.Double getDeliveryUK_unsafe()
Retrieves the DeliveryUK value, without locking, for this ShopOrderItem Persistent.

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

setDeliveryUK_unsafe

public void setDeliveryUK_unsafe(java.lang.Double cooked)
Sets the DeliveryUK value directly, without checking, for this ShopOrderItem Persistent.

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

getDeliveryUK

public java.lang.Double getDeliveryUK()
                               throws org.melati.poem.AccessPoemException
Retrieves the DeliveryUK value, with locking, for this ShopOrderItem Persistent. Field description: The delivery charge for this line (UK Sterling Equivalent)

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

setDeliveryUK

public void setDeliveryUK(java.lang.Double cooked)
                   throws org.melati.poem.AccessPoemException,
                          org.melati.poem.ValidationPoemException
Sets the DeliveryUK value, with checking, for this ShopOrderItem Persistent. Field description: The delivery charge for this line (UK Sterling Equivalent)

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

setDeliveryUK

public final void setDeliveryUK(double cooked)
                         throws org.melati.poem.AccessPoemException,
                                org.melati.poem.ValidationPoemException
Sets the DeliveryUK value, with checking, for this ShopOrderItem Persistent. Field description: The delivery charge for this line (UK Sterling Equivalent)

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

getDeliveryUKField

public org.melati.poem.Field getDeliveryUKField()
                                         throws org.melati.poem.AccessPoemException
Retrieves the DeliveryUK value as a Field from this ShopOrderItem Persistent.

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