Package openllet.core.datatypes
Class AbstractBaseDatatype<T>
- java.lang.Object
-
- openllet.core.datatypes.AbstractBaseDatatype<T>
-
- Type Parameters:
T
- type of literal
- 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 openllet.shared.hash by all datatype implementations
Copyright: Copyright (c) 2009
Company: Clark & Parsia, LLC.
- Author:
- Mike Smith
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
openllet.aterm.ATermAppl
getName()
Get the datatype identifierint
hashCode()
-
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface openllet.core.datatypes.Datatype
asDataRange, getCanonicalRepresentation, getLiteral, getPrimitiveDatatype, getValue, isPrimitive
-
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getName
public openllet.aterm.ATermAppl getName()
Description copied from interface:Datatype
Get the datatype identifier
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-