org.mindswap.pellet.datatypes
Class BaseDatatype

java.lang.Object
  extended by org.mindswap.pellet.datatypes.BaseDatatype
All Implemented Interfaces:
Datatype
Direct Known Subclasses:
BaseAtomicDatatype, BaseUnionDatatype, BaseXSDAtomicType

public abstract class BaseDatatype
extends java.lang.Object
implements Datatype

Author:
Evren Sirin

Constructor Summary
BaseDatatype(aterm.ATermAppl name)
           
 
Method Summary
 boolean contains(java.lang.Object value, AtomicDatatype datatype)
           
 aterm.ATermAppl getName()
           
 java.lang.String getURI()
           
 aterm.ATermAppl getValue(int n)
           
 boolean isEmpty()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mindswap.pellet.datatypes.Datatype
contains, getValue, singleton, size
 

Constructor Detail

BaseDatatype

public BaseDatatype(aterm.ATermAppl name)
Method Detail

getName

public aterm.ATermAppl getName()
Specified by:
getName in interface Datatype

getURI

public final java.lang.String getURI()
Specified by:
getURI in interface Datatype

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Datatype

contains

public boolean contains(java.lang.Object value,
                        AtomicDatatype datatype)
Specified by:
contains in interface Datatype

getValue

public aterm.ATermAppl getValue(int n)
Specified by:
getValue in interface Datatype


Copyright © 2004 Evren Sirin. All Rights Reserved.