uk.ac.manchester.cs.owl
Class OWLDataComplementOfImpl

java.lang.Object
  extended by uk.ac.manchester.cs.owl.OWLObjectImpl
      extended by uk.ac.manchester.cs.owl.OWLDataComplementOfImpl
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLDataComplementOf, OWLDataRange, OWLObject, OWLPropertyRange

public class OWLDataComplementOfImpl
extends OWLObjectImpl
implements OWLDataComplementOf

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


Constructor Summary
OWLDataComplementOfImpl(OWLDataFactory dataFactory, OWLDataRange dataRange)
           
 
Method Summary
 void accept(OWLDataVisitor visitor)
           
<O> O
accept(OWLDataVisitorEx<O> visitor)
           
 void accept(OWLObjectVisitor visitor)
           
<O> O
accept(OWLObjectVisitorEx<O> visitor)
           
 boolean equals(java.lang.Object obj)
           
 OWLDataRange getDataRange()
          Gets the data range which this data range is a complement of.
 boolean isDataType()
          Determines if this data range is a datatype (int, float, ...)
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLObjectImpl
compareTo, getOWLDataFactory, getSignature, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
getSignature
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

OWLDataComplementOfImpl

public OWLDataComplementOfImpl(OWLDataFactory dataFactory,
                               OWLDataRange dataRange)
Method Detail

isDataType

public boolean isDataType()
Description copied from interface: OWLDataRange
Determines if this data range is a datatype (int, float, ...)

Specified by:
isDataType in interface OWLDataRange
Returns:
true if this datarange is a datatype, or false if it is not a datatype and is some other data range such as a data range restriction, data oneOf or data complementOf.

getDataRange

public OWLDataRange getDataRange()
Description copied from interface: OWLDataComplementOf
Gets the data range which this data range is a complement of.

Specified by:
getDataRange in interface OWLDataComplementOf
Returns:
The complemented data range.

equals

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

accept

public void accept(OWLDataVisitor visitor)
Specified by:
accept in interface OWLDataRange

accept

public void accept(OWLObjectVisitor visitor)
Specified by:
accept in interface OWLObject

accept

public <O> O accept(OWLDataVisitorEx<O> visitor)
Specified by:
accept in interface OWLDataRange

accept

public <O> O accept(OWLObjectVisitorEx<O> visitor)
Specified by:
accept in interface OWLObject