|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ter.API.EngineSearch.Criterion
Title: Criterion
Description: This interface allow to make some new criterion to complete the search engine.
Copyright: Copyright (c) 2003
Company: UNICE
Constructor Summary | |
Criterion()
|
Method Summary | |
void |
addNonCompatibilityCriterion(Criterion c)
Deprecated. you can use it, but it will have no effect because the manager is not implemented yet in the search. |
int |
getLogicalLink()
|
java.lang.String |
getName()
|
java.util.ArrayList |
getNonCompatibilityCriterion()
Deprecated. It was to use with a manager of non compatible criterion, but it is not implemented. |
java.util.ArrayList |
isAdditionnalGraphicsComponent()
|
int |
isCriterionUseable()
|
abstract boolean |
isCriterionValid(java.lang.reflect.Member m)
To implemented for each Criterion |
void |
setLogicalLink(int ll)
Change the logical link of the criterion This is very usefull in the EngineSearch. |
void |
setUseCriterion(int on_off)
set the status of the criterion ( YES, NOT, DONTMIND) |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Criterion()
Method Detail |
public java.lang.String getName()
public void setUseCriterion(int on_off) throws SearchEngineException
on_off
- the status of the criterion.
SearchEngineException
EngineSearchConst
public int isCriterionUseable()
public int getLogicalLink()
public void setLogicalLink(int ll) throws SearchEngineException
ll
- the new link type ( AND, OR)
SearchEngineException
EngineSearchConst
,
EngineSearch
public void addNonCompatibilityCriterion(Criterion c)
c
- the uncompatible criterionpublic java.util.ArrayList getNonCompatibilityCriterion()
public abstract boolean isCriterionValid(java.lang.reflect.Member m) throws SearchEngineException
m
- the member that we want to check the validity.
SearchEngineException
public java.util.ArrayList isAdditionnalGraphicsComponent()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |