uk.ac.manchester.cs.owl
Class OWLConstantImpl

java.lang.Object
  extended by uk.ac.manchester.cs.owl.OWLObjectImpl
      extended by uk.ac.manchester.cs.owl.OWLConstantImpl
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLConstant, OWLObject
Direct Known Subclasses:
OWLTypedConstantImpl, OWLUntypedConstantImpl

public abstract class OWLConstantImpl
extends OWLObjectImpl
implements OWLConstant

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 26-Oct-2006


Constructor Summary
OWLConstantImpl(OWLDataFactory dataFactory, java.lang.String literal)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLiteral()
          Gets the string literal that this constant represents.
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLObjectImpl
compareTo, 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.OWLConstant
accept, accept, asOWLTypedConstant, asOWLUntypedConstant, isTyped
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
accept, accept, getSignature
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

OWLConstantImpl

public OWLConstantImpl(OWLDataFactory dataFactory,
                       java.lang.String literal)
Method Detail

getLiteral

public java.lang.String getLiteral()
Description copied from interface: OWLConstant
Gets the string literal that this constant represents.

Specified by:
getLiteral in interface OWLConstant

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class OWLObjectImpl