uk.ac.manchester.cs.owl.owlapi
Class SWRLBuiltInAtomImpl

java.lang.Object
  extended by uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl
      extended by uk.ac.manchester.cs.owl.owlapi.SWRLAtomImpl
          extended by 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


Constructor Summary
SWRLBuiltInAtomImpl(OWLDataFactory dataFactory, IRI predicate, java.util.List<SWRLDArgument> args)
           
 
Method Summary
 void accept(OWLObjectVisitor visitor)
           
<O> O
accept(OWLObjectVisitorEx<O> visitor)
           
 void accept(SWRLObjectVisitor visitor)
           
<O> O
accept(SWRLObjectVisitorEx<O> visitor)
           
protected  int compareObjectOfSameType(OWLObject object)
           
 boolean equals(java.lang.Object obj)
           
 java.util.Collection<SWRLArgument> getAllArguments()
          Gets all of the arguments in this atom
 java.util.List<SWRLDArgument> getArguments()
           
 IRI getPredicate()
          Gets the predicate of this atom
 boolean isCoreBuiltIn()
          Determines if the predicate of this atom is is a core builtin.
 
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 org.semanticweb.owlapi.model.OWLObject
getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntity
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

SWRLBuiltInAtomImpl

public SWRLBuiltInAtomImpl(OWLDataFactory dataFactory,
                           IRI predicate,
                           java.util.List<SWRLDArgument> args)
Method Detail

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