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

org.colimas.mapper.ProjectComponentMapper Class Reference

Inheritance diagram for org.colimas.mapper.ProjectComponentMapper:

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

Public Member Functions

List doQuery (I_Query query)
int insert (ProjectEntity pentity, ComponentEntity centity)
int delete (ProjectEntity pentity, ComponentEntity centity)
int delete (ComponentEntity entity)
int delete (ProjectEntity entity)

Static Public Member Functions

static ProjectComponentMapper getInstance ()

Protected Member Functions

I_Entity createEntity (ResultSet rs)

Detailed Description

ProjectComponentMapper.java

Function:
Map Project<-> Component info to DB TPCM table.

Author:
zhao lei
Version:
1.0
Modification History:
 SEQ DATE       ORDER DEVELOPER      DESCRIPTION
 --- ---------- ----- -------------- -----------------------------
 001 2006/01/09          tyrone        INIT
 


Member Function Documentation

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

Create ComponentEntity

Parameters:
Result of searching
Returns:
ComponentEntity

Implements org.colimas.db.mapper.DbMapper.

int org.colimas.mapper.ProjectComponentMapper.delete ProjectEntity  entity  ) 
 

delete entity

Parameters:
ProjectEntity 
Returns:
updated num

int org.colimas.mapper.ProjectComponentMapper.delete ComponentEntity  entity  ) 
 

delete entity

Parameters:
ComponentEntity 
Returns:
updated num

int org.colimas.mapper.ProjectComponentMapper.delete ProjectEntity  pentity,
ComponentEntity  centity
 

delete entity

Parameters:
ProjectEntity 
ComponentEntity 
Returns:
updated num

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

run select

Parameters:
query object
Returns:
get result list

Implements org.colimas.db.mapper.DbMapper.

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

get Mapper instance(using Singleton Pattern)

Returns:
Mapper Object

int org.colimas.mapper.ProjectComponentMapper.insert ProjectEntity  pentity,
ComponentEntity  centity
 

insert Project<-> Component

Parameters:
ProjectEntity 
ComponentEntity 
Returns:
inserted num


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