Class MCRAbstractCondition
java.lang.Object
org.mycore.access.facts.condition.MCRAbstractCondition
- All Implemented Interfaces:
MCRCondition
- Direct Known Subclasses:
MCRAbstractCombinedCondition
,MCRAbstractFactCondition
This is the base implementation for a condition.
It is the super class for MCRCombinedCondition and MCRFactCondition.
- Author:
- Robert Stephan
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis is primary for rules.xml debugging purposesgetType()
the type of the ruleboolean
isDebug()
abstract boolean
matches
(MCRFactsHolder facts) void
implementors of this method should call super.parse(xml) to bind the XML element to the conditionvoid
setDebug
(boolean b)
-
Constructor Details
-
MCRAbstractCondition
public MCRAbstractCondition()
-
-
Method Details
-
parse
implementors of this method should call super.parse(xml) to bind the XML element to the condition- Specified by:
parse
in interfaceMCRCondition
-
getBoundElement
Description copied from interface:MCRCondition
This is primary for rules.xml debugging purposes- Specified by:
getBoundElement
in interfaceMCRCondition
- Returns:
- the part of the xml which this Condition represents
-
getType
Description copied from interface:MCRCondition
the type of the rule- Specified by:
getType
in interfaceMCRCondition
- Returns:
-
isDebug
public boolean isDebug()- Specified by:
isDebug
in interfaceMCRCondition
-
setDebug
public void setDebug(boolean b) - Specified by:
setDebug
in interfaceMCRCondition
-
matches
- Specified by:
matches
in interfaceMCRCondition
-