public class OWLObjectHasSelfImpl extends OWLRestrictionImpl implements OWLObjectHasSelf
| Constructor and Description |
|---|
OWLObjectHasSelfImpl(OWLObjectPropertyExpression property) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(OWLClassExpressionVisitor visitor)
Accepts a visit from an
OWLExpressionVisitor |
<O> O |
accept(OWLClassExpressionVisitorEx<O> 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) |
boolean |
equals(Object obj) |
ClassExpressionType |
getClassExpressionType()
Gets the class expression type for this class expression
|
OWLObjectPropertyExpression |
getProperty()
Gets the property/properties that the restriction acts along depending on
R being a scalar or collection type.
|
boolean |
isDataRestriction()
Determines if this is a data restriction.
|
boolean |
isObjectRestriction()
Determines if this is an object restriction.
|
isClassExpressionLiteralasConjunctSet, asDisjunctSet, asOWLClass, containsConjunct, getComplementNNF, getNNF, getObjectComplementOf, isAnonymous, isOWLNothing, isOWLThingcompareTo, containsEntityInSignature, getAnnotationPropertiesInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toStringasConjunctSet, asDisjunctSet, asOWLClass, containsConjunct, getComplementNNF, getNNF, getObjectComplementOf, isAnonymous, isClassExpressionLiteral, isOWLNothing, isOWLThinggetNestedClassExpressions, isBottomEntity, isTopEntity, toStringcompareTogetSignaturecontainsEntityInSignaturegetAnonymousIndividualsgetClassesInSignaturegetObjectPropertiesInSignaturegetDataPropertiesInSignaturegetIndividualsInSignaturegetDatatypesInSignaturegetAnnotationPropertiesInSignaturepublic OWLObjectHasSelfImpl(@Nonnull OWLObjectPropertyExpression property)
property - self propertypublic 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 addedpublic OWLObjectPropertyExpression getProperty()
OWLObjectRestrictiongetProperty in interface HasProperty<OWLObjectPropertyExpression>getProperty in interface OWLObjectRestrictiongetProperty in interface OWLRestrictionpublic ClassExpressionType getClassExpressionType()
OWLClassExpressiongetClassExpressionType in interface OWLClassExpressionpublic boolean isObjectRestriction()
OWLRestrictionisObjectRestriction in interface OWLRestrictiontrue if this is an object restriction, otherwise
falsepublic boolean isDataRestriction()
OWLRestrictionisDataRestriction in interface OWLRestrictiontrue if this is a data restriction, otherwise
falsepublic boolean equals(Object obj)
equals in class OWLRestrictionImplpublic void accept(@Nonnull OWLClassExpressionVisitor visitor)
OWLClassExpressionOWLExpressionVisitoraccept in interface OWLClassExpressionvisitor - The visitor that wants to visitpublic void accept(OWLObjectVisitor visitor)
OWLObjectpublic <O> O accept(OWLClassExpressionVisitorEx<O> visitor)
accept in interface OWLClassExpressionO - visitor return typevisitor - visitorpublic <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObjectCopyright © 2016 The University of Manchester. All Rights Reserved.