public class OWLClassImpl extends OWLClassExpressionImpl implements OWLClass, Serializable
| Type | Property and Description |
|---|---|
OWLAnnotationProperty |
asOWLAnnotation
A convenience method that obtains this entity as an OWLAnnotationProperty
(in order to avoid explicit casting).
|
OWLDataProperty |
asOWLData
A convenience method that obtains this entity as an OWLDataProperty (in
order to avoid explicit casting).
|
OWLObjectProperty |
asOWLObject
A convenience method that obtains this entity as an OWLObjectProperty (in
order to avoid explicit casting).
|
boolean |
isOWLAnnotation
Gets the value of the property oWLAnnotationProperty.
|
boolean |
isOWLData
Gets the value of the property oWLDataProperty.
|
boolean |
isOWLObject
Gets the value of the property oWLObjectProperty.
|
| Constructor and Description |
|---|
OWLClassImpl(IRI iri) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(OWLClassExpressionVisitor visitor)
Accepts a visit from an
OWLExpressionVisitor |
<O> O |
accept(OWLClassExpressionVisitorEx<O> visitor) |
void |
accept(OWLEntityVisitor visitor) |
<O> O |
accept(OWLEntityVisitorEx<O> visitor) |
void |
accept(OWLNamedObjectVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLNamedObjectVisitorEx<O> visitor)
Accepts a visitor
|
void |
accept(OWLObjectVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLObjectVisitorEx<O> visitor)
Accepts a visitor
|
void |
addAnonymousIndividualsToSet(Set<OWLAnonymousIndividual> anons) |
void |
addSignatureEntitiesToSet(Set<OWLEntity> entities) |
Set<OWLClassExpression> |
asConjunctSet()
Interprets this expression as a conjunction and returns the conjuncts.
|
Set<OWLClassExpression> |
asDisjunctSet()
Interprets this expression as a disjunction and returns the disjuncts.
|
OWLAnnotationProperty |
asOWLAnnotationProperty()
A convenience method that obtains this entity as an OWLAnnotationProperty
(in order to avoid explicit casting).
|
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. |
OWLDataProperty |
asOWLDataProperty()
A convenience method that obtains this entity as an OWLDataProperty (in
order to avoid explicit casting).
|
OWLDatatype |
asOWLDatatype()
A convenience method that obtains this entity as an OWLDatatype (in order
to avoid explicit casting).
|
OWLNamedIndividual |
asOWLNamedIndividual()
A convenience method that obtains this entity as an OWLNamedIndividual
(in order to avoid explicit casting).
|
OWLObjectProperty |
asOWLObjectProperty()
A convenience method that obtains this entity as an OWLObjectProperty (in
order to avoid explicit casting).
|
boolean |
containsConjunct(OWLClassExpression ce)
Determines if this class expression contains a particular conjunct.
|
boolean |
equals(Object obj) |
ClassExpressionType |
getClassExpressionType()
Gets the class expression type for this class expression
|
OWLClassExpression |
getComplementNNF()
Gets the negation normal form of the complement of this expression.
|
EntityType<?> |
getEntityType()
Gets the entity type for this entity
|
IRI |
getIRI()
Gets the IRI of this object
|
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 |
isBottomEntity()
Determines if this object is either, owl:Nothing (the bottom class),
owl:bottomObjectProperty (the bottom object property) ,
owl:bottomDataProperty (the bottom data property).
|
boolean |
isBuiltIn()
Determines if this entity is a built in entity.
|
boolean |
isClassExpressionLiteral()
Determines if this class is a literal.
|
boolean |
isOWLAnnotationProperty()
Gets the value of the property oWLAnnotationProperty.
|
boolean |
isOWLClass()
A convenience method that determines if this entity is an OWLClass
|
boolean |
isOWLDataProperty()
Gets the value of the property oWLDataProperty.
|
boolean |
isOWLDatatype()
A convenience method that determines if this entity is an OWLDatatype
|
boolean |
isOWLNamedIndividual()
A convenience method that determines if this entity is an
OWLNamedIndividual
|
boolean |
isOWLNothing()
Determines if this expression is the built in class owl:Nothing.
|
boolean |
isOWLObjectProperty()
Gets the value of the property oWLObjectProperty.
|
boolean |
isOWLThing()
Determines if this expression is the built in class owl:Thing.
|
boolean |
isTopEntity()
Determines if this object is either, owl:Thing (the top class),
owl:topObjectProperty (the top object property) , owl:topDataProperty
(the top data property) or rdfs:Literal (the top datatype).
|
boolean |
isType(EntityType<?> entityType)
Tests to see if this entity is of the specified type
|
String |
toStringID()
Returns a string representation that can be used as the ID of this
entity.
|
compareTo, containsEntityInSignature, getAnnotationPropertiesInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, toStringgetNestedClassExpressions, toStringcompareTogetSignaturecontainsEntityInSignaturegetAnonymousIndividualsgetClassesInSignaturegetObjectPropertiesInSignaturegetDataPropertiesInSignaturegetIndividualsInSignaturegetDatatypesInSignaturegetAnnotationPropertiesInSignaturepublic OWLDataProperty asOWLDataProperty
asOWLDataProperty in interface OWLEntitypublic OWLObjectProperty asOWLObjectProperty
asOWLObjectProperty in interface OWLEntitypublic boolean isOWLDataProperty
isOWLDataProperty in interface OWLEntitytrue if this entity is an OWLDataProperty, otherwise
falsepublic boolean isOWLObjectProperty
isOWLObjectProperty in interface OWLEntitytrue if this entity is an OWLObjectProperty, otherwise
falsepublic OWLAnnotationProperty asOWLAnnotationProperty
asOWLAnnotationProperty in interface OWLEntitypublic boolean isOWLAnnotationProperty
isOWLAnnotationProperty in interface OWLEntitytrue if this entity is an OWLAnnotationProperty,
otherwise falsepublic boolean isTopEntity()
OWLObjectisTopEntity in interface OWLObjectisTopEntity in class OWLObjectImplWithoutEntityAndAnonCachingtrue if this object corresponds to one of the above
entities.public boolean isBottomEntity()
OWLObjectisBottomEntity in interface OWLObjectisBottomEntity in class OWLObjectImplWithoutEntityAndAnonCachingtrue if this object corresponds to one of the above
entities.public ClassExpressionType getClassExpressionType()
OWLClassExpressiongetClassExpressionType in interface OWLClassExpression@Nonnull public OWLClassExpression getObjectComplementOf()
OWLClassExpressiongetObjectComplementOf in interface OWLClassExpressionpublic EntityType<?> getEntityType()
OWLEntitygetEntityType in interface OWLEntitypublic boolean isType(EntityType<?> entityType)
OWLEntitypublic String toStringID()
OWLEntitytoStringID in interface OWLEntitypublic IRI getIRI()
OWLNamedObjectgetIRI in interface HasIRIgetIRI in interface OWLNamedObjectpublic boolean isBuiltIn()
OWLEntitypublic boolean isAnonymous()
OWLClassExpressionisAnonymous in interface OWLClassExpressiontrue if this is an anonymous class expression, or
false if this is a named class ( OWLClass)public boolean isClassExpressionLiteral()
OWLClassExpressionisClassExpressionLiteral in interface OWLClassExpressiontrue if this is a literal, or false if this is not a
literal.public OWLClass asOWLClass()
OWLClassExpressionOWLClass without the need for
casting. The general pattern of use is to use the isAnonymous to
first checkasOWLClass in interface OWLClassExpressionasOWLClass in interface OWLEntityOWLClass.public boolean isOWLThing()
OWLClassExpressionisOWLThing in interface OWLClassExpressiontrue if this expression is owl:Thing, or false if
this expression is not owl:Thingpublic boolean isOWLNothing()
OWLClassExpressionisOWLNothing in interface OWLClassExpressiontrue if this expression is owl:Nothing, or false
if this expression is not owl:Nothing.public OWLClassExpression getNNF()
OWLClassExpressiongetNNF in interface OWLClassExpressionpublic Set<OWLClassExpression> asConjunctSet()
OWLClassExpressionasConjunctSet in interface OWLClassExpressionpublic boolean containsConjunct(OWLClassExpression ce)
OWLClassExpressioncontainsConjunct in interface OWLClassExpressionce - The conjunct to test fortrue 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 Set<OWLClassExpression> asDisjunctSet()
OWLClassExpressionasDisjunctSet in interface OWLClassExpressionpublic OWLClassExpression getComplementNNF()
OWLClassExpressiongetComplementNNF in interface OWLClassExpressionpublic OWLDataProperty asOWLDataProperty()
OWLEntityasOWLDataProperty in interface OWLEntitypublic OWLDatatype asOWLDatatype()
OWLEntityasOWLDatatype in interface OWLEntitypublic OWLNamedIndividual asOWLNamedIndividual()
OWLEntityasOWLNamedIndividual in interface OWLEntitypublic OWLObjectProperty asOWLObjectProperty()
OWLEntityasOWLObjectProperty in interface OWLEntitypublic boolean isOWLClass()
OWLEntityisOWLClass in interface OWLEntitytrue if this entity is an OWLClass, otherwise
falsepublic boolean isOWLDataProperty()
isOWLDataProperty in interface OWLEntitytrue if this entity is an OWLDataProperty, otherwise
falsepublic boolean isOWLDatatype()
OWLEntityisOWLDatatype in interface OWLEntitytrue if this entity is an OWLDatatype, otherwise
falsepublic boolean isOWLNamedIndividual()
OWLEntityisOWLNamedIndividual in interface OWLEntitytrue if this entity is an OWLNamedIndividual, otherwise
falsepublic boolean isOWLObjectProperty()
isOWLObjectProperty in interface OWLEntitytrue if this entity is an OWLObjectProperty, otherwise
falsepublic OWLAnnotationProperty asOWLAnnotationProperty()
OWLEntityasOWLAnnotationProperty in interface OWLEntitypublic boolean isOWLAnnotationProperty()
isOWLAnnotationProperty in interface OWLEntitytrue if this entity is an OWLAnnotationProperty,
otherwise falsepublic boolean equals(Object obj)
equals in class OWLObjectImplWithoutEntityAndAnonCachingpublic void accept(OWLClassExpressionVisitor visitor)
OWLClassExpressionOWLExpressionVisitoraccept in interface OWLClassExpressionvisitor - The visitor that wants to visitpublic void accept(OWLEntityVisitor visitor)
public void accept(OWLObjectVisitor visitor)
OWLObjectpublic void accept(OWLNamedObjectVisitor visitor)
OWLNamedObjectaccept in interface OWLNamedObjectvisitor - The visitorpublic <O> O accept(OWLNamedObjectVisitorEx<O> visitor)
OWLNamedObjectaccept in interface OWLNamedObjectO - visitor return typevisitor - The visitorpublic <O> O accept(OWLEntityVisitorEx<O> visitor)
public <O> O accept(OWLClassExpressionVisitorEx<O> visitor)
accept in interface OWLClassExpressionO - visitor return typevisitor - visitorpublic <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObjectpublic void addSignatureEntitiesToSet(Set<OWLEntity> entities)
addSignatureEntitiesToSet in interface HasIncrementalSignatureGenerationSupportentities - entity set where entities will be addedpublic void addAnonymousIndividualsToSet(Set<OWLAnonymousIndividual> anons)
addAnonymousIndividualsToSet in interface HasIncrementalSignatureGenerationSupportanons - anonymous individuals set where individuals will be addedCopyright © 2016 The University of Manchester. All Rights Reserved.