Package org.semanticweb.owlapi.model
Interface OWLObjectRestriction
- All Superinterfaces:
AsOWLClass
,Comparable<OWLObject>
,HasAnnotationPropertiesInSignature
,HasAnonymousIndividuals
,HasClassesInSignature
,HasComponents
,HasContainsEntityInSignature
,HasDataPropertiesInSignature
,HasDatatypesInSignature
,HasHashIndex
,HasIndex
,HasIndividualsInSignature
,HasObjectPropertiesInSignature
,HasProperty<OWLObjectPropertyExpression>
,HasSignature
,IsAnonymous
,OWLAnonymousClassExpression
,OWLClassExpression
,OWLObject
,OWLPropertyRange
,OWLRestriction
,Serializable
,SWRLPredicate
- All Known Subinterfaces:
OWLObjectAllValuesFrom
,OWLObjectCardinalityRestriction
,OWLObjectExactCardinality
,OWLObjectHasSelf
,OWLObjectHasValue
,OWLObjectMaxCardinality
,OWLObjectMinCardinality
,OWLObjectSomeValuesFrom
,OWLQuantifiedObjectRestriction
- All Known Implementing Classes:
OWLObjectAllValuesFromImpl
,OWLObjectCardinalityRestrictionImpl
,OWLObjectExactCardinalityImpl
,OWLObjectHasSelfImpl
,OWLObjectHasValueImpl
,OWLObjectMaxCardinalityImpl
,OWLObjectMinCardinalityImpl
,OWLObjectSomeValuesFromImpl
,OWLQuantifiedObjectRestrictionImpl
public interface OWLObjectRestriction
extends OWLRestriction, HasProperty<OWLObjectPropertyExpression>
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 TypeMethodDescriptionGets the property/properties that the restriction acts along depending on R being a scalar or collection type.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
Methods inherited from interface org.semanticweb.owlapi.model.OWLRestriction
isDataRestriction
-
Method Details
-
getProperty
OWLObjectPropertyExpression getProperty()Gets the property/properties that the restriction acts along depending on R being a scalar or collection type.- Specified by:
getProperty
in interfaceHasProperty<OWLObjectPropertyExpression>
- Specified by:
getProperty
in interfaceOWLRestriction
- Returns:
- The property
-
isObjectRestriction
default boolean isObjectRestriction()Description copied from interface:OWLRestriction
Determines if this is an object restriction.- Specified by:
isObjectRestriction
in interfaceOWLRestriction
- Returns:
true
if this is an object restriction, otherwisefalse
-