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

org.colimas.mapper.ComponentEntityQuery Class Reference

Inheritance diagram for org.colimas.mapper.ComponentEntityQuery:

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

Public Member Functions

 ComponentEntityQuery ()
 ComponentEntityQuery (String serialno)
 ComponentEntityQuery (String serialno, int pagesize)
List execute ()
String getQueryString ()
void setQueryString (String code)
void setSerialno (String serialno)
String getCondition ()
void setCondition (String condition)
String getCondition (ComponentQueryEntity conditon)
int getPageSize ()

Detailed Description

ComponentEntityQuery

Function:
Process Query of Component basic info table in DB

Author:
zhao lei
Version:
1.2 Modification History:
 SEQ DATE        DEVELOPER      DESCRIPTION
 --- ----------  -------------- -----------------------------
 001 2005/12/03  Zhao Lei       INIT
 002 2005/12/10  Zhao Lei       change the method
 003 2006/01/03  zhao lei       coding
 


Constructor & Destructor Documentation

org.colimas.mapper.ComponentEntityQuery.ComponentEntityQuery  ) 
 

default onstructor

org.colimas.mapper.ComponentEntityQuery.ComponentEntityQuery String  serialno  ) 
 

constructor by given serial no of component

Parameters:
serialno 

org.colimas.mapper.ComponentEntityQuery.ComponentEntityQuery String  serialno,
int  pagesize
 

constructor by given page size

Parameters:
pagesize 


Member Function Documentation

List org.colimas.mapper.ComponentEntityQuery.execute  ) 
 

Execute query and return the result

Returns:
list of query result
See also:
org.colimas.db.mapper.I_Query.execute()

Implements org.colimas.db.mapper.I_Query.

String org.colimas.mapper.ComponentEntityQuery.getCondition ComponentQueryEntity  conditon  ) 
 

get searching condition from ComponentQueryEntity

Parameters:
conditon 

String org.colimas.mapper.ComponentEntityQuery.getCondition  ) 
 

get condition for query

Returns:
condition

int org.colimas.mapper.ComponentEntityQuery.getPageSize  ) 
 

See also:
org.colimas.db.mapper.I_Query.getPageSize();

Implements org.colimas.db.mapper.I_Query.

String org.colimas.mapper.ComponentEntityQuery.getQueryString  ) 
 

get default SELECT string

Returns:
SELECT sql
See also:
org.colimas.db.mapper.I_Query.getQueryString()

Implements org.colimas.db.mapper.I_Query.

void org.colimas.mapper.ComponentEntityQuery.setCondition String  condition  ) 
 

set condition string

Parameters:
condition 

void org.colimas.mapper.ComponentEntityQuery.setQueryString String  code  ) 
 

get SELECT string by given a code

Parameters:
code 
Returns:
SELECT sql
See also:
org.colimas.db.mapper.I_Query.getQueryString()

void org.colimas.mapper.ComponentEntityQuery.setSerialno String  serialno  ) 
 

set serialno of component for query

Parameters:
serialno 


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