public class OWLDataHasValueImpl extends OWLValueRestrictionImpl<OWLLiteral> implements OWLDataHasValue, OWLDataRestriction
| Constructor and Description |
|---|
OWLDataHasValueImpl(OWLDataPropertyExpression property,
OWLLiteral value) |
| 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) |
OWLClassExpression |
asSomeValuesFrom()
A convenience method that obtains this restriction as an existential
restriction with a nominal filler.
|
boolean |
equals(Object obj) |
ClassExpressionType |
getClassExpressionType()
Gets the class expression type for this class expression
|
OWLDataPropertyExpression |
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.
|
getFiller, getValueisClassExpressionLiteralasConjunctSet, asDisjunctSet, asOWLClass, containsConjunct, getComplementNNF, getNNF, getObjectComplementOf, isAnonymous, isOWLNothing, isOWLThingcompareTo, containsEntityInSignature, getAnnotationPropertiesInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toStringgetFiller, getValueasConjunctSet, asDisjunctSet, asOWLClass, containsConjunct, getComplementNNF, getNNF, getObjectComplementOf, isAnonymous, isClassExpressionLiteral, isOWLNothing, isOWLThingpublic OWLDataHasValueImpl(@Nonnull OWLDataPropertyExpression property, @Nonnull OWLLiteral value)
property - propertyvalue - valuepublic 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 OWLDataPropertyExpression getProperty()
OWLDataRestrictiongetProperty in interface HasProperty<OWLDataPropertyExpression>getProperty in interface OWLDataRestrictiongetProperty 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 OWLValueRestrictionImpl<OWLLiteral>@Nonnull public OWLClassExpression asSomeValuesFrom()
OWLHasValueRestrictionasSomeValuesFrom in interface OWLHasValueRestriction<OWLLiteral>public void accept(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.