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

public interface SWRLAtom extends SWRLObject
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 Details

    • getPredicate

      SWRLPredicate getPredicate()
      Gets the predicate of this atom.
      Returns:
      The atom predicate
    • getAllArguments

      default Collection<SWRLArgument> 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