|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mguennewig.pobjects.Record
de.mguennewig.pobjects.PObject
de.mguennewig.pobjects.demo.PClassTransaction
public abstract class PClassTransaction
PObject glue class for Transaction.
This class is generated automatically. Look in data-definition- file for more details.
| Field Summary | |
|---|---|
static Field |
attrBrokerCommission
Contains the definition for brokerCommission. |
static Field |
attrCommission
Contains the definition for commission. |
static Field |
attrCurrency
Contains the definition for currency. |
static Field |
attrExchange
Contains the definition for exchange. |
static IdField |
attrId
Contains the definition for id. |
static Field |
attrOtherExpenses
Contains the definition for otherExpenses. |
static Field |
attrPrice
Contains the definition for price. |
static Field |
attrShares
Contains the definition for shares. |
static Field |
attrStock
Contains the definition for stock. |
static Field |
attrTransactionDate
Contains the definition for transactionDate. |
static NumericType |
atypeBrokerCommission
Contains the type definition for brokerCommission. |
static NumericType |
atypeCommission
Contains the type definition for commission. |
static RefType |
atypeCurrency
Contains the type definition for currency. |
static RefType |
atypeExchange
Contains the type definition for exchange. |
static Int32Type |
atypeId
Contains the type definition for id. |
static NumericType |
atypeOtherExpenses
Contains the type definition for otherExpenses. |
static NumericType |
atypePrice
Contains the type definition for price. |
static Int32Type |
atypeShares
Contains the type definition for shares. |
static RefType |
atypeStock
Contains the type definition for stock. |
static StringType |
atypeTransactionDate
Contains the type definition for transactionDate. |
static ClassDecl |
cdeclTransaction
Contains the metadata used to create this class. |
| Fields inherited from class de.mguennewig.pobjects.PObject |
|---|
CHECK_ALL_FIELDS, CHECK_CHANGED_ONLY, CHECK_NOTHING, STATE_COMMITED, STATE_DELETE, STATE_DIRTY, STATE_INTERNALIZED, STATE_INVALID, STATE_NEW_OBJECT, STATE_REFERENCE, STATE_TRANSIENT |
| Method Summary | |
|---|---|
java.lang.Object |
get(int i)
Returns the value of the column with index i. |
java.math.BigDecimal |
getBrokerCommission()
Returns the value of brokerCommission. |
java.lang.String |
getBrokerCommissionForVisual()
Returns the preferred string representation of brokerCommission. |
ClassDecl |
getClassDecl()
Returns the metadata used to create this class. |
java.math.BigDecimal |
getCommission()
Returns the value of commission. |
java.lang.String |
getCommissionForVisual()
Returns the preferred string representation of commission. |
Currency |
getCurrency()
Returns the value of currency. |
java.lang.String |
getCurrencyForVisual()
Returns the preferred string representation of currency. |
StockExchange |
getExchange()
Returns the value of exchange. |
java.lang.String |
getExchangeForVisual()
Returns the preferred string representation of exchange. |
java.math.BigDecimal |
getOtherExpenses()
Returns the value of otherExpenses. |
java.lang.String |
getOtherExpensesForVisual()
Returns the preferred string representation of otherExpenses. |
java.math.BigDecimal |
getPrice()
Returns the value of price. |
java.lang.String |
getPriceForVisual()
Returns the preferred string representation of price. |
java.lang.Integer |
getShares()
Returns the value of shares. |
java.lang.String |
getSharesForVisual()
Returns the preferred string representation of shares. |
Stock |
getStock()
Returns the value of stock. |
java.lang.String |
getStockForVisual()
Returns the preferred string representation of stock. |
java.lang.String |
getTransactionDate()
Returns the value of transactionDate. |
java.lang.String |
getTransactionDateForVisual()
Returns the preferred string representation of transactionDate. |
void |
set(int i,
java.lang.Object value)
Set value of field with index index. |
void |
setBrokerCommission(java.math.BigDecimal v)
Sets the value for brokerCommission. |
void |
setCommission(java.math.BigDecimal v)
Sets the value for commission. |
void |
setCurrency(Currency v)
Sets the value for currency. |
void |
setExchange(StockExchange v)
Sets the value for exchange. |
void |
setOtherExpenses(java.math.BigDecimal v)
Sets the value for otherExpenses. |
void |
setPrice(java.math.BigDecimal v)
Sets the value for price. |
void |
setShares(java.lang.Integer v)
Sets the value for shares. |
void |
setStock(Stock v)
Sets the value for stock. |
void |
setTransactionDate(java.lang.String v)
Sets the value for transactionDate. |
| Methods inherited from class de.mguennewig.pobjects.PObject |
|---|
checkConstraints, checkConstraints, copyState, delete, getChangedValues, getContainer, getDefaultFieldCheckStyle, getId, getIdForVisual, getKey, getKey, getOldValues, getPObjState, getTableExpr, isInstanceOf, isInternalized, isPersistent, isReference, loadForUpdate, loadIfReference, revert, set, setDefaultFieldCheckStyle, store, store, toString |
| Methods inherited from class de.mguennewig.pobjects.Record |
|---|
format, get |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Int32Type atypeId
id.
public static final IdField attrId
id.
atypeIdpublic static final StringType atypeTransactionDate
transactionDate.
public static final Field attrTransactionDate
transactionDate.
atypeTransactionDatepublic static final RefType atypeExchange
exchange.
public static final Field attrExchange
exchange.
atypeExchangepublic static final RefType atypeStock
stock.
public static final Field attrStock
stock.
atypeStockpublic static final RefType atypeCurrency
currency.
public static final Field attrCurrency
currency.
atypeCurrencypublic static final NumericType atypePrice
price.
public static final Field attrPrice
price.
atypePricepublic static final Int32Type atypeShares
shares.
public static final Field attrShares
shares.
atypeSharespublic static final NumericType atypeCommission
commission.
public static final Field attrCommission
commission.
atypeCommissionpublic static final NumericType atypeBrokerCommission
brokerCommission.
public static final Field attrBrokerCommission
brokerCommission.
atypeBrokerCommissionpublic static final NumericType atypeOtherExpenses
otherExpenses.
public static final Field attrOtherExpenses
otherExpenses.
atypeOtherExpensespublic static final ClassDecl cdeclTransaction
| Method Detail |
|---|
public ClassDecl getClassDecl()
getClassDecl in class PObjectpublic final java.lang.String getTransactionDate()
transactionDate.
This method ensures that all data will be read from the DBMS if not already done.
PObjReadError - if a database error occurs.public java.lang.String getTransactionDateForVisual()
transactionDate.
PObjReadError - if a database error occurs.getTransactionDate()public void setTransactionDate(java.lang.String v)
transactionDate.
This method ensures that all data will be read from the DBMS if not already done, before changing the field.
PObjReadError - if a database error occurs.public final StockExchange getExchange()
exchange.
This method ensures that all data will be read from the DBMS if not already done.
PObjReadError - if a database error occurs.public java.lang.String getExchangeForVisual()
exchange.
PObjReadError - if a database error occurs.getExchange()public void setExchange(StockExchange v)
exchange.
This method ensures that all data will be read from the DBMS if not already done, before changing the field.
PObjReadError - if a database error occurs.public final Stock getStock()
stock.
This method ensures that all data will be read from the DBMS if not already done.
PObjReadError - if a database error occurs.public java.lang.String getStockForVisual()
stock.
PObjReadError - if a database error occurs.getStock()public void setStock(Stock v)
stock.
This method ensures that all data will be read from the DBMS if not already done, before changing the field.
PObjReadError - if a database error occurs.public final Currency getCurrency()
currency.
This method ensures that all data will be read from the DBMS if not already done.
PObjReadError - if a database error occurs.public java.lang.String getCurrencyForVisual()
currency.
PObjReadError - if a database error occurs.getCurrency()public void setCurrency(Currency v)
currency.
This method ensures that all data will be read from the DBMS if not already done, before changing the field.
PObjReadError - if a database error occurs.public final java.math.BigDecimal getPrice()
price.
This method ensures that all data will be read from the DBMS if not already done.
PObjReadError - if a database error occurs.public java.lang.String getPriceForVisual()
price.
PObjReadError - if a database error occurs.getPrice()public void setPrice(java.math.BigDecimal v)
price.
This method ensures that all data will be read from the DBMS if not already done, before changing the field.
PObjReadError - if a database error occurs.public final java.lang.Integer getShares()
shares.
This method ensures that all data will be read from the DBMS if not already done.
PObjReadError - if a database error occurs.public java.lang.String getSharesForVisual()
shares.
PObjReadError - if a database error occurs.getShares()public void setShares(java.lang.Integer v)
shares.
This method ensures that all data will be read from the DBMS if not already done, before changing the field.
PObjReadError - if a database error occurs.public final java.math.BigDecimal getCommission()
commission.
This method ensures that all data will be read from the DBMS if not already done.
PObjReadError - if a database error occurs.public java.lang.String getCommissionForVisual()
commission.
PObjReadError - if a database error occurs.getCommission()public void setCommission(java.math.BigDecimal v)
commission.
This method ensures that all data will be read from the DBMS if not already done, before changing the field.
PObjReadError - if a database error occurs.public final java.math.BigDecimal getBrokerCommission()
brokerCommission.
This method ensures that all data will be read from the DBMS if not already done.
PObjReadError - if a database error occurs.public java.lang.String getBrokerCommissionForVisual()
brokerCommission.
PObjReadError - if a database error occurs.getBrokerCommission()public void setBrokerCommission(java.math.BigDecimal v)
brokerCommission.
This method ensures that all data will be read from the DBMS if not already done, before changing the field.
PObjReadError - if a database error occurs.public final java.math.BigDecimal getOtherExpenses()
otherExpenses.
This method ensures that all data will be read from the DBMS if not already done.
PObjReadError - if a database error occurs.public java.lang.String getOtherExpensesForVisual()
otherExpenses.
PObjReadError - if a database error occurs.getOtherExpenses()public void setOtherExpenses(java.math.BigDecimal v)
otherExpenses.
This method ensures that all data will be read from the DBMS if not already done, before changing the field.
PObjReadError - if a database error occurs.public java.lang.Object get(int i)
i.
get in class Recordjava.lang.IndexOutOfBoundsException - if no column with index i
exists.
public void set(int i,
java.lang.Object value)
Recordindex.
This method is primarily intended for use by procedures that work on
meta level of de.mguennewig.pobjects. It differs from the per
field setXXX() methods in that it does not load the object's
data if it is not in memory. If unsure whether the object's state has been
internalized, then any call to this method must be preceded by a
call to PObject.loadIfReference().
set in class Record
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||