ter.API.EngineSearch
Class FieldCriterion

java.lang.Object
  |
  +--ter.API.EngineSearch.Criterion
        |
        +--ter.API.EngineSearch.FieldCriterion

public class FieldCriterion
extends Criterion

Title: FieldCriterion

Description: the criterion that test if the member is a field

Copyright: Copyright (c) 2003

Company: UNICE

Version:
1.0
Author:
Zerbib Gabriel - Charbit Lucas - Galbois Xavier - Gahide Jérôme

Constructor Summary
FieldCriterion()
          Construct a new instance of this criterion.
 
Method Summary
 boolean isCriterionValid(java.lang.reflect.Member m)
          test if the member matches to this criterion.
 
Methods inherited from class ter.API.EngineSearch.Criterion
addNonCompatibilityCriterion, getLogicalLink, getName, getNonCompatibilityCriterion, isAdditionnalGraphicsComponent, isCriterionUseable, setLogicalLink, setUseCriterion
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldCriterion

public FieldCriterion()
Construct a new instance of this criterion. This overwrite the name of the criterion

Method Detail

isCriterionValid

public boolean isCriterionValid(java.lang.reflect.Member m)
                         throws SearchEngineException
test if the member matches to this criterion.

Specified by:
isCriterionValid in class Criterion
Parameters:
m - the member that we want to check the validity.
Returns:
true if the Criterion is Valid for this Member
Throws:
SearchEngineException