com.clarkparsia.pellet.datatypes
Class AbstractBaseDatatype<T>

java.lang.Object
  extended by com.clarkparsia.pellet.datatypes.AbstractBaseDatatype<T>
All Implemented Interfaces:
Datatype<T>
Direct Known Subclasses:
AbstractDerivedIntegerType, AbstractTimelineDatatype, OWLRational, OWLReal, RDFPlainLiteral, XSDAnyURI, XSDBoolean, XSDDecimal, XSDDouble, XSDDuration, XSDFloat, XSDLanguage, XSDName, XSDNCName, XSDNMToken, XSDNormalizedString, XSDString, XSDToken

public abstract class AbstractBaseDatatype<T>
extends java.lang.Object
implements Datatype<T>

Title: Abstract base datatype type

Description: Base implementation to handle some boiler plate code shared by all datatype implementations

Copyright: Copyright (c) 2009

Company: Clark & Parsia, LLC.

Author:
Mike Smith

Method Summary
 boolean equals(java.lang.Object obj)
           
 aterm.ATermAppl getName()
          Get the datatype identifier
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.clarkparsia.pellet.datatypes.Datatype
asDataRange, getCanonicalRepresentation, getLiteral, getPrimitiveDatatype, getValue, isPrimitive
 

Method Detail

equals

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

getName

public aterm.ATermAppl getName()
Description copied from interface: Datatype
Get the datatype identifier

Specified by:
getName in interface Datatype<T>
Returns:
ATermAppl of URI for datatype

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2004 Evren Sirin. All Rights Reserved.