Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.globalretailtech.data
Class TransBank  view TransBank download TransBank.java

java.lang.Object
  extended bycom.globalretailtech.data.DBRecord
      extended bycom.globalretailtech.data.TransBank

public class TransBank
extends DBRecord

Transaction bank functions, paid-in, out...


Field Summary
private  double amount
           
private  java.lang.String bankdesc
           
private static int[] col_types
           
private static java.lang.String[] columns
           
private  int depositno
           
private  int drawerno
           
private  java.lang.String localecountry
           
private  java.lang.String localelanguage
           
private  int paytype
           
private  int seqno
           
private  int state
           
private static java.lang.String table
           
private  int transid
           
 
Fields inherited from class com.globalretailtech.data.DBRecord
BOOLEAN, BYTE, DATA, DATE, DOUBLE, INT, STRING
 
Constructor Summary
TransBank()
           
 
Method Summary
 double amount()
           
 java.lang.String bankDesc()
           
 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.
 int depositNo()
           
 int drawerNo()
           
static java.lang.String getByID(int id)
           
 java.lang.String localeCountry()
           
 java.lang.String localeLanguage()
           
 int payType()
           
 void populate(java.sql.ResultSet rset)
          Called by fetch method in DBContext to move entity data from the result set to the record
 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 setBankDesc(java.lang.String value)
           
 void setDepositNo(int value)
           
 void setDrawerNo(int value)
           
 void setLocaleCountry(java.lang.String value)
           
 void setLocaleLanguage(java.lang.String value)
           
 void setPayType(int value)
           
 void setSeqNo(int value)
           
 void setState(int value)
           
 void setTransID(int value)
           
 int state()
           
 java.lang.String toXML()
          Abstract implementation of toXML ()
 int transID()
           
 boolean update()
          Entity update.
 
Methods inherited from class com.globalretailtech.data.DBRecord
getUpdateString, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

paytype

private int paytype

depositno

private int depositno

state

private int state

drawerno

private int drawerno

bankdesc

private java.lang.String bankdesc

localelanguage

private java.lang.String localelanguage

localecountry

private java.lang.String localecountry

amount

private double amount
Constructor Detail

TransBank

public TransBank()
Method Detail

transID

public int transID()

seqNo

public int seqNo()

payType

public int payType()

depositNo

public int depositNo()

state

public int state()

drawerNo

public int drawerNo()

bankDesc

public java.lang.String bankDesc()

localeLanguage

public java.lang.String localeLanguage()

localeCountry

public java.lang.String localeCountry()

amount

public double amount()

setTransID

public void setTransID(int value)

setSeqNo

public void setSeqNo(int value)

setPayType

public void setPayType(int value)

setDepositNo

public void setDepositNo(int value)

setState

public void setState(int value)

setDrawerNo

public void setDrawerNo(int value)

setBankDesc

public void setBankDesc(java.lang.String value)

setLocaleLanguage

public void setLocaleLanguage(java.lang.String value)

setLocaleCountry

public void setLocaleCountry(java.lang.String value)

setAmount

public void setAmount(double 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.

Specified by:
copy in class DBRecord

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

Specified by:
populate in class DBRecord

save

public boolean save()
Description copied from class: DBRecord
Entity save.

Specified by:
save in class DBRecord

save

public boolean save(DBContext db)

update

public boolean update()
Description copied from class: DBRecord
Entity update.

Specified by:
update in class DBRecord

relations

public void relations()
Description copied from class: DBRecord
Called by fetch method in DBContext to service any entity relationships (child records).

Specified by:
relations in class DBRecord

toXML

public java.lang.String toXML()
Abstract implementation of toXML ()

Specified by:
toXML in class DBRecord

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:
columnObjects in class DBRecord