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

org.colimas.entity.UserQueryEntity Class Reference

Inheritance diagram for org.colimas.entity.UserQueryEntity:

org.colimas.entity.I_Entity List of all members.

Public Member Functions

void setUserId (String userid, boolean not)
void setName (String username, boolean not)
void setRole (String role, boolean not)
String getQueryCondition ()
void setQueryCondition (String queryCondition)
void setRelation (int relation, boolean not)

Detailed Description

UserQueryEntity.java

Function:
Save the query condition for searching. The query condition string saves as following: condition 1 | condition 2 | condition 3 | ... each condition saves as following: [NOT] FIELD1='VALUE' [NOT] FIELD2>NUM [NOT] FIELD3<NUM [NOT] FIELD4 LIKE '*VALUE*'

Author:
zhao lei
Version:
1.1
Modification History:
 SEQ DATE       ORDER DEVELOPER      DESCRIPTION
 --- ---------- ----- -------------- -----------------------------
 001 2005/12/04          zhao lei       INIT
 002 2005/12/10          zhao lei       add properties
 


Member Function Documentation

String org.colimas.entity.UserQueryEntity.getQueryCondition  ) 
 

get queryCondition

Returns:
Returns the queryCondition.

void org.colimas.entity.UserQueryEntity.setName String  username,
boolean  not
 

set USER name

Parameters:
user name
NOT 

void org.colimas.entity.UserQueryEntity.setQueryCondition String  queryCondition  ) 
 

set queryCondition

Parameters:
queryCondition The queryCondition to set.

void org.colimas.entity.UserQueryEntity.setRelation int  relation,
boolean  not
 

set relation AND 0 OR 1

Parameters:
relation The relation to set.
NOT 

void org.colimas.entity.UserQueryEntity.setRole String  role,
boolean  not
 

set role name

Parameters:
role name
NOT 

void org.colimas.entity.UserQueryEntity.setUserId String  userid,
boolean  not
 

set USER ID

Parameters:
user id
NOT 


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