gov.sns.xal.smf.impl.qualify
Class NotTypeQualifier

java.lang.Object
  |
  +--gov.sns.xal.smf.impl.qualify.NotTypeQualifier
All Implemented Interfaces:
TypeQualifier

public class NotTypeQualifier
extends java.lang.Object
implements TypeQualifier

NotTypeQualifier tests whether its root qualifier does not match the accelerator node. The NotTypeQualifier is constructed by specifying a root qualifier and its matching criteria yields the opposite result of its root qualifier.


Constructor Summary
NotTypeQualifier(java.lang.String kind)
          Creates new NotTypeQualifier off of a node type
NotTypeQualifier(TypeQualifier qualifier)
          Creates new NotTypeQualifier off of an existing qualifier
 
Method Summary
 boolean match(AcceleratorNode node)
          Determine if the specified node is a match based on this qualifier's criteria
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotTypeQualifier

public NotTypeQualifier(java.lang.String kind)
Creates new NotTypeQualifier off of a node type

Parameters:
kind - The node type used to define the root qualifier

NotTypeQualifier

public NotTypeQualifier(TypeQualifier qualifier)
Creates new NotTypeQualifier off of an existing qualifier

Parameters:
qualifier - The root qualifier
Method Detail

match

public boolean match(AcceleratorNode node)
Determine if the specified node is a match based on this qualifier's criteria

Specified by:
match in interface TypeQualifier
Parameters:
node - The node to test
Returns:
true if the node is a match and false if not