|
||||||||||
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.rimauresq.model.generated.ProductBase
public abstract class ProductBase
Melati POEM generated abstract base class for a Persistent
Product
Object.
Field Summary | |
---|---|
protected java.lang.String |
description
Description - Tasting note |
protected java.lang.Integer |
id
id |
protected java.lang.String |
name
Item - Product name |
protected java.math.BigDecimal |
price
Retail Price inc VAT |
Fields inherited from class org.melati.poem.transaction.Transactioned |
---|
valid |
Constructor Summary | |
---|---|
ProductBase()
|
Method Summary | |
---|---|
java.lang.String |
getDescription_unsafe()
Retrieves the Description value, without locking,
for this Product Persistent . |
java.lang.String |
getDescription()
Retrieves the Description value, with locking, for this Product Persistent . |
org.melati.poem.Field |
getDescriptionField()
Retrieves the Description value as a Field
from this Product Persistent . |
java.lang.Integer |
getId_unsafe()
Retrieves the Id value, without locking,
for this Product Persistent . |
java.lang.Integer |
getId()
Retrieves the Id value, with locking, for this Product Persistent . |
org.melati.poem.Field |
getIdField()
Retrieves the Id value as a Field
from this Product Persistent . |
java.lang.String |
getName_unsafe()
Retrieves the Name value, without locking,
for this Product Persistent . |
java.lang.String |
getName()
Retrieves the Name value, with locking, for this Product Persistent . |
org.melati.poem.Field |
getNameField()
Retrieves the Name value as a Field
from this Product Persistent . |
java.math.BigDecimal |
getPrice_unsafe()
Retrieves the Price value, without locking,
for this Product Persistent . |
java.math.BigDecimal |
getPrice()
Retrieves the Price value, with locking, for this Product Persistent . |
org.melati.poem.Field |
getPriceField()
Retrieves the Price value as a Field
from this Product Persistent . |
ProductTable |
getProductTable()
Retrieves the ProductTable table
which this Persistent is from. |
RimauresqDatabaseTables |
getRimauresqDatabaseTables()
Retrieves the Database object. |
void |
setDescription_unsafe(java.lang.String cooked)
Sets the Description value directly, without checking,
for this Product Persistent . |
void |
setDescription(java.lang.String cooked)
Sets the Description value, with checking, for this
Product Persistent . |
void |
setId_unsafe(java.lang.Integer cooked)
Sets the Id value directly, without checking,
for this Product Persistent . |
void |
setId(int cooked)
Sets the Id value, with checking, for this
Product Persistent . |
void |
setId(java.lang.Integer cooked)
Sets the Id value, with checking, for this
Product Persistent . |
void |
setName_unsafe(java.lang.String cooked)
Sets the Name value directly, without checking,
for this Product Persistent . |
void |
setName(java.lang.String cooked)
Sets the Name value, with checking, for this
Product Persistent . |
void |
setPrice_unsafe(java.math.BigDecimal cooked)
Sets the Price value directly, without checking,
for this Product Persistent . |
void |
setPrice(java.math.BigDecimal cooked)
Sets the Price value, with checking, for this
Product Persistent . |
Methods inherited from class org.melati.poem.JdbcPersistent |
---|
assertCanCreate, assertCanCreate, assertCanDelete, assertCanDelete, assertCanRead, assertCanRead, assertCanWrite, assertCanWrite, clone, commit, countMatchSQL, delete_unsafe, delete, delete, deleteAndCommit, deleteAndCommit, deleteLock, displayString, displayString, displayString, dump, dump, duplicated, duplicatedFloating, equals, existenceLock, existenceLock, fieldsOfColumns, fromClause, getCanDelete, getCanRead, getCanSelect, getCanWrite, getChildren, getCooked, getCookedString, getDatabase, getDetailDisplayFields, getField, getFields, getPrimaryDisplayField, getRaw, getRawString, getReadable, getRecordDisplayFields, getSearchCriterionFields, getSummaryDisplayFields, getTable, getTroid, hashCode, invalidate, isDirty, load, makePersistent, postEdit, postInsert, postModify, postWrite, preEdit, readLock, readLock, readLock, rollback, setCooked, setDirty, setRaw, setRawString, statusExistent, statusNonexistent, toString, troid, upToDate, writeDown, writeLock, writeLock, writeLock |
Methods inherited from class org.melati.poem.transaction.Transactioned |
---|
markValid, reset, setTransactionPool, transactionPool, unSee |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.Integer id
protected java.lang.String name
protected java.lang.String description
protected java.math.BigDecimal price
Constructor Detail |
---|
public ProductBase()
Method Detail |
---|
public RimauresqDatabaseTables getRimauresqDatabaseTables()
public ProductTable getProductTable()
ProductTable
table
which this Persistent
is from.
public java.lang.Integer getId_unsafe()
Id
value, without locking,
for this Product
Persistent
.
public void setId_unsafe(java.lang.Integer cooked)
Id
value directly, without checking,
for this Product Persistent
.
cooked
- the pre-validated value to setpublic java.lang.Integer getId() throws org.melati.poem.AccessPoemException
Product
Persistent
.
Id
for this
Product
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
Product
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
Product
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 Product
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.String getName_unsafe()
Name
value, without locking,
for this Product
Persistent
.
public void setName_unsafe(java.lang.String cooked)
Name
value directly, without checking,
for this Product Persistent
.
cooked
- the pre-validated value to setpublic java.lang.String getName() throws org.melati.poem.AccessPoemException
Product
Persistent
.
Field description:
Product name
getName
in interface org.melati.poem.Treeable
getName
in class org.melati.poem.JdbcPersistent
Name
for this
Product
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setName(java.lang.String cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Name
value, with checking, for this
Product
Persistent
.
Field description:
Product name
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 getNameField() throws org.melati.poem.AccessPoemException
Name
value as a Field
from this Product
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.String getDescription_unsafe()
Description
value, without locking,
for this Product
Persistent
.
public void setDescription_unsafe(java.lang.String cooked)
Description
value directly, without checking,
for this Product Persistent
.
cooked
- the pre-validated value to setpublic java.lang.String getDescription() throws org.melati.poem.AccessPoemException
Product
Persistent
.
Field description:
Tasting note
Description
for this
Product
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setDescription(java.lang.String cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Description
value, with checking, for this
Product
Persistent
.
Field description:
Tasting note
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 getDescriptionField() throws org.melati.poem.AccessPoemException
Description
value as a Field
from this Product
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.math.BigDecimal getPrice_unsafe()
Price
value, without locking,
for this Product
Persistent
.
public void setPrice_unsafe(java.math.BigDecimal cooked)
Price
value directly, without checking,
for this Product Persistent
.
cooked
- the pre-validated value to setpublic java.math.BigDecimal getPrice() throws org.melati.poem.AccessPoemException
Product
Persistent
.
Price
for this
Product
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setPrice(java.math.BigDecimal cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Price
value, with checking, for this
Product
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 getPriceField() throws org.melati.poem.AccessPoemException
Price
value as a Field
from this Product
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 |