uk.ac.manchester.cs.owl
Class SWRLUnaryAtomImpl<P,A extends SWRLAtomObject>

java.lang.Object
  extended by uk.ac.manchester.cs.owl.OWLObjectImpl
      extended by uk.ac.manchester.cs.owl.SWRLAtomImpl<P>
          extended by uk.ac.manchester.cs.owl.SWRLUnaryAtomImpl<P,A>
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLObject, SWRLAtom<P>, SWRLObject, SWRLUnaryAtom<P,A>
Direct Known Subclasses:
SWRLClassAtomImpl, SWRLDataRangeAtomImpl

public abstract class SWRLUnaryAtomImpl<P,A extends SWRLAtomObject>
extends SWRLAtomImpl<P>
implements SWRLUnaryAtom<P,A>

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 15-Jan-2007


Constructor Summary
SWRLUnaryAtomImpl(OWLDataFactory dataFactory, P predicate, A arg)
           
 
Method Summary
 java.util.Collection<? extends SWRLAtomObject> getAllArguments()
           
 A getArgument()
           
 
Methods inherited from class uk.ac.manchester.cs.owl.SWRLAtomImpl
getPredicate
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLObjectImpl
compareTo, equals, getOWLDataFactory, getSignature, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.semanticweb.owl.model.SWRLAtom
getPredicate
 
Methods inherited from interface org.semanticweb.owl.model.SWRLObject
accept, accept
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
accept, accept, getSignature
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

SWRLUnaryAtomImpl

public SWRLUnaryAtomImpl(OWLDataFactory dataFactory,
                         P predicate,
                         A arg)
Method Detail

getArgument

public A getArgument()
Specified by:
getArgument in interface SWRLUnaryAtom<P,A extends SWRLAtomObject>

getAllArguments

public java.util.Collection<? extends SWRLAtomObject> getAllArguments()
Specified by:
getAllArguments in interface SWRLAtom<P>