Package org.semanticweb.owlapi.model
Interface OWLDataRestriction
- All Superinterfaces:
AsOWLClass
,Comparable<OWLObject>
,HasAnnotationPropertiesInSignature
,HasAnonymousIndividuals
,HasClassesInSignature
,HasComponents
,HasContainsEntityInSignature
,HasDataPropertiesInSignature
,HasDatatypesInSignature
,HasHashIndex
,HasIndex
,HasIndividualsInSignature
,HasObjectPropertiesInSignature
,HasProperty<OWLDataPropertyExpression>
,HasSignature
,IsAnonymous
,OWLAnonymousClassExpression
,OWLClassExpression
,OWLObject
,OWLPropertyRange
,OWLRestriction
,Serializable
,SWRLPredicate
- All Known Subinterfaces:
OWLDataAllValuesFrom
,OWLDataCardinalityRestriction
,OWLDataExactCardinality
,OWLDataHasValue
,OWLDataMaxCardinality
,OWLDataMinCardinality
,OWLDataSomeValuesFrom
,OWLQuantifiedDataRestriction
- All Known Implementing Classes:
OWLDataAllValuesFromImpl
,OWLDataCardinalityRestrictionImpl
,OWLDataExactCardinalityImpl
,OWLDataHasValueImpl
,OWLDataMaxCardinalityImpl
,OWLDataMinCardinalityImpl
,OWLDataSomeValuesFromImpl
,OWLQuantifiedDataRestrictionImpl
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 a data 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
isObjectRestriction
-
Method Details
-
getProperty
OWLDataPropertyExpression getProperty()Gets the property/properties that the restriction acts along depending on R being a scalar or collection type.- Specified by:
getProperty
in interfaceHasProperty<OWLDataPropertyExpression>
- Specified by:
getProperty
in interfaceOWLRestriction
- Returns:
- The property
-
isDataRestriction
default boolean isDataRestriction()Description copied from interface:OWLRestriction
Determines if this is a data restriction.- Specified by:
isDataRestriction
in interfaceOWLRestriction
- Returns:
true
if this is a data restriction, otherwisefalse
-