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

java.lang.Object
  extended by uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl
      extended by uk.ac.manchester.cs.owl.owlapi.OWLLiteralImpl
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLAnnotationObject, OWLAnnotationValue, OWLLiteral, OWLObject, OWLPropertyAssertionObject
Direct Known Subclasses:
OWLStringLiteralImpl, OWLTypedLiteralImpl

public abstract class OWLLiteralImpl
extends OWLObjectImpl
implements OWLLiteral

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


Constructor Summary
OWLLiteralImpl(OWLDataFactory dataFactory, java.lang.String literal)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLiteral()
          Gets the lexical value of this literal
 int hashCode()
           
 
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl
compareObjectOfSameType, compareSets, compareTo, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getObjectPropertiesInSignature, getOWLDataFactory, getSignature, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLLiteral
accept, accept, asOWLStringLiteral, asRDFTextLiteral, isTyped
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLAnnotationValue
accept, accept
 

Constructor Detail

OWLLiteralImpl

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

hashCode

public int hashCode()
Overrides:
hashCode in class OWLObjectImpl

getLiteral

public java.lang.String getLiteral()
Description copied from interface: OWLLiteral
Gets the lexical value of this literal

Specified by:
getLiteral in interface OWLLiteral
Returns:
gets the lexical value of this literal

equals

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