public class SWRLRuleImpl extends OWLLogicalAxiomImplWithEntityAndAnonCaching implements SWRLRule
| Constructor and Description |
|---|
SWRLRuleImpl(Set<? extends SWRLAtom> body,
Set<? extends SWRLAtom> head) |
SWRLRuleImpl(Set<? extends SWRLAtom> body,
Set<? extends SWRLAtom> head,
Collection<? extends OWLAnnotation> annotations) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(OWLAxiomVisitor visitor) |
<O> O |
accept(OWLAxiomVisitorEx<O> visitor) |
void |
accept(OWLObjectVisitor visitor) |
<O> O |
accept(OWLObjectVisitorEx<O> visitor) |
void |
accept(SWRLObjectVisitor visitor) |
<O> O |
accept(SWRLObjectVisitorEx<O> visitor) |
boolean |
containsAnonymousClassExpressions() |
boolean |
equals(Object obj) |
OWLAxiom |
getAnnotatedAxiom(Set<OWLAnnotation> annotations) |
AxiomType<?> |
getAxiomType() |
SWRLRule |
getAxiomWithoutAnnotations() |
Set<SWRLAtom> |
getBody() |
Set<OWLClassExpression> |
getClassAtomPredicates() |
Set<SWRLAtom> |
getHead() |
SWRLRule |
getSimplified() |
Set<SWRLVariable> |
getVariables() |
isAnnotationAxiom, isLogicalAxiomaccept, equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isOfType, isOfTypecompareTo, containsEntityInSignature, getAnnotationPropertiesInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toStringequalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isAnnotationAxiom, isLogicalAxiom, isOfType, isOfTypegetNestedClassExpressions, isBottomEntity, isIndividual, isIRI, isTopEntity, toStringcompareTogetSignaturecontainsEntityInSignaturegetAnonymousIndividualsgetClassesInSignaturegetObjectPropertiesInSignaturegetDataPropertiesInSignaturegetIndividualsInSignaturegetDatatypesInSignaturegetAnnotationPropertiesInSignatureisAnonymous, isNamedpublic SWRLRuleImpl(@Nonnull Set<? extends SWRLAtom> body, @Nonnull Set<? extends SWRLAtom> head, @Nonnull Collection<? extends OWLAnnotation> annotations)
body - rule bodyhead - rule headannotations - annotations on the axiompublic SWRLRule getAxiomWithoutAnnotations()
getAxiomWithoutAnnotations in interface OWLAxiomgetAxiomWithoutAnnotations in interface SWRLRulepublic OWLAxiom getAnnotatedAxiom(@Nonnull Set<OWLAnnotation> annotations)
getAnnotatedAxiom in interface OWLAxiom@Nonnull public Set<SWRLVariable> getVariables()
getVariables in interface SWRLRulepublic boolean containsAnonymousClassExpressions()
containsAnonymousClassExpressions in interface SWRLRulepublic Set<OWLClassExpression> getClassAtomPredicates()
getClassAtomPredicates in interface SWRLRulepublic void accept(OWLObjectVisitor visitor)
public <O> O accept(OWLObjectVisitorEx<O> visitor)
public void accept(SWRLObjectVisitor visitor)
accept in interface SWRLObjectpublic <O> O accept(SWRLObjectVisitorEx<O> visitor)
accept in interface SWRLObjectpublic void accept(OWLAxiomVisitor visitor)
public <O> O accept(OWLAxiomVisitorEx<O> visitor)
public SWRLRule getSimplified()
getSimplified in interface SWRLRulepublic boolean equals(Object obj)
equals in class OWLAxiomImplWithEntityAndAnonCachingpublic AxiomType<?> getAxiomType()
getAxiomType in interface OWLAxiomCopyright © 2020 The University of Manchester. All rights reserved.