Class MCRAbstractCombinedCondition
java.lang.Object
org.mycore.access.facts.condition.MCRAbstractCondition
org.mycore.access.facts.condition.combined.MCRAbstractCombinedCondition
- All Implemented Interfaces:
MCRCombinedCondition
,MCRCondition
- Direct Known Subclasses:
MCRAndCondition
,MCRNotCondition
,MCROrCondition
public abstract class MCRAbstractCombinedCondition
extends MCRAbstractCondition
implements MCRCombinedCondition
This is the base implementation for a combined condition.
It can be used to create conditions for a boolean algebra (and, or, not)
- Author:
- Robert Stephan
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(MCRCondition condition) void
debugInfoForMatchingChildElement
(MCRCondition c, boolean matches) void
implementors of this method should call super.parse(xml) to bind the XML element to the conditionMethods inherited from class org.mycore.access.facts.condition.MCRAbstractCondition
getBoundElement, getType, isDebug, matches, setDebug
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.mycore.access.facts.model.MCRCondition
getBoundElement, getType, isDebug, matches, setDebug
-
Field Details
-
conditions
-
-
Constructor Details
-
MCRAbstractCombinedCondition
public MCRAbstractCombinedCondition()
-
-
Method Details
-
add
- Specified by:
add
in interfaceMCRCombinedCondition
-
parse
Description copied from class:MCRAbstractCondition
implementors of this method should call super.parse(xml) to bind the XML element to the condition- Specified by:
parse
in interfaceMCRCondition
- Overrides:
parse
in classMCRAbstractCondition
-
getChildConditions
- Specified by:
getChildConditions
in interfaceMCRCombinedCondition
- Returns:
- the conditions
-
debugInfoForMatchingChildElement
-