Class MCRCategoryCondition

  • All Implemented Interfaces:
    org.mycore.parsers.bool.MCRCondition<MCRWorkflowData>

    public class MCRCategoryCondition
    extends java.lang.Object
    implements org.mycore.parsers.bool.MCRCondition<MCRWorkflowData>
    Author:
    Thomas Scheffler (yagee)
    • Constructor Summary

      Constructors 
      Constructor Description
      MCRCategoryCondition​(java.lang.String fieldName, org.mycore.datamodel.classifications2.MCRCategoryID mcrCategoryID, boolean not)  
    • Constructor Detail

      • MCRCategoryCondition

        public MCRCategoryCondition​(java.lang.String fieldName,
                                    org.mycore.datamodel.classifications2.MCRCategoryID mcrCategoryID,
                                    boolean not)
    • Method Detail

      • evaluate

        public boolean evaluate​(MCRWorkflowData workflowData)
        Specified by:
        evaluate in interface org.mycore.parsers.bool.MCRCondition<MCRWorkflowData>
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface org.mycore.parsers.bool.MCRCondition<MCRWorkflowData>
        Overrides:
        toString in class java.lang.Object
      • toXML

        public org.jdom2.Element toXML()
        Specified by:
        toXML in interface org.mycore.parsers.bool.MCRCondition<MCRWorkflowData>