|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.melati.poem.transaction.Transactioned
org.melati.poem.JdbcPersistent
org.paneris.jammyjoes.model.generated.ShopOrderItemBase
public abstract class ShopOrderItemBase
Melati POEM generated abstract base class for a Persistent
ShopOrderItem Object.
| 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.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 |
stocktransaction
Stock Transaction |
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. |
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. |
JammyjoesDatabaseTables |
getJammyjoesDatabaseTables()
Retrieves the Database object. |
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 |
getStocktransaction_unsafe()
Retrieves the Stocktransaction value, without locking,
for this ShopOrderItem Persistent. |
StockTransaction |
getStocktransaction()
Retrieves the Stocktransaction object referred to. |
org.melati.poem.Field |
getStocktransactionField()
Retrieves the Stocktransaction value as a Field
from this ShopOrderItem Persistent. |
java.lang.Integer |
getStocktransactionTroid()
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 |
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 |
setStocktransaction_unsafe(java.lang.Integer cooked)
Sets the Stocktransaction value directly, without checking,
for this ShopOrderItem Persistent. |
void |
setStocktransaction(StockTransaction cooked)
Set the Stocktransaction. |
void |
setStocktransactionTroid(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 |
|---|
protected java.lang.Integer id
protected java.lang.Integer user
protected java.lang.Integer product
protected java.lang.Integer stocktransaction
protected java.lang.Integer quantity
protected java.lang.Integer order
protected java.lang.Double amount
protected java.lang.Double amountUK
| Constructor Detail |
|---|
public ShopOrderItemBase()
| Method Detail |
|---|
public JammyjoesDatabaseTables getJammyjoesDatabaseTables()
public ShopOrderItemTable getShopOrderItemTable()
ShopOrderItemTable table
which this Persistent is from.
public java.lang.Integer getId_unsafe()
Id value, without locking,
for this ShopOrderItem Persistent.
public void setId_unsafe(java.lang.Integer cooked)
Id value directly, without checking,
for this ShopOrderItem Persistent.
cooked - the pre-validated value to set
public java.lang.Integer getId()
throws org.melati.poem.AccessPoemException
ShopOrderItem Persistent.
Id for this
ShopOrderItem Persistent
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public void setId(java.lang.Integer cooked)
throws org.melati.poem.AccessPoemException,
org.melati.poem.ValidationPoemException
Id value, with checking, for this
ShopOrderItem 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 valid
public final void setId(int cooked)
throws org.melati.poem.AccessPoemException,
org.melati.poem.ValidationPoemException
Id value, with checking, for this
ShopOrderItem 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 valid
public org.melati.poem.Field getIdField()
throws org.melati.poem.AccessPoemException
Id value as a Field
from this ShopOrderItem Persistent.
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic java.lang.Integer getUser_unsafe()
User value, without locking,
for this ShopOrderItem Persistent.
public void setUser_unsafe(java.lang.Integer cooked)
User value directly, without checking,
for this ShopOrderItem Persistent.
cooked - the pre-validated value to set
public java.lang.Integer getUserTroid()
throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer read access rights
public void setUserTroid(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 rights
public User getUser()
throws org.melati.poem.AccessPoemException,
org.melati.poem.NoSuchRowPoemException
User object referred to.
User as a User
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
public void setUser(User cooked)
throws org.melati.poem.AccessPoemException
cooked - a validated User
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public org.melati.poem.Field getUserField()
throws org.melati.poem.AccessPoemException
User value as a Field
from this ShopOrderItem 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 ShopOrderItem Persistent.
public void setProduct_unsafe(java.lang.Integer cooked)
Product value directly, without checking,
for this ShopOrderItem Persistent.
cooked - the pre-validated value to set
public java.lang.Integer getProductTroid()
throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer read access rights
public 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 rights
public 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 TROID
public 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 rights
public org.melati.poem.Field getProductField()
throws org.melati.poem.AccessPoemException
Product value as a Field
from this ShopOrderItem Persistent.
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic java.lang.Integer getStocktransaction_unsafe()
Stocktransaction value, without locking,
for this ShopOrderItem Persistent.
public void setStocktransaction_unsafe(java.lang.Integer cooked)
Stocktransaction value directly, without checking,
for this ShopOrderItem Persistent.
cooked - the pre-validated value to set
public java.lang.Integer getStocktransactionTroid()
throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer read access rights
public void setStocktransactionTroid(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 rights
public StockTransaction getStocktransaction()
throws org.melati.poem.AccessPoemException,
org.melati.poem.NoSuchRowPoemException
Stocktransaction object referred to.
Stocktransaction as a StockTransaction
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
public void setStocktransaction(StockTransaction cooked)
throws org.melati.poem.AccessPoemException
cooked - a validated StockTransaction
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public org.melati.poem.Field getStocktransactionField()
throws org.melati.poem.AccessPoemException
Stocktransaction value as a Field
from this ShopOrderItem 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 ShopOrderItem Persistent.
public void setQuantity_unsafe(java.lang.Integer cooked)
Quantity value directly, without checking,
for this ShopOrderItem Persistent.
cooked - the pre-validated value to set
public java.lang.Integer getQuantity()
throws org.melati.poem.AccessPoemException
ShopOrderItem Persistent.
Quantity for this
ShopOrderItem Persistent
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public void setQuantity(java.lang.Integer cooked)
throws org.melati.poem.AccessPoemException,
org.melati.poem.ValidationPoemException
Quantity value, with checking, for this
ShopOrderItem 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 valid
public final void setQuantity(int cooked)
throws org.melati.poem.AccessPoemException,
org.melati.poem.ValidationPoemException
Quantity value, with checking, for this
ShopOrderItem 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 valid
public org.melati.poem.Field getQuantityField()
throws org.melati.poem.AccessPoemException
Quantity value as a Field
from this ShopOrderItem Persistent.
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic java.lang.Integer getOrder_unsafe()
Order value, without locking,
for this ShopOrderItem Persistent.
public void setOrder_unsafe(java.lang.Integer cooked)
Order value directly, without checking,
for this ShopOrderItem Persistent.
cooked - the pre-validated value to set
public java.lang.Integer getOrderTroid()
throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer read access rights
public void setOrderTroid(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 rights
public ShopOrder getOrder()
throws org.melati.poem.AccessPoemException,
org.melati.poem.NoSuchRowPoemException
Order object referred to.
Order as a ShopOrder
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
public void setOrder(ShopOrder cooked)
throws org.melati.poem.AccessPoemException
cooked - a validated ShopOrder
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public org.melati.poem.Field getOrderField()
throws org.melati.poem.AccessPoemException
Order value as a Field
from this ShopOrderItem Persistent.
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic java.lang.Double getAmount_unsafe()
Amount value, without locking,
for this ShopOrderItem Persistent.
public void setAmount_unsafe(java.lang.Double cooked)
Amount value directly, without checking,
for this ShopOrderItem Persistent.
cooked - the pre-validated value to set
public java.lang.Double getAmount()
throws org.melati.poem.AccessPoemException
ShopOrderItem Persistent.
Field description:
The amount of this line (in customer's currency)
Amount for this
ShopOrderItem Persistent
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public void setAmount(java.lang.Double cooked)
throws org.melati.poem.AccessPoemException,
org.melati.poem.ValidationPoemException
Amount value, with checking, for this
ShopOrderItem Persistent.
Field description:
The amount of this line (in customer's currency)
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 valid
public final void setAmount(double cooked)
throws org.melati.poem.AccessPoemException,
org.melati.poem.ValidationPoemException
Amount value, with checking, for this ShopOrderItem Persistent.
Field description:
The amount of this line (in customer's currency)
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 valid
public org.melati.poem.Field getAmountField()
throws org.melati.poem.AccessPoemException
Amount value as a Field
from this ShopOrderItem Persistent.
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic java.lang.Double getAmountUK_unsafe()
AmountUK value, without locking,
for this ShopOrderItem Persistent.
public void setAmountUK_unsafe(java.lang.Double cooked)
AmountUK value directly, without checking,
for this ShopOrderItem Persistent.
cooked - the pre-validated value to set
public java.lang.Double getAmountUK()
throws org.melati.poem.AccessPoemException
ShopOrderItem Persistent.
Field description:
The amount of this line (UK Sterling Equivalent)
AmountUK for this
ShopOrderItem Persistent
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public void setAmountUK(java.lang.Double cooked)
throws org.melati.poem.AccessPoemException,
org.melati.poem.ValidationPoemException
AmountUK value, with checking, for this
ShopOrderItem Persistent.
Field description:
The amount of this line (UK Sterling Equivalent)
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 valid
public final void setAmountUK(double cooked)
throws org.melati.poem.AccessPoemException,
org.melati.poem.ValidationPoemException
AmountUK value, with checking, for this ShopOrderItem Persistent.
Field description:
The amount of this line (UK Sterling Equivalent)
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 valid
public org.melati.poem.Field getAmountUKField()
throws org.melati.poem.AccessPoemException
AmountUK value as a Field
from this ShopOrderItem 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 | |||||||||