ter.API.EngineSearch
Class NameGroupCriterion

java.lang.Object
  |
  +--ter.API.EngineSearch.GroupCriterion
        |
        +--ter.API.EngineSearch.NameGroupCriterion

public class NameGroupCriterion
extends GroupCriterion

Title: NameGroupCriterion

Description: this group has only onr criterion that test the name of the member.

Copyright: Copyright (c) 2003

Company: UNICE

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

Constructor Summary
NameGroupCriterion()
           
 
Method Summary
 void selectLogicalLinkCriterion(Criterion c, int ll)
          Deprecated. the mediator has not been implemented.
 void selectStatesCriterion(Criterion c, int state)
          This the mediator for selecting a criterion.
 void setName(java.lang.String name)
          Set the name to compare with
 void setNameRegExpr(java.lang.String name)
          Set the name to compare with
 
Methods inherited from class ter.API.EngineSearch.GroupCriterion
addCriterion, evaluateCriterion, getCriterion, getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameGroupCriterion

public NameGroupCriterion()
Method Detail

setName

public void setName(java.lang.String name)
Set the name to compare with

Parameters:
name - he name to compare with

setNameRegExpr

public void setNameRegExpr(java.lang.String name)
Set the name to compare with

Parameters:
name - he name to compare with

selectStatesCriterion

public void selectStatesCriterion(Criterion c,
                                  int state)
Deprecated. the mediator has not been implemented.

Description copied from class: GroupCriterion
This the mediator for selecting a criterion. Thank to this method, we are able to apply simple rukes like : "only one criterion can be selected at once at the state YES"

Specified by:
selectStatesCriterion in class GroupCriterion
Parameters:
c - the criterion
state - the state
See Also:
selectStatesCriterion

selectLogicalLinkCriterion

public void selectLogicalLinkCriterion(Criterion c,
                                       int ll)
Deprecated. the mediator has not been implemented.

Specified by:
selectLogicalLinkCriterion in class GroupCriterion
Parameters:
c - the criterion
ll - the state
See Also:
selectStatesCriterion