org.mycore.access.mcrimpl
Class MCRGroupClause

java.lang.Object
  extended by org.mycore.access.mcrimpl.MCRGroupClause
All Implemented Interfaces:
MCRCondition

 class MCRGroupClause
extends Object
implements MCRCondition

Implementation of a (group xy) clause

Author:
Matthias Kramm, Mathias Fricke

Constructor Summary
MCRGroupClause(String group, boolean not)
           
 
Method Summary
 void accept(MCRConditionVisitor visitor)
           
 boolean evaluate(Object o)
           
 Element info()
           
 String toString()
           
 Element toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MCRGroupClause

MCRGroupClause(String group,
               boolean not)
Method Detail

evaluate

public boolean evaluate(Object o)
Specified by:
evaluate in interface MCRCondition

toString

public String toString()
Specified by:
toString in interface MCRCondition
Overrides:
toString in class Object

toXML

public Element toXML()
Specified by:
toXML in interface MCRCondition

info

public Element info()
Specified by:
info in interface MCRCondition

accept

public void accept(MCRConditionVisitor visitor)
Specified by:
accept in interface MCRCondition