org.mindswap.pellet.datatypes
Class BaseAtomicDatatype
java.lang.Object
org.mindswap.pellet.datatypes.BaseDatatype
org.mindswap.pellet.datatypes.BaseAtomicDatatype
- All Implemented Interfaces:
- AtomicDatatype, Datatype
- Direct Known Subclasses:
- RDFXMLLiteral, UnknownDatatype, XSDAnyURI, XSDBoolean, XSDDuration, XSDString
public abstract class BaseAtomicDatatype
- extends BaseDatatype
- implements AtomicDatatype
- Author:
- Evren Sirin
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseAtomicDatatype
public BaseAtomicDatatype(aterm.ATermAppl name)
not
public AtomicDatatype not()
- Specified by:
not
in interface AtomicDatatype
intersection
public AtomicDatatype intersection(AtomicDatatype dt)
- Specified by:
intersection
in interface AtomicDatatype
union
public AtomicDatatype union(AtomicDatatype dt)
- Specified by:
union
in interface AtomicDatatype
difference
public AtomicDatatype difference(AtomicDatatype dt)
- Specified by:
difference
in interface AtomicDatatype
size
public int size()
- Specified by:
size
in interface Datatype
contains
public boolean contains(java.lang.Object value)
- Specified by:
contains
in interface Datatype
enumeration
public AtomicDatatype enumeration(java.util.Set values)
- Specified by:
enumeration
in interface AtomicDatatype
singleton
public Datatype singleton(java.lang.Object value)
- Specified by:
singleton
in interface Datatype
isDerived
public boolean isDerived()
getValue
public aterm.ATermAppl getValue(int n)
- Specified by:
getValue
in interface Datatype
- Overrides:
getValue
in class BaseDatatype
Copyright © 2007-2009 Natalya Keberle. All Rights Reserved.