Interface MCRFactCondition<F extends MCRFact<?>>

Type Parameters:
F - the fact to be generated
All Superinterfaces:
MCRCondition, MCRFactComputable<F>
All Known Implementing Classes:
MCRAbstractFactCondition, MCRCategoryCondition, MCRCreatedByCondition, MCRIPCondition, MCRMODSCollectionCondition, MCRMODSEmbargoCondition, MCRMODSGenreCondition, MCRPIHasRegisteredCondition, MCRRegExCondition, MCRRoleCondition, MCRStateCondition, MCRStringCondition, MCRUserCondition

public interface MCRFactCondition<F extends MCRFact<?>> extends MCRCondition, MCRFactComputable<F>
This interface describes a rule (from rules.xml) which can evaluate existing facts or create new facts if applicable. By extending MCRFactComputable the rule knows how to create its facts from the given object or environment. New rules need to be registered in mycore.properties as follows: MCR.Access.Facts.Condition.{type}={class} e.g. MCR.Access.Facts.Condition.ip=org.mycore.access.facts.condition.fact.MCRIPCondition
Author:
Robert Stephan