uk.ac.manchester.cs.owl.owlapi
Class SWRLBuiltInAtomImpl
java.lang.Object
uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl
uk.ac.manchester.cs.owl.owlapi.SWRLAtomImpl
uk.ac.manchester.cs.owl.owlapi.SWRLBuiltInAtomImpl
- All Implemented Interfaces:
- java.lang.Comparable<OWLObject>, OWLObject, SWRLAtom, SWRLBuiltInAtom, SWRLObject
public class SWRLBuiltInAtomImpl
- extends SWRLAtomImpl
- implements SWRLBuiltInAtom
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 15-Jan-2007
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl |
compareSets, compareTo, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getOWLDataFactory, getSignature, hashCode, isBottomEntity, isTopEntity, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
SWRLBuiltInAtomImpl
public SWRLBuiltInAtomImpl(OWLDataFactory dataFactory,
IRI predicate,
java.util.List<SWRLDArgument> args)
getPredicate
public IRI getPredicate()
- Description copied from interface:
SWRLAtom
- Gets the predicate of this atom
- Specified by:
getPredicate
in interface SWRLAtom
- Specified by:
getPredicate
in interface SWRLBuiltInAtom
- Overrides:
getPredicate
in class SWRLAtomImpl
- Returns:
- The atom predicate
isCoreBuiltIn
public boolean isCoreBuiltIn()
- Determines if the predicate of this atom is is a core builtin.
- Specified by:
isCoreBuiltIn
in interface SWRLBuiltInAtom
- Returns:
true
if this is a core builtin, otherwise false
getArguments
public java.util.List<SWRLDArgument> getArguments()
- Specified by:
getArguments
in interface SWRLBuiltInAtom
getAllArguments
public java.util.Collection<SWRLArgument> getAllArguments()
- Description copied from interface:
SWRLAtom
- Gets all of the arguments in this atom
- Specified by:
getAllArguments
in interface SWRLAtom
- Returns:
- The collection of arguments in this atom
accept
public void accept(OWLObjectVisitor visitor)
- Specified by:
accept
in interface OWLObject
accept
public void accept(SWRLObjectVisitor visitor)
- Specified by:
accept
in interface SWRLObject
accept
public <O> O accept(SWRLObjectVisitorEx<O> visitor)
- Specified by:
accept
in interface SWRLObject
accept
public <O> O accept(OWLObjectVisitorEx<O> visitor)
- Specified by:
accept
in interface OWLObject
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class OWLObjectImpl
compareObjectOfSameType
protected int compareObjectOfSameType(OWLObject object)
- Specified by:
compareObjectOfSameType
in class OWLObjectImpl