|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.manchester.cs.owl.owlapi.OWLObjectImpl
uk.ac.manchester.cs.owl.owlapi.OWLClassExpressionImpl
uk.ac.manchester.cs.owl.owlapi.OWLAnonymousClassExpressionImpl
public abstract class OWLAnonymousClassExpressionImpl
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 26-Oct-2006
| Constructor Summary | |
|---|---|
OWLAnonymousClassExpressionImpl(OWLDataFactory dataFactory)
|
|
| Method Summary | |
|---|---|
java.util.Set<OWLClassExpression> |
asConjunctSet()
Interprets this expression as a conjunction and returns the conjuncts. |
java.util.Set<OWLClassExpression> |
asDisjunctSet()
Interprets this expression as a disjunction and returns the disjuncts. |
OWLClass |
asOWLClass()
If this class expression is in fact a named class then this method may be used to obtain the expression as an OWLClass without the need for casting. |
boolean |
containsConjunct(OWLClassExpression ce)
Determines if this class expression contains a particular conjunct. |
OWLClassExpression |
getComplementNNF()
Gets the negation normal form of the complement of this expression. |
OWLClassExpression |
getNNF()
Gets this expression in negation normal form. |
OWLClassExpression |
getObjectComplementOf()
Gets the object complement of this class expression. |
boolean |
isAnonymous()
Determines whether or not this expression represents an anonymous class expression. |
boolean |
isOWLNothing()
Determines if this expression is the built in class owl:Nothing. |
boolean |
isOWLThing()
Determines if this expression is the built in class owl:Thing. |
| Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl |
|---|
compareObjectOfSameType, compareSets, compareTo, equals, 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, getClassExpressionType, isClassExpressionLiteral |
| Constructor Detail |
|---|
public OWLAnonymousClassExpressionImpl(OWLDataFactory dataFactory)
| Method Detail |
|---|
public boolean isAnonymous()
OWLClassExpression
isAnonymous in interface OWLClassExpressiontrue if this is an anonymous class expression, or false if this is a named
class (OWLClass)public boolean isOWLThing()
OWLClassExpression
isOWLThing in interface OWLClassExpressiontrue if this expression is owl:Thing, or false if this expression is not
owl:Thingpublic boolean isOWLNothing()
OWLClassExpression
isOWLNothing in interface OWLClassExpressiontrue if this expression is owl:Nothing, or false if this expression is not
owl:Nothing.public OWLClassExpression getNNF()
OWLClassExpression
getNNF in interface OWLClassExpressionpublic OWLClassExpression getComplementNNF()
OWLClassExpression
getComplementNNF in interface OWLClassExpressionpublic OWLClassExpression getObjectComplementOf()
getObjectComplementOf in interface OWLClassExpressionpublic OWLClass asOWLClass()
OWLClassExpressionOWLClass without the need for casting. The general pattern of use is to use the
isAnonymous to first check
asOWLClass in interface OWLClassExpressionOWLClass.public java.util.Set<OWLClassExpression> asConjunctSet()
OWLClassExpression
asConjunctSet in interface OWLClassExpressionpublic boolean containsConjunct(OWLClassExpression ce)
OWLClassExpression
containsConjunct in interface OWLClassExpressionce - The conjunct to test for
true if this class expression is equal to ce or if this class expression
is an ObjectIntersectionOf (possibly nested withing another ObjectIntersectionOf)
that contains ce, otherwise false.public java.util.Set<OWLClassExpression> asDisjunctSet()
OWLClassExpression
asDisjunctSet in interface OWLClassExpression
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||