Class RuleInfo
java.lang.Object
tech.oxfordsemantic.jrdfox.client.RuleInfo
public class RuleInfo
extends java.lang.Object
Encapsulates information about a rule in the data store.
- 
Constructor Summary
- 
Method SummaryModifier and Type Method Description booleanequals(java.lang.Object that)RulegetRule()Returns the rule in question.booleanhasAggregation()Returns true if the rule contains aggregation in the body.inthashCode()booleanhasNegation()Returns true if the rule contains negation in the body.booleanisAddedByAxioms()Returns true if the rule has been added implicitly as a result of adding OWL axioms.booleanisAddedByUser()Returns true if the rule has been explicitly added by the user.booleanisAddedInternally()Returns true if the rule has been added internally by RDFox — that is, whether it has been added implicitly, rather than explicitly by the user.
- 
Constructor Details
- 
Method Details- 
getRuleReturns the rule in question.- Returns:
- the rule in question
 
- 
hasNegationpublic boolean hasNegation()Returns true if the rule contains negation in the body.- Returns:
- true if the rule contains negation in the body
 
- 
hasAggregationpublic boolean hasAggregation()Returns true if the rule contains aggregation in the body.- Returns:
- true if the rule contains aggregation in the body
 
- 
isAddedInternallypublic boolean isAddedInternally()Returns true if the rule has been added internally by RDFox — that is, whether it has been added implicitly, rather than explicitly by the user.- Returns:
- true if the rule has been added internally by RDFox
 
- 
isAddedByUserpublic boolean isAddedByUser()Returns true if the rule has been explicitly added by the user.- Returns:
- true if the rule has been explicitly added by the user
 
- 
isAddedByAxiomspublic boolean isAddedByAxioms()Returns true if the rule has been added implicitly as a result of adding OWL axioms.- Returns:
- true if the rule has been added as a result of adding OWL axioms
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- java.lang.Object
 
- 
equalspublic boolean equals(java.lang.Object that)- Overrides:
- equalsin class- java.lang.Object
 
 
-