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

java.lang.Objectcom.globalretailtech.pos.events.PosEvent
com.globalretailtech.pos.events.PosDialogEvent
com.globalretailtech.pos.events.PosNumberDialog
com.globalretailtech.pos.ej.EjLine
com.globalretailtech.pos.ej.EjHeader
- All Implemented Interfaces:
- java.lang.Comparable
- public class EjHeader
- extends EjLine
Holds the base data for a transaction.
| Field Summary | |
private static java.lang.String |
eventname
|
private com.globalretailtech.data.Transaction |
transHeader
|
| Fields inherited from class com.globalretailtech.pos.ej.EjLine |
ACCOUNT, ALT_CURRENCY_TENDER, AMOUNT, BANK, CC_TENDER, CHECK_TENDER, COUPON, DEBIT_TENDER, GIFT_CERT_TENDER, ITEM, ITEM_LINK, NUMBER, numbertype, PROMOTION, SPLIT, TAX, TENDER, TOTAL, TRANS_HEADER |
| Fields inherited from class com.globalretailtech.pos.events.PosNumberDialog |
CLEAR, CURRENCY, DECIMAL, MASK |
| Fields inherited from class com.globalretailtech.pos.events.PosDialogEvent |
|
| Fields inherited from class com.globalretailtech.pos.events.PosEvent |
CUST_HIST, CUST_MAIN, FUNCTION, HOME, ITEM_MODIFIER, NAVIGATE, NEXT, PREV |
| Constructor Summary | |
EjHeader()
Simple constructor just sets line type. |
|
EjHeader(com.globalretailtech.pos.context.PosContext c)
Constructor just sets line type and context. |
|
EjHeader(com.globalretailtech.data.Transaction t)
Constructor sets transaction record |
|
| Method Summary | |
double |
amount()
Amount for this line, always 0 |
double |
change()
Chage for this transaction. |
void |
clear()
Clear key implementation for this class |
java.lang.String |
cust()
Display customer. |
com.globalretailtech.data.DBRecord |
dataRecord()
The data record |
java.lang.String |
desc()
Display description. |
int |
empNo()
Employee number. |
void |
engage(int value)
Does nothing. |
static java.lang.String |
eventName()
Return staic name. |
double |
extAmount()
Extended amount for this line, always 0 |
int |
lineNo()
The line nubmer |
int |
posNo()
POS number. |
java.lang.String |
prompt()
Display prompt. |
int |
quantity()
Quantitiy for this line. |
boolean |
save()
Save the transaction record |
void |
setPosNo(int value)
Set the POS number. |
void |
setTransHeader(com.globalretailtech.data.Transaction value)
Sets the transaction header. |
void |
setTransNo(int value)
Set the transaction number |
double |
taxAmount()
Tax amount for this line, always 0 |
java.lang.String |
toString()
Return staic name. |
com.globalretailtech.data.Transaction |
transHeader()
Database transactin record. |
int |
transID()
Transaction ID. |
int |
transNo()
Transactin Number. |
void |
updateTotals()
No total updates for this record. |
boolean |
validTransition(java.lang.String event)
Validate transistions state. |
| Methods inherited from class com.globalretailtech.pos.ej.EjLine |
compareTo, lineType, numberType, promptText, setLineType, type |
| Methods inherited from class com.globalretailtech.pos.events.PosDialogEvent |
isDialog, nextDialogEvent, popState, pushState, pushUserEvent, state, states |
| Methods inherited from class com.globalretailtech.pos.events.PosEvent |
blocked, checkProfile, context, employeeHasProfile, isValidEvent, setBlocked, setContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
transHeader
private com.globalretailtech.data.Transaction transHeader
eventname
private static java.lang.String eventname
| Constructor Detail |
EjHeader
public EjHeader()
- Simple constructor just sets line type.
EjHeader
public EjHeader(com.globalretailtech.pos.context.PosContext c)
- Constructor just sets line type and context.
EjHeader
public EjHeader(com.globalretailtech.data.Transaction t)
- Constructor sets transaction record
| Method Detail |
transID
public int transID()
- Transaction ID.
transNo
public int transNo()
- Transactin Number.
empNo
public int empNo()
- Employee number.
posNo
public int posNo()
- POS number.
transHeader
public com.globalretailtech.data.Transaction transHeader()
- Database transactin record.
setTransHeader
public void setTransHeader(com.globalretailtech.data.Transaction value)
- Sets the transaction header.
setTransNo
public void setTransNo(int value)
- Set the transaction number
setPosNo
public void setPosNo(int value)
- Set the POS number.
engage
public void engage(int value)
- Does nothing.
validTransition
public boolean validTransition(java.lang.String event)
- Validate transistions state.
clear
public void clear()
- Clear key implementation for this class
toString
public java.lang.String toString()
- Return staic name.
eventName
public static java.lang.String eventName()
- Return staic name.
quantity
public int quantity()
amount
public double amount()
extAmount
public double extAmount()
taxAmount
public double taxAmount()
change
public double change()
save
public boolean save()
prompt
public java.lang.String prompt()
cust
public java.lang.String cust()
desc
public java.lang.String desc()
lineNo
public int lineNo()
dataRecord
public com.globalretailtech.data.DBRecord dataRecord()
- The data record
- Specified by:
dataRecordin classEjLine
updateTotals
public void updateTotals()
- No total updates for this record.
- Specified by:
updateTotalsin classEjLine
|
|||||||||
| Home >> All >> com >> globalretailtech >> pos >> [ ej overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC