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

org.colimas.entity.ComponentQueryEntity Class Reference

Inheritance diagram for org.colimas.entity.ComponentQueryEntity:

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

Public Member Functions

void setAlias (String alias, boolean not)
void setAuthors (String authors, boolean not)
void setComponentName (String componentName, boolean not)
void setDevLang (String devLang, boolean not)
void setDevPlat (String devPlat, boolean not)
void setFunction (String function)
String getFunction ()
void setIsPublic (int isPublic)
void setRelation (int relation, boolean not)
void setSerialNo (String serialNo, boolean not)
void setStatus (int status, boolean not)
void setWithSimilar (int withSimilar)
void setCreatedDate (String createdate, boolean not, String operator)
void setConfirmDate (String confirmdate, boolean not, String operator)
String getQueryCondition ()

Static Public Attributes

static final String FLD_COMPONENTNAME = "NAME"
static final String FLD_ALIAS = "ALIAS"
static final String FLD_AUTHORS = "AUTHORS"
static final String FLD_DEVLANG = "DEVLANG"
static final String FLD_DEVPLAT = "DEVPLAT"
static final String FLD_STATUS = "STATUS"
static final String FLD_CONFIRMDATE = "CONFIRMDATE"
static final String FLD_ISPUBLIC = "ISPUBLIC"
static final String FLD_FUNCDESC = "funcdesc"

Detailed Description

ComponentSearchingEntity.java

Function:
Save the query condition for searching. The query condition string saves as sql: condition 1 <and | or> condition 2 <and | or> condition 3 <and | or> ... 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/03          zhao lei       INIT
 002 2005/12/10          zhao lei       Add properties
 003 2006/01/07          zhao lei       change condition presentation
 


Member Function Documentation

String org.colimas.entity.ComponentQueryEntity.getFunction  ) 
 

get function description

Returns:
function description

String org.colimas.entity.ComponentQueryEntity.getQueryCondition  ) 
 

get query condition condition saves as following: "FIELD1='VALUE' <and |or> NOT FIELD2>NUM <and |or> FIELD3<=NUM"

Returns:
query condition string

void org.colimas.entity.ComponentQueryEntity.setAlias String  alias,
boolean  not
 

set alias

Parameters:
alias The alias to set.
NOT 

void org.colimas.entity.ComponentQueryEntity.setAuthors String  authors,
boolean  not
 

set authors

Parameters:
authors The authors to set.
NOT 

void org.colimas.entity.ComponentQueryEntity.setComponentName String  componentName,
boolean  not
 

set componentName

Parameters:
componentName The componentName to set.
NOT 

void org.colimas.entity.ComponentQueryEntity.setConfirmDate String  confirmdate,
boolean  not,
String  operator
 

query confirm date by given operator</p>

Parameters:
confirmdate 
NOT 
>,=,<,>=,<= 

void org.colimas.entity.ComponentQueryEntity.setCreatedDate String  createdate,
boolean  not,
String  operator
 

query created date by given operator(>,=,<,>=,<=)

Parameters:
createdate 
NOT 
>,=,<,>=,<= 

void org.colimas.entity.ComponentQueryEntity.setDevLang String  devLang,
boolean  not
 

set devLang

Parameters:
devLang The devLang to set.
NOT 

void org.colimas.entity.ComponentQueryEntity.setDevPlat String  devPlat,
boolean  not
 

set devPlat

Parameters:
devPlat The devPlat to set.
NOT 

void org.colimas.entity.ComponentQueryEntity.setFunction String  function  ) 
 

set function

Parameters:
function The function to set.

void org.colimas.entity.ComponentQueryEntity.setIsPublic int  isPublic  ) 
 

set isPublic

Parameters:
isPublic The isPublic to set.

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

set relation AND 0 OR 1

Parameters:
relation The relation to set.
NOT 

void org.colimas.entity.ComponentQueryEntity.setSerialNo String  serialNo,
boolean  not
 

set serialNo

Parameters:
serialNo The serialNo to set.
NOT 

void org.colimas.entity.ComponentQueryEntity.setStatus int  status,
boolean  not
 

set Status

Parameters:
status The status to set.
NOT 

void org.colimas.entity.ComponentQueryEntity.setWithSimilar int  withSimilar  ) 
 

set withSimilar

Parameters:
withSimilar The withSimilar to set.


Member Data Documentation

final String org.colimas.entity.ComponentQueryEntity.FLD_ALIAS = "ALIAS" [static]
 

field of alias name

final String org.colimas.entity.ComponentQueryEntity.FLD_AUTHORS = "AUTHORS" [static]
 

field of authors

final String org.colimas.entity.ComponentQueryEntity.FLD_COMPONENTNAME = "NAME" [static]
 

field of component name

final String org.colimas.entity.ComponentQueryEntity.FLD_CONFIRMDATE = "CONFIRMDATE" [static]
 

field of confirm date

final String org.colimas.entity.ComponentQueryEntity.FLD_DEVLANG = "DEVLANG" [static]
 

field of development langugage

final String org.colimas.entity.ComponentQueryEntity.FLD_DEVPLAT = "DEVPLAT" [static]
 

field of development platform

final String org.colimas.entity.ComponentQueryEntity.FLD_FUNCDESC = "funcdesc" [static]
 

field of function description

final String org.colimas.entity.ComponentQueryEntity.FLD_ISPUBLIC = "ISPUBLIC" [static]
 

field of is public

final String org.colimas.entity.ComponentQueryEntity.FLD_STATUS = "STATUS" [static]
 

field of status


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