Class DomainRestrictedProperty
java.lang.Object
fr.lirmm.graphik.integraal.rulesetanalyser.property.RuleSetProperty.Default
fr.lirmm.graphik.integraal.rulesetanalyser.property.RuleSetProperty.Local
fr.lirmm.graphik.integraal.rulesetanalyser.property.DomainRestrictedProperty
- All Implemented Interfaces:
RuleSetProperty
All atoms in the head contain either all or none variables from the body.
- Author:
- Clément Sipieter (INRIA) <clement@6pi.fr>, Swan Rocher
-
Nested Class Summary
Nested classes/interfaces inherited from interface RuleSetProperty
RuleSetProperty.Default, RuleSetProperty.Local -
Method Summary
Modifier and TypeMethodDescriptionintEvaluates the property on a single rule.Returns a human-readable description of this property.Returns the full human-readable name of this property.Returns the direct generalisations of this property.getLabel()This method must return a label not used by any other rule property or undefined behaviour is to be expected.static DomainRestrictedPropertyinstance()Returns the singleton instance.Methods inherited from class RuleSetProperty.Local
checkMethods inherited from class RuleSetProperty.Default
getSpecialisations
-
Method Details
-
instance
Returns the singleton instance.- Returns:
- the singleton property instance
-
getFullName
Description copied from interface:RuleSetPropertyReturns the full human-readable name of this property.- Returns:
- the full property name
-
getDescription
Description copied from interface:RuleSetPropertyReturns a human-readable description of this property.- Returns:
- the property description
-
check
Description copied from class:RuleSetProperty.LocalEvaluates the property on a single rule.- Specified by:
checkin classRuleSetProperty.Local- Parameters:
rule- the rule to evaluate- Returns:
- the property result for the rule
-
getLabel
Description copied from interface:RuleSetPropertyThis method must return a label not used by any other rule property or undefined behaviour is to be expected.- Returns:
- the short property label
-
getGeneralisations
Description copied from interface:RuleSetPropertyReturns the direct generalisations of this property.- Specified by:
getGeneralisationsin interfaceRuleSetProperty- Overrides:
getGeneralisationsin classRuleSetProperty.Default- Returns:
- the direct generalisations
-