Package org.semanticweb.owlapi.model
Interface SWRLAtom
- All Superinterfaces:
Comparable<OWLObject>
,HasAnnotationPropertiesInSignature
,HasAnonymousIndividuals
,HasClassesInSignature
,HasComponents
,HasContainsEntityInSignature
,HasDataPropertiesInSignature
,HasDatatypesInSignature
,HasHashIndex
,HasIndex
,HasIndividualsInSignature
,HasObjectPropertiesInSignature
,HasSignature
,IsAnonymous
,OWLObject
,Serializable
,SWRLObject
- All Known Subinterfaces:
SWRLBinaryAtom<A,
,B> SWRLBuiltInAtom
,SWRLClassAtom
,SWRLDataPropertyAtom
,SWRLDataRangeAtom
,SWRLDifferentIndividualsAtom
,SWRLObjectPropertyAtom
,SWRLSameIndividualAtom
,SWRLUnaryAtom<A>
- All Known Implementing Classes:
SWRLAtomImpl
,SWRLBinaryAtomImpl
,SWRLBuiltInAtomImpl
,SWRLClassAtomImpl
,SWRLDataPropertyAtomImpl
,SWRLDataRangeAtomImpl
,SWRLDifferentIndividualsAtomImpl
,SWRLObjectPropertyAtomImpl
,SWRLSameIndividualAtomImpl
,SWRLUnaryAtomImpl
Represents an atom in a rule. Atoms can either be in the head (consequent) or body (antecedent)
of the rule. Atoms hold objects which are either data objects or individual objects.
- Since:
- 2.0.0
- Author:
- Matthew Horridge, The University Of Manchester, Medical Informatics Group
-
Method Summary
Modifier and TypeMethodDescriptiondefault Collection<SWRLArgument>
Gets all of the arguments in this atom.Gets the predicate of this atom.Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.semanticweb.owlapi.model.HasAnnotationPropertiesInSignature
annotationPropertiesInSignature, getAnnotationPropertiesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasAnonymousIndividuals
anonymousIndividuals, getAnonymousIndividuals
Methods inherited from interface org.semanticweb.owlapi.model.HasClassesInSignature
classesInSignature, getClassesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasComponents
components, componentsAnnotationsFirst, componentsWithoutAnnotations
Methods inherited from interface org.semanticweb.owlapi.model.HasContainsEntityInSignature
containsEntityInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasDataPropertiesInSignature
dataPropertiesInSignature, getDataPropertiesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasDatatypesInSignature
datatypesInSignature, getDatatypesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasHashIndex
hashIndex
Methods inherited from interface org.semanticweb.owlapi.model.HasIndividualsInSignature
getIndividualsInSignature, individualsInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasObjectPropertiesInSignature
getObjectPropertiesInSignature, objectPropertiesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasSignature
getSignature, signature, unsortedSignature
Methods inherited from interface org.semanticweb.owlapi.model.IsAnonymous
isAnonymous, isNamed
Methods inherited from interface org.semanticweb.owlapi.model.OWLObject
accept, accept, getNestedClassExpressions, hasSharedStructure, initHashCode, isAnonymousExpression, isAxiom, isBottomEntity, isIndividual, isIRI, isOntology, isTopEntity, nestedClassExpressions
Methods inherited from interface org.semanticweb.owlapi.model.SWRLObject
accept, accept
-
Method Details
-
getPredicate
SWRLPredicate getPredicate()Gets the predicate of this atom.- Returns:
- The atom predicate
-
getAllArguments
Gets all of the arguments in this atom.- Returns:
- The collection of arguments in this atom The set that is returned is a copy; modifications to the returned set will not be reflected in this object.
-
allArguments
Stream<SWRLArgument> allArguments()- Returns:
- The stream of all arguments in this atom
-