|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.transaction.Transactioned org.melati.poem.JdbcPersistent org.paneris.jammyjoes.model.generated.StockTransactionBase
public abstract class StockTransactionBase
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 |
---|
protected java.lang.Integer id
protected java.lang.Integer type
protected java.sql.Date date
protected java.lang.Integer product
protected java.lang.Integer quantity
protected java.lang.Double costprice
protected java.lang.Double retailpriceincvat
protected java.lang.Boolean vatexempt
protected java.lang.String comment
Constructor Detail |
---|
public StockTransactionBase()
Method Detail |
---|
public JammyjoesDatabaseTables getJammyjoesDatabaseTables()
public StockTransactionTable getStockTransactionTable()
StockTransactionTable
table
which this Persistent
is from.
public java.lang.Integer getId_unsafe()
Id
value, without locking,
for this StockTransaction
Persistent
.
public void setId_unsafe(java.lang.Integer cooked)
Id
value directly, without checking,
for this StockTransaction Persistent
.
cooked
- the pre-validated value to setpublic java.lang.Integer getId() throws org.melati.poem.AccessPoemException
StockTransaction
Persistent
.
Id
for this
StockTransaction
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setId(java.lang.Integer cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Id
value, with checking, for this
StockTransaction
Persistent
.
cooked
- a validated int
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException
- if the value is not validpublic final void setId(int cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Id
value, with checking, for this
StockTransaction
Persistent
.
cooked
- a validated int
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException
- if the value is not validpublic org.melati.poem.Field getIdField() throws org.melati.poem.AccessPoemException
Id
value as a Field
from this StockTransaction
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.Integer getType_unsafe()
Type
value, without locking,
for this StockTransaction
Persistent
.
public void setType_unsafe(java.lang.Integer cooked)
Type
value directly, without checking,
for this StockTransaction Persistent
.
cooked
- the pre-validated value to setpublic java.lang.Integer getTypeTroid() throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer read access rightspublic void setTypeTroid(java.lang.Integer raw) throws org.melati.poem.AccessPoemException
raw
- a Table Row Object Id
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic StockTransactionType getType() throws org.melati.poem.AccessPoemException, org.melati.poem.NoSuchRowPoemException
Type
object referred to.
Type
as a StockTransactionType
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 TROIDpublic void setType(StockTransactionType cooked) throws org.melati.poem.AccessPoemException
cooked
- a validated StockTransactionType
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic org.melati.poem.Field getTypeField() throws org.melati.poem.AccessPoemException
Type
value as a Field
from this StockTransaction
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.sql.Date getDate_unsafe()
Date
value, without locking,
for this StockTransaction
Persistent
.
public void setDate_unsafe(java.sql.Date cooked)
Date
value directly, without checking,
for this StockTransaction Persistent
.
cooked
- the pre-validated value to setpublic java.sql.Date getDate() throws org.melati.poem.AccessPoemException
StockTransaction
Persistent
.
Field description:
Leave blank for today's date
Date
for this
StockTransaction
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setDate(java.sql.Date cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Date
value, with checking, for this
StockTransaction
Persistent
.
Field description:
Leave blank for today's date
cooked
- a validated int
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException
- if the value is not validpublic org.melati.poem.Field getDateField() throws org.melati.poem.AccessPoemException
Date
value as a Field
from this StockTransaction
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.Integer getProduct_unsafe()
Product
value, without locking,
for this StockTransaction
Persistent
.
public void setProduct_unsafe(java.lang.Integer cooked)
Product
value directly, without checking,
for this StockTransaction Persistent
.
cooked
- the pre-validated value to setpublic java.lang.Integer getProductTroid() throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer read access rightspublic void setProductTroid(java.lang.Integer raw) throws org.melati.poem.AccessPoemException
raw
- a Table Row Object Id
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic Product getProduct() throws org.melati.poem.AccessPoemException, org.melati.poem.NoSuchRowPoemException
Product
object referred to.
Product
as a Product
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 TROIDpublic void setProduct(Product cooked) throws org.melati.poem.AccessPoemException
cooked
- a validated Product
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic org.melati.poem.Field getProductField() throws org.melati.poem.AccessPoemException
Product
value as a Field
from this StockTransaction
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.Integer getQuantity_unsafe()
Quantity
value, without locking,
for this StockTransaction
Persistent
.
public void setQuantity_unsafe(java.lang.Integer cooked)
Quantity
value directly, without checking,
for this StockTransaction Persistent
.
cooked
- the pre-validated value to setpublic java.lang.Integer getQuantity() throws org.melati.poem.AccessPoemException
StockTransaction
Persistent
.
Quantity
for this
StockTransaction
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setQuantity(java.lang.Integer cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Quantity
value, with checking, for this
StockTransaction
Persistent
.
cooked
- a validated int
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException
- if the value is not validpublic final void setQuantity(int cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Quantity
value, with checking, for this
StockTransaction
Persistent
.
cooked
- a validated int
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException
- if the value is not validpublic org.melati.poem.Field getQuantityField() throws org.melati.poem.AccessPoemException
Quantity
value as a Field
from this StockTransaction
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.Double getCostprice_unsafe()
Costprice
value, without locking,
for this StockTransaction
Persistent
.
public void setCostprice_unsafe(java.lang.Double cooked)
Costprice
value directly, without checking,
for this StockTransaction Persistent
.
cooked
- the pre-validated value to setpublic java.lang.Double getCostprice() throws org.melati.poem.AccessPoemException
StockTransaction
Persistent
.
Field description:
Leave blank for purchases and stock ajustments
Costprice
for this
StockTransaction
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setCostprice(java.lang.Double cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Costprice
value, with checking, for this
StockTransaction
Persistent
.
Field description:
Leave blank for purchases and stock ajustments
cooked
- a validated int
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException
- if the value is not validpublic final void setCostprice(double cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Costprice
value, with checking, for this StockTransaction
Persistent
.
Field description:
Leave blank for purchases and stock ajustments
cooked
- a validated int
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException
- if the value is not validpublic org.melati.poem.Field getCostpriceField() throws org.melati.poem.AccessPoemException
Costprice
value as a Field
from this StockTransaction
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.Double getRetailpriceincvat_unsafe()
Retailpriceincvat
value, without locking,
for this StockTransaction
Persistent
.
public void setRetailpriceincvat_unsafe(java.lang.Double cooked)
Retailpriceincvat
value directly, without checking,
for this StockTransaction Persistent
.
cooked
- the pre-validated value to setpublic java.lang.Double getRetailpriceincvat() throws org.melati.poem.AccessPoemException
StockTransaction
Persistent
.
Field description:
Leave blank for purchases and stock ajustments
Retailpriceincvat
for this
StockTransaction
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setRetailpriceincvat(java.lang.Double cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Retailpriceincvat
value, with checking, for this
StockTransaction
Persistent
.
Field description:
Leave blank for purchases and stock ajustments
cooked
- a validated int
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException
- if the value is not validpublic final void setRetailpriceincvat(double cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Retailpriceincvat
value, with checking, for this StockTransaction
Persistent
.
Field description:
Leave blank for purchases and stock ajustments
cooked
- a validated int
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException
- if the value is not validpublic org.melati.poem.Field getRetailpriceincvatField() throws org.melati.poem.AccessPoemException
Retailpriceincvat
value as a Field
from this StockTransaction
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.Boolean getVatexempt_unsafe()
Vatexempt
value, without locking,
for this StockTransaction
Persistent
.
public void setVatexempt_unsafe(java.lang.Boolean cooked)
Vatexempt
value directly, without checking,
for this StockTransaction Persistent
.
cooked
- the pre-validated value to setpublic java.lang.Boolean getVatexempt() throws org.melati.poem.AccessPoemException
StockTransaction
Persistent
.
Field description:
Leave blank for purchases and stock ajustments
Vatexempt
for this
StockTransaction
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setVatexempt(java.lang.Boolean cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Vatexempt
value, with checking, for this
StockTransaction
Persistent
.
Field description:
Leave blank for purchases and stock ajustments
cooked
- a validated int
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException
- if the value is not validpublic final void setVatexempt(boolean cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Vatexempt
value, with checking,
from a boolean
, for this
StockTransaction
Persistent
.
Field description:
Leave blank for purchases and stock ajustments
cooked
- a boolean
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException
- if the value is not validpublic org.melati.poem.Field getVatexemptField() throws org.melati.poem.AccessPoemException
Vatexempt
value as a Field
from this StockTransaction
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.String getComment_unsafe()
Comment
value, without locking,
for this StockTransaction
Persistent
.
public void setComment_unsafe(java.lang.String cooked)
Comment
value directly, without checking,
for this StockTransaction Persistent
.
cooked
- the pre-validated value to setpublic java.lang.String getComment() throws org.melati.poem.AccessPoemException
StockTransaction
Persistent
.
Field description:
Comment
Comment
for this
StockTransaction
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setComment(java.lang.String cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Comment
value, with checking, for this
StockTransaction
Persistent
.
Field description:
Comment
cooked
- a validated int
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException
- if the value is not validpublic org.melati.poem.Field getCommentField() throws org.melati.poem.AccessPoemException
Comment
value as a Field
from this StockTransaction
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rights
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |