uk.ac.manchester.cs.owl.owlapi
Class OWLNaryBooleanClassExpressionImpl

java.lang.Object
  extended by uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl
      extended by uk.ac.manchester.cs.owl.owlapi.OWLClassExpressionImpl
          extended by uk.ac.manchester.cs.owl.owlapi.OWLAnonymousClassExpressionImpl
              extended by uk.ac.manchester.cs.owl.owlapi.OWLNaryBooleanClassExpressionImpl
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLAnonymousClassExpression, OWLBooleanClassExpression, OWLClassExpression, OWLNaryBooleanClassExpression, OWLObject, OWLPropertyRange, SWRLPredicate
Direct Known Subclasses:
OWLObjectIntersectionOfImpl, OWLObjectUnionOfImpl

public abstract class OWLNaryBooleanClassExpressionImpl
extends OWLAnonymousClassExpressionImpl
implements OWLNaryBooleanClassExpression

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


Constructor Summary
OWLNaryBooleanClassExpressionImpl(OWLDataFactory dataFactory, java.util.Set<? extends OWLClassExpression> operands)
           
 
Method Summary
protected  int compareObjectOfSameType(OWLObject object)
           
 boolean equals(java.lang.Object obj)
           
 java.util.Set<OWLClassExpression> getOperands()
           
 java.util.List<OWLClassExpression> getOperandsAsList()
          Gets the class expressions returned by OWLNaryBooleanClassExpression.getOperands() as a list of class expressions.
 boolean isClassExpressionLiteral()
          Determines if this class is a literal.
 
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLAnonymousClassExpressionImpl
asConjunctSet, asDisjunctSet, asOWLClass, containsConjunct, getComplementNNF, getNNF, getObjectComplementOf, isAnonymous, isOWLNothing, isOWLThing
 
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl
compareSets, compareTo, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getOWLDataFactory, getSignature, hashCode, isBottomEntity, isTopEntity, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLClassExpression
accept, accept, asConjunctSet, asDisjunctSet, asOWLClass, containsConjunct, getClassExpressionType, getComplementNNF, getNNF, getObjectComplementOf, isAnonymous, isOWLNothing, isOWLThing
 

Constructor Detail

OWLNaryBooleanClassExpressionImpl

public OWLNaryBooleanClassExpressionImpl(OWLDataFactory dataFactory,
                                         java.util.Set<? extends OWLClassExpression> operands)
Method Detail

getOperandsAsList

public java.util.List<OWLClassExpression> getOperandsAsList()
Description copied from interface: OWLNaryBooleanClassExpression
Gets the class expressions returned by OWLNaryBooleanClassExpression.getOperands() as a list of class expressions.

Specified by:
getOperandsAsList in interface OWLNaryBooleanClassExpression
Returns:
The class expressions as a list.

getOperands

public java.util.Set<OWLClassExpression> getOperands()
Specified by:
getOperands in interface OWLNaryBooleanClassExpression

isClassExpressionLiteral

public boolean isClassExpressionLiteral()
Description copied from interface: OWLClassExpression
Determines if this class is a literal. A literal being either a named class or the negation of a named class (i.e. A or not(A)).

Specified by:
isClassExpressionLiteral in interface OWLClassExpression
Returns:
true if this is a literal, or false if this is not a literal.

equals

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

compareObjectOfSameType

protected final int compareObjectOfSameType(OWLObject object)
Specified by:
compareObjectOfSameType in class OWLObjectImpl