org.mycore.access.mcrimpl
Class MCRUserClause

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

 class MCRUserClause
extends Object
implements MCRCondition

Implementation of a (user xy) clause

Author:
Matthias Kramm

Constructor Summary
MCRUserClause(String user, 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

MCRUserClause

MCRUserClause(String user,
              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