Package org.semanticweb.owlapi.model
Interface OWLRestriction
- All Superinterfaces:
AsOWLClass
,Comparable<OWLObject>
,HasAnnotationPropertiesInSignature
,HasAnonymousIndividuals
,HasClassesInSignature
,HasComponents
,HasContainsEntityInSignature
,HasDataPropertiesInSignature
,HasDatatypesInSignature
,HasHashIndex
,HasIndex
,HasIndividualsInSignature
,HasObjectPropertiesInSignature
,HasSignature
,IsAnonymous
,OWLAnonymousClassExpression
,OWLClassExpression
,OWLObject
,OWLPropertyRange
,Serializable
,SWRLPredicate
- All Known Subinterfaces:
OWLCardinalityRestriction<F>
,OWLDataAllValuesFrom
,OWLDataCardinalityRestriction
,OWLDataExactCardinality
,OWLDataHasValue
,OWLDataMaxCardinality
,OWLDataMinCardinality
,OWLDataRestriction
,OWLDataSomeValuesFrom
,OWLHasValueRestriction<V>
,OWLObjectAllValuesFrom
,OWLObjectCardinalityRestriction
,OWLObjectExactCardinality
,OWLObjectHasSelf
,OWLObjectHasValue
,OWLObjectMaxCardinality
,OWLObjectMinCardinality
,OWLObjectRestriction
,OWLObjectSomeValuesFrom
,OWLQuantifiedDataRestriction
,OWLQuantifiedObjectRestriction
,OWLQuantifiedRestriction<F>
- All Known Implementing Classes:
OWLCardinalityRestrictionImpl
,OWLDataAllValuesFromImpl
,OWLDataCardinalityRestrictionImpl
,OWLDataExactCardinalityImpl
,OWLDataHasValueImpl
,OWLDataMaxCardinalityImpl
,OWLDataMinCardinalityImpl
,OWLDataSomeValuesFromImpl
,OWLObjectAllValuesFromImpl
,OWLObjectCardinalityRestrictionImpl
,OWLObjectExactCardinalityImpl
,OWLObjectHasSelfImpl
,OWLObjectHasValueImpl
,OWLObjectMaxCardinalityImpl
,OWLObjectMinCardinalityImpl
,OWLObjectSomeValuesFromImpl
,OWLQuantifiedDataRestrictionImpl
,OWLQuantifiedObjectRestrictionImpl
,OWLQuantifiedRestrictionImpl
,OWLValueRestrictionImpl
Represents a restriction (Object
Property Restriction or Data
Property Restriction) in the OWL 2 specification.
- Since:
- 2.0.0
- Author:
- Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Determines if this is a data restriction.default boolean
Determines if this is an object restriction.Methods inherited from interface org.semanticweb.owlapi.model.AsOWLClass
asOWLClass, isOWLClass
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.semanticweb.owlapi.model.HasAnnotationPropertiesInSignature
annotationPropertiesInSignature, getAnnotationPropertiesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasAnonymousIndividuals
anonymousIndividuals, getAnonymousIndividuals
Methods inherited from interface org.semanticweb.owlapi.model.HasClassesInSignature
classesInSignature, getClassesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasComponents
components, componentsAnnotationsFirst, componentsWithoutAnnotations
Methods inherited from interface org.semanticweb.owlapi.model.HasContainsEntityInSignature
containsEntityInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasDataPropertiesInSignature
dataPropertiesInSignature, getDataPropertiesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasDatatypesInSignature
datatypesInSignature, getDatatypesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasHashIndex
hashIndex
Methods inherited from interface org.semanticweb.owlapi.model.HasIndividualsInSignature
getIndividualsInSignature, individualsInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasObjectPropertiesInSignature
getObjectPropertiesInSignature, objectPropertiesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasSignature
getSignature, signature, unsortedSignature
Methods inherited from interface org.semanticweb.owlapi.model.IsAnonymous
isAnonymous, isNamed
Methods inherited from interface org.semanticweb.owlapi.model.OWLClassExpression
accept, accept, asConjunctSet, asDisjunctSet, conjunctSet, containsConjunct, disjunctSet, getClassExpressionType, getComplementNNF, getNNF, getObjectComplementOf, isClassExpressionLiteral, isOWLNothing, isOWLThing
Methods inherited from interface org.semanticweb.owlapi.model.OWLObject
accept, accept, getNestedClassExpressions, hasSharedStructure, initHashCode, isAnonymousExpression, isAxiom, isBottomEntity, isIndividual, isIRI, isOntology, isTopEntity, nestedClassExpressions
-
Method Details
-
isObjectRestriction
default boolean isObjectRestriction()Determines if this is an object restriction.- Returns:
true
if this is an object restriction, otherwisefalse
-
isDataRestriction
default boolean isDataRestriction()Determines if this is a data restriction.- Returns:
true
if this is a data restriction, otherwisefalse
-
getProperty
OWLPropertyExpression getProperty()- Returns:
- property being restricted
-