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

java.lang.Object
  extended by uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl
      extended by uk.ac.manchester.cs.owl.owlapi.SWRLLiteralArgumentImpl
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLObject, SWRLArgument, SWRLDArgument, SWRLLiteralArgument, SWRLObject

public class SWRLLiteralArgumentImpl
extends OWLObjectImpl
implements SWRLLiteralArgument

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


Constructor Summary
SWRLLiteralArgumentImpl(OWLDataFactory dataFactory, OWLLiteral literal)
           
 
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)
           
 OWLLiteral getLiteral()
          Gets the literal for this argument
 
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

SWRLLiteralArgumentImpl

public SWRLLiteralArgumentImpl(OWLDataFactory dataFactory,
                               OWLLiteral literal)
Method Detail

getLiteral

public OWLLiteral getLiteral()
Description copied from interface: SWRLLiteralArgument
Gets the literal for this argument

Specified by:
getLiteral in interface SWRLLiteralArgument
Returns:
The literal

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