Package org.mycore.access.facts.model
Interface MCRFactComputable<F extends MCRFact<?>>
- Type Parameters:
F
- the class of the fact that can be created by this fact computer
- All Superinterfaces:
MCRCondition
- All Known Subinterfaces:
MCRFactCondition<F>
- All Known Implementing Classes:
MCRAbstractFactCondition
,MCRCategoryCondition
,MCRCreatedByCondition
,MCRIPCondition
,MCRMODSCollectionCondition
,MCRMODSEmbargoCondition
,MCRMODSGenreCondition
,MCRPIHasRegisteredCondition
,MCRRegExCondition
,MCRRoleCondition
,MCRStateCondition
,MCRStringCondition
,MCRUserCondition
This interface can be used to implement a class which can generated new
facts based on the current fact list.
Usually the fact list already contains a fact with an MyCoRe ObjectID
which can be used to retrieve more facts from the given object.
- Author:
- Robert Stephan
-
Method Summary
Modifier and TypeMethodDescriptioncomputeFact
(MCRFactsHolder facts) Implementors are responsible to store the facts holder in the fact set if applicableMethods inherited from interface org.mycore.access.facts.model.MCRCondition
getBoundElement, getType, isDebug, matches, parse, setDebug
-
Method Details
-
getFactName
String getFactName() -
computeFact
Implementors are responsible to store the facts holder in the fact set if applicable- Parameters:
facts
- - the facts holder containing already retrieved facts- Returns:
-