org.paneris.jammyjoes.model.generated
Class StockTransactionBase

java.lang.Object
  extended by org.melati.poem.transaction.Transactioned
      extended by org.melati.poem.JdbcPersistent
          extended by org.paneris.jammyjoes.model.generated.StockTransactionBase
All Implemented Interfaces:
java.lang.Cloneable, org.melati.poem.Persistable, org.melati.poem.Persistent, org.melati.poem.Treeable
Direct Known Subclasses:
StockTransaction

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

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


Field Summary
protected  java.lang.String comment
          comment - Comment
protected  java.lang.Double costprice
          Cost Price - Leave blank for purchases and stock ajustments
protected  java.sql.Date date
          Date - Leave blank for today's date
protected  java.lang.Integer id
          id
protected  java.lang.Integer product
          product
protected  java.lang.Integer quantity
          Quantity
protected  java.lang.Double retailpriceincvat
          Retail Price inc VAT (if VAT is payable) - Leave blank for purchases and stock ajustments
protected  java.lang.Integer type
          type
protected  java.lang.Boolean vatexempt
          Exempt from VAT? - Leave blank for purchases and stock ajustments
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
StockTransactionBase()
           
 
Method Summary
 java.lang.String getComment_unsafe()
          Retrieves the Comment value, without locking, for this StockTransaction Persistent.
 java.lang.String getComment()
          Retrieves the Comment value, with locking, for this StockTransaction Persistent.
 org.melati.poem.Field getCommentField()
          Retrieves the Comment value as a Field from this StockTransaction Persistent.
 java.lang.Double getCostprice_unsafe()
          Retrieves the Costprice value, without locking, for this StockTransaction Persistent.
 java.lang.Double getCostprice()
          Retrieves the Costprice value, with locking, for this StockTransaction Persistent.
 org.melati.poem.Field getCostpriceField()
          Retrieves the Costprice value as a Field from this StockTransaction Persistent.
 java.sql.Date getDate_unsafe()
          Retrieves the Date value, without locking, for this StockTransaction Persistent.
 java.sql.Date getDate()
          Retrieves the Date value, with locking, for this StockTransaction Persistent.
 org.melati.poem.Field getDateField()
          Retrieves the Date value as a Field from this StockTransaction Persistent.
 java.lang.Integer getId_unsafe()
          Retrieves the Id value, without locking, for this StockTransaction Persistent.
 java.lang.Integer getId()
          Retrieves the Id value, with locking, for this StockTransaction Persistent.
 org.melati.poem.Field getIdField()
          Retrieves the Id value as a Field from this StockTransaction Persistent.
 JammyjoesDatabaseTables getJammyjoesDatabaseTables()
          Retrieves the Database object.
 java.lang.Integer getProduct_unsafe()
          Retrieves the Product value, without locking, for this StockTransaction Persistent.
 Product getProduct()
          Retrieves the Product object referred to.
 org.melati.poem.Field getProductField()
          Retrieves the Product value as a Field from this StockTransaction Persistent.
 java.lang.Integer getProductTroid()
          Retrieves the Table Row Object ID.
 java.lang.Integer getQuantity_unsafe()
          Retrieves the Quantity value, without locking, for this StockTransaction Persistent.
 java.lang.Integer getQuantity()
          Retrieves the Quantity value, with locking, for this StockTransaction Persistent.
 org.melati.poem.Field getQuantityField()
          Retrieves the Quantity value as a Field from this StockTransaction Persistent.
 java.lang.Double getRetailpriceincvat_unsafe()
          Retrieves the Retailpriceincvat value, without locking, for this StockTransaction Persistent.
 java.lang.Double getRetailpriceincvat()
          Retrieves the Retailpriceincvat value, with locking, for this StockTransaction Persistent.
 org.melati.poem.Field getRetailpriceincvatField()
          Retrieves the Retailpriceincvat value as a Field from this StockTransaction Persistent.
 StockTransactionTable getStockTransactionTable()
          Retrieves the StockTransactionTable table which this Persistent is from.
 java.lang.Integer getType_unsafe()
          Retrieves the Type value, without locking, for this StockTransaction Persistent.
 StockTransactionType getType()
          Retrieves the Type object referred to.
 org.melati.poem.Field getTypeField()
          Retrieves the Type value as a Field from this StockTransaction Persistent.
 java.lang.Integer getTypeTroid()
          Retrieves the Table Row Object ID.
 java.lang.Boolean getVatexempt_unsafe()
          Retrieves the Vatexempt value, without locking, for this StockTransaction Persistent.
 java.lang.Boolean getVatexempt()
          Retrieves the Vatexempt value, with locking, for this StockTransaction Persistent.
 org.melati.poem.Field getVatexemptField()
          Retrieves the Vatexempt value as a Field from this StockTransaction Persistent.
 void setComment_unsafe(java.lang.String cooked)
          Sets the Comment value directly, without checking, for this StockTransaction Persistent.
 void setComment(java.lang.String cooked)
          Sets the Comment value, with checking, for this StockTransaction Persistent.
 void setCostprice_unsafe(java.lang.Double cooked)
          Sets the Costprice value directly, without checking, for this StockTransaction Persistent.
 void setCostprice(double cooked)
          Sets the Costprice value, with checking, for this StockTransaction Persistent.
 void setCostprice(java.lang.Double cooked)
          Sets the Costprice value, with checking, for this StockTransaction Persistent.
 void setDate_unsafe(java.sql.Date cooked)
          Sets the Date value directly, without checking, for this StockTransaction Persistent.
 void setDate(java.sql.Date cooked)
          Sets the Date value, with checking, for this StockTransaction Persistent.
 void setId_unsafe(java.lang.Integer cooked)
          Sets the Id value directly, without checking, for this StockTransaction Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this StockTransaction Persistent.
 void setId(java.lang.Integer cooked)
          Sets the Id value, with checking, for this StockTransaction Persistent.
 void setProduct_unsafe(java.lang.Integer cooked)
          Sets the Product value directly, without checking, for this StockTransaction 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 StockTransaction Persistent.
 void setQuantity(int cooked)
          Sets the Quantity value, with checking, for this StockTransaction Persistent.
 void setQuantity(java.lang.Integer cooked)
          Sets the Quantity value, with checking, for this StockTransaction Persistent.
 void setRetailpriceincvat_unsafe(java.lang.Double cooked)
          Sets the Retailpriceincvat value directly, without checking, for this StockTransaction Persistent.
 void setRetailpriceincvat(double cooked)
          Sets the Retailpriceincvat value, with checking, for this StockTransaction Persistent.
 void setRetailpriceincvat(java.lang.Double cooked)
          Sets the Retailpriceincvat value, with checking, for this StockTransaction Persistent.
 void setType_unsafe(java.lang.Integer cooked)
          Sets the Type value directly, without checking, for this StockTransaction Persistent.
 void setType(StockTransactionType cooked)
          Set the Type.
 void setTypeTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setVatexempt_unsafe(java.lang.Boolean cooked)
          Sets the Vatexempt value directly, without checking, for this StockTransaction Persistent.
 void setVatexempt(boolean cooked)
          Sets the Vatexempt value, with checking, from a boolean, for this StockTransaction Persistent.
 void setVatexempt(java.lang.Boolean cooked)
          Sets the Vatexempt value, with checking, for this StockTransaction 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, 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


type

protected java.lang.Integer type
type


date

protected java.sql.Date date
Date - Leave blank for today's date


product

protected java.lang.Integer product
product


quantity

protected java.lang.Integer quantity
Quantity


costprice

protected java.lang.Double costprice
Cost Price - Leave blank for purchases and stock ajustments


retailpriceincvat

protected java.lang.Double retailpriceincvat
Retail Price inc VAT (if VAT is payable) - Leave blank for purchases and stock ajustments


vatexempt

protected java.lang.Boolean vatexempt
Exempt from VAT? - Leave blank for purchases and stock ajustments


comment

protected java.lang.String comment
comment - Comment

Constructor Detail

StockTransactionBase

public StockTransactionBase()
Method Detail

getJammyjoesDatabaseTables

public JammyjoesDatabaseTables getJammyjoesDatabaseTables()
Retrieves the Database object.

Returns:
the database

getStockTransactionTable

public StockTransactionTable getStockTransactionTable()
Retrieves the StockTransactionTable table which this Persistent is from.

Returns:
the StockTransactionTable

getId_unsafe

public java.lang.Integer getId_unsafe()
Retrieves the Id value, without locking, for this StockTransaction Persistent.

Returns:
the Integer id

setId_unsafe

public void setId_unsafe(java.lang.Integer cooked)
Sets the Id value directly, without checking, for this StockTransaction Persistent.

Parameters:
cooked - the pre-validated value to set

getId

public java.lang.Integer getId()
                        throws org.melati.poem.AccessPoemException
Retrieves the Id value, with locking, for this StockTransaction Persistent.

Returns:
the value of the field Id for this StockTransaction Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

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

setId

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

getIdField

public org.melati.poem.Field getIdField()
                                 throws org.melati.poem.AccessPoemException
Retrieves the Id value as a Field from this StockTransaction Persistent.

Returns:
the Integer id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getType_unsafe

public java.lang.Integer getType_unsafe()
Retrieves the Type value, without locking, for this StockTransaction Persistent.

Returns:
the Integer type

setType_unsafe

public void setType_unsafe(java.lang.Integer cooked)
Sets the Type value directly, without checking, for this StockTransaction Persistent.

Parameters:
cooked - the pre-validated value to set

getTypeTroid

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

setTypeTroid

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

getType

public StockTransactionType getType()
                             throws org.melati.poem.AccessPoemException,
                                    org.melati.poem.NoSuchRowPoemException
Retrieves the Type object referred to.

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

setType

public void setType(StockTransactionType cooked)
             throws org.melati.poem.AccessPoemException
Set the Type.

Parameters:
cooked - a validated StockTransactionType
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getTypeField

public org.melati.poem.Field getTypeField()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Type value as a Field from this StockTransaction Persistent.

Returns:
the Integer type
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getDate_unsafe

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

Returns:
the Date date

setDate_unsafe

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

Parameters:
cooked - the pre-validated value to set

getDate

public java.sql.Date getDate()
                      throws org.melati.poem.AccessPoemException
Retrieves the Date value, with locking, for this StockTransaction Persistent. Field description: Leave blank for today's date

Returns:
the value of the field Date for this StockTransaction Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setDate

public void setDate(java.sql.Date cooked)
             throws org.melati.poem.AccessPoemException,
                    org.melati.poem.ValidationPoemException
Sets the Date value, with checking, for this StockTransaction Persistent. Field description: Leave blank for today's date

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

getDateField

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

Returns:
the Date date
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getProduct_unsafe

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

Returns:
the Integer product

setProduct_unsafe

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

Parameters:
cooked - the pre-validated value to set

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

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

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

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

getProductField

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

Returns:
the Integer product
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getQuantity_unsafe

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

Returns:
the Integer quantity

setQuantity_unsafe

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

Parameters:
cooked - the pre-validated value to set

getQuantity

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

Returns:
the value of the field Quantity for this StockTransaction Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

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

setQuantity

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

getQuantityField

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

Returns:
the Integer quantity
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getCostprice_unsafe

public java.lang.Double getCostprice_unsafe()
Retrieves the Costprice value, without locking, for this StockTransaction Persistent.

Returns:
the Double costprice

setCostprice_unsafe

public void setCostprice_unsafe(java.lang.Double cooked)
Sets the Costprice value directly, without checking, for this StockTransaction Persistent.

Parameters:
cooked - the pre-validated value to set

getCostprice

public java.lang.Double getCostprice()
                              throws org.melati.poem.AccessPoemException
Retrieves the Costprice value, with locking, for this StockTransaction Persistent. Field description: Leave blank for purchases and stock ajustments

Returns:
the value of the field Costprice for this StockTransaction Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setCostprice

public void setCostprice(java.lang.Double cooked)
                  throws org.melati.poem.AccessPoemException,
                         org.melati.poem.ValidationPoemException
Sets the Costprice value, with checking, for this StockTransaction Persistent. Field description: Leave blank for purchases and stock ajustments

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

setCostprice

public final void setCostprice(double cooked)
                        throws org.melati.poem.AccessPoemException,
                               org.melati.poem.ValidationPoemException
Sets the Costprice value, with checking, for this StockTransaction Persistent. Field description: Leave blank for purchases and stock ajustments

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

getCostpriceField

public org.melati.poem.Field getCostpriceField()
                                        throws org.melati.poem.AccessPoemException
Retrieves the Costprice value as a Field from this StockTransaction Persistent.

Returns:
the Double costprice
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getRetailpriceincvat_unsafe

public java.lang.Double getRetailpriceincvat_unsafe()
Retrieves the Retailpriceincvat value, without locking, for this StockTransaction Persistent.

Returns:
the Double retailpriceincvat

setRetailpriceincvat_unsafe

public void setRetailpriceincvat_unsafe(java.lang.Double cooked)
Sets the Retailpriceincvat value directly, without checking, for this StockTransaction Persistent.

Parameters:
cooked - the pre-validated value to set

getRetailpriceincvat

public java.lang.Double getRetailpriceincvat()
                                      throws org.melati.poem.AccessPoemException
Retrieves the Retailpriceincvat value, with locking, for this StockTransaction Persistent. Field description: Leave blank for purchases and stock ajustments

Returns:
the value of the field Retailpriceincvat for this StockTransaction Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setRetailpriceincvat

public void setRetailpriceincvat(java.lang.Double cooked)
                          throws org.melati.poem.AccessPoemException,
                                 org.melati.poem.ValidationPoemException
Sets the Retailpriceincvat value, with checking, for this StockTransaction Persistent. Field description: Leave blank for purchases and stock ajustments

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

setRetailpriceincvat

public final void setRetailpriceincvat(double cooked)
                                throws org.melati.poem.AccessPoemException,
                                       org.melati.poem.ValidationPoemException
Sets the Retailpriceincvat value, with checking, for this StockTransaction Persistent. Field description: Leave blank for purchases and stock ajustments

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

getRetailpriceincvatField

public org.melati.poem.Field getRetailpriceincvatField()
                                                throws org.melati.poem.AccessPoemException
Retrieves the Retailpriceincvat value as a Field from this StockTransaction Persistent.

Returns:
the Double retailpriceincvat
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getVatexempt_unsafe

public java.lang.Boolean getVatexempt_unsafe()
Retrieves the Vatexempt value, without locking, for this StockTransaction Persistent.

Returns:
the Boolean vatexempt

setVatexempt_unsafe

public void setVatexempt_unsafe(java.lang.Boolean cooked)
Sets the Vatexempt value directly, without checking, for this StockTransaction Persistent.

Parameters:
cooked - the pre-validated value to set

getVatexempt

public java.lang.Boolean getVatexempt()
                               throws org.melati.poem.AccessPoemException
Retrieves the Vatexempt value, with locking, for this StockTransaction Persistent. Field description: Leave blank for purchases and stock ajustments

Returns:
the value of the field Vatexempt for this StockTransaction Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setVatexempt

public void setVatexempt(java.lang.Boolean cooked)
                  throws org.melati.poem.AccessPoemException,
                         org.melati.poem.ValidationPoemException
Sets the Vatexempt value, with checking, for this StockTransaction Persistent. Field description: Leave blank for purchases and stock ajustments

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

setVatexempt

public final void setVatexempt(boolean cooked)
                        throws org.melati.poem.AccessPoemException,
                               org.melati.poem.ValidationPoemException
Sets the Vatexempt value, with checking, from a boolean, for this StockTransaction Persistent. Field description: Leave blank for purchases and stock ajustments

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

getVatexemptField

public org.melati.poem.Field getVatexemptField()
                                        throws org.melati.poem.AccessPoemException
Retrieves the Vatexempt value as a Field from this StockTransaction Persistent.

Returns:
the Boolean vatexempt
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getComment_unsafe

public java.lang.String getComment_unsafe()
Retrieves the Comment value, without locking, for this StockTransaction Persistent.

Returns:
the String comment

setComment_unsafe

public void setComment_unsafe(java.lang.String cooked)
Sets the Comment value directly, without checking, for this StockTransaction Persistent.

Parameters:
cooked - the pre-validated value to set

getComment

public java.lang.String getComment()
                            throws org.melati.poem.AccessPoemException
Retrieves the Comment value, with locking, for this StockTransaction Persistent. Field description: Comment

Returns:
the value of the field Comment for this StockTransaction Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setComment

public void setComment(java.lang.String cooked)
                throws org.melati.poem.AccessPoemException,
                       org.melati.poem.ValidationPoemException
Sets the Comment value, with checking, for this StockTransaction Persistent. Field description: Comment

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

getCommentField

public org.melati.poem.Field getCommentField()
                                      throws org.melati.poem.AccessPoemException
Retrieves the Comment value as a Field from this StockTransaction Persistent.

Returns:
the String comment
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights


Copyright © 2001-2008 PanEris. All Rights Reserved.