Main Page | Packages | Class Hierarchy | Class List | Directories | Class Members | Related Pages

org.colimas.mapper.BatchEntityMapper Class Reference

Inheritance diagram for org.colimas.mapper.BatchEntityMapper:

org.colimas.db.mapper.DbMapper org.colimas.db.mapper.SQLQueriesCodes List of all members.

Public Member Functions

List doQuery (I_Query query)
int insert (BatchEntity entity)
int update (BatchEntity entity)
int update (BatchEntity entity, boolean isAutoCommit)
int delete (BatchEntity entity)

Static Public Member Functions

static BatchEntityMapper getInstance ()

Protected Member Functions

I_Entity createEntity (ResultSet rs)

Detailed Description

BatchEntityMapper.java

Function:
Map Batch info to DB batch table.

Author:
zhao lei
Version:
1.0
Modification History:
 SEQ DATE       ORDER DEVELOPER      DESCRIPTION
 --- ---------- ----- -------------- -----------------------------
 001 2005/12/03          zhao lei       INIT
 002 2006/01/04          zhao lei       coding
 


Member Function Documentation

I_Entity org.colimas.mapper.BatchEntityMapper.createEntity ResultSet  rs  )  [protected, virtual]
 

See also:
org.colimas.db.mapper.DbMapper.createEntity(java.sql.ResultSet)

Implements org.colimas.db.mapper.DbMapper.

int org.colimas.mapper.BatchEntityMapper.delete BatchEntity  entity  ) 
 

delete entity

Parameters:
ComponentEntity 
Returns:
updated num

List org.colimas.mapper.BatchEntityMapper.doQuery I_Query  query  )  [virtual]
 

See also:
org.colimas.db.mapper.DbMapper.doQuery(org.colimas.db.mapper.I_Query)

Implements org.colimas.db.mapper.DbMapper.

static BatchEntityMapper org.colimas.mapper.BatchEntityMapper.getInstance  )  [static]
 

get BatchEntityMapper instance

Returns:
the instance of BatchEntityMapper

int org.colimas.mapper.BatchEntityMapper.insert BatchEntity  entity  ) 
 

insert batch entity

Parameters:
BatchEntity 
Returns:
inserted num

int org.colimas.mapper.BatchEntityMapper.update BatchEntity  entity,
boolean  isAutoCommit
 

update Batch entity

Parameters:
entity 
isAutoCommit 
Returns:
updated num

int org.colimas.mapper.BatchEntityMapper.update BatchEntity  entity  ) 
 

update batch entity

Parameters:
BatchEntity 
Returns:
updated num


The documentation for this class was generated from the following file:
Generated on Sat Jan 14 02:04:29 2006 for Colimas by  doxygen 1.4.4