|
|||||||||
| Home >> All >> com >> globalretailtech >> [ data overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.globalretailtech.data
Class TransItem

java.lang.Objectcom.globalretailtech.data.DBRecord
com.globalretailtech.data.TransItem
- public class TransItem
- extends DBRecord
Contains a transaction item.
| Field Summary | |
private double |
amount
|
private static int[] |
col_types
|
private static java.lang.String[] |
columns
|
static int |
DELETE
|
private double |
extamount
|
private java.lang.String |
itemdesc
|
static int |
PAID
|
static int |
PRICE_OVERRIDE
|
private int |
quantity
|
private int |
reasoncode
|
private int |
seqno
|
private java.lang.String |
sku
|
private java.lang.String |
skulink
|
private int |
state
|
static int |
SUSPEND
|
private static java.lang.String |
table
|
private boolean |
taxexempt
|
private boolean |
taxincl
|
private int |
transid
|
private boolean |
varamount
|
static int |
VOID
|
private double |
weight
|
| Fields inherited from class com.globalretailtech.data.DBRecord |
BOOLEAN, BYTE, DATA, DATE, DOUBLE, INT, STRING |
| Constructor Summary | |
TransItem()
|
|
| Method Summary | |
double |
amount()
|
java.util.Vector |
columnObjects()
Temporary base class implementations for xml import/export. |
DBRecord |
copy()
Copies the record, used to create a new record during population. |
double |
extAmount()
|
static java.lang.String |
getByID(int id)
|
java.lang.String |
itemDesc()
|
void |
populate(java.sql.ResultSet rset)
Called by fetch method in DBContext to move entity data from the result set to the record |
int |
quantity()
|
int |
reasonCode()
|
void |
relations()
Called by fetch method in DBContext to service any entity relationships (child records). |
boolean |
save()
Entity save. |
boolean |
save(DBContext db)
|
int |
seqNo()
|
void |
setAmount(double value)
|
void |
setExtAmount(double value)
|
void |
setItemDesc(java.lang.String value)
|
void |
setQuantity(int value)
|
void |
setReasonCode(int value)
|
void |
setSeqNo(int value)
|
void |
setSku(java.lang.String value)
|
void |
setSkuLink(java.lang.String value)
|
void |
setState(int value)
|
void |
setTaxExempt(boolean value)
|
void |
setTaxIncluded(boolean value)
|
void |
setTransID(int value)
|
void |
setVarAmount(boolean value)
|
void |
setWeight(double value)
|
java.lang.String |
sku()
|
java.lang.String |
skuLink()
|
int |
state()
|
boolean |
taxExempt()
|
boolean |
taxIncluded()
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
java.lang.String |
toXML()
Abstract implementation of toXML () |
int |
transID()
|
boolean |
update()
Entity update. |
boolean |
varAmount()
|
double |
weight()
|
| Methods inherited from class com.globalretailtech.data.DBRecord |
getUpdateString, toXML |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
SUSPEND
public static int SUSPEND
DELETE
public static int DELETE
VOID
public static int VOID
PAID
public static int PAID
PRICE_OVERRIDE
public static int PRICE_OVERRIDE
table
private static java.lang.String table
columns
private static java.lang.String[] columns
col_types
private static int[] col_types
transid
private int transid
seqno
private int seqno
sku
private java.lang.String sku
skulink
private java.lang.String skulink
quantity
private int quantity
amount
private double amount
extamount
private double extamount
weight
private double weight
itemdesc
private java.lang.String itemdesc
state
private int state
reasoncode
private int reasoncode
taxexempt
private boolean taxexempt
taxincl
private boolean taxincl
varamount
private boolean varamount
| Constructor Detail |
TransItem
public TransItem()
| Method Detail |
transID
public int transID()
seqNo
public int seqNo()
sku
public java.lang.String sku()
skuLink
public java.lang.String skuLink()
quantity
public int quantity()
amount
public double amount()
extAmount
public double extAmount()
weight
public double weight()
itemDesc
public java.lang.String itemDesc()
state
public int state()
reasonCode
public int reasonCode()
taxExempt
public boolean taxExempt()
taxIncluded
public boolean taxIncluded()
varAmount
public boolean varAmount()
setTransID
public void setTransID(int value)
setSeqNo
public void setSeqNo(int value)
setSku
public void setSku(java.lang.String value)
setSkuLink
public void setSkuLink(java.lang.String value)
setQuantity
public void setQuantity(int value)
setAmount
public void setAmount(double value)
setExtAmount
public void setExtAmount(double value)
setWeight
public void setWeight(double value)
setItemDesc
public void setItemDesc(java.lang.String value)
setState
public void setState(int value)
setReasonCode
public void setReasonCode(int value)
setTaxExempt
public void setTaxExempt(boolean value)
setTaxIncluded
public void setTaxIncluded(boolean value)
setVarAmount
public void setVarAmount(boolean value)
getByID
public static java.lang.String getByID(int id)
copy
public DBRecord copy()
- Description copied from class:
DBRecord - Copies the record, used to create a new record
during population.
populate
public void populate(java.sql.ResultSet rset)
- Description copied from class:
DBRecord - Called by fetch method in DBContext to move entity
data from the result set to the record
save
public boolean save()
save
public boolean save(DBContext db)
update
public boolean update()
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
relations
public void relations()
- Description copied from class:
DBRecord - Called by fetch method in DBContext to service
any entity relationships (child records).
toXML
public java.lang.String toXML()
columnObjects
public java.util.Vector columnObjects()
- Description copied from class:
DBRecord - Temporary base class implementations for
xml import/export. Some of these will
eventually become abstract.
- Overrides:
columnObjectsin classDBRecord
|
|||||||||
| Home >> All >> com >> globalretailtech >> [ data overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC