java.lang.Object
com.globalretailtech.data.DBRecord
com.globalretailtech.data.TransException
- public class TransException
- extends DBRecord
Transaction exception record, used to track problems and
correctoins in transactions.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
reasoncode
private int reasoncode
TransException
public TransException()
transID
public int transID()
seqNo
public int seqNo()
reasonCode
public int reasonCode()
setTransID
public void setTransID(int value)
setSeqNo
public void setSeqNo(int value)
setReasonCode
public void setReasonCode(int value)
parents
public java.util.Vector parents()
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