ter.API.EngineSearch
Class ProtectedCriterion

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

public class ProtectedCriterion
extends Criterion

Title: ProtectedCriterion

Description: the criterion that test if the member is protected

Copyright: Copyright (c) 2003

Company: UNICE

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

Constructor Summary
ProtectedCriterion()
          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

ProtectedCriterion

public ProtectedCriterion()
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