Uses of Interface
org.apache.jena.ontapi.model.OntProperty
-
Uses of OntProperty in org.apache.jena.ontapi.impl.objects
Modifier and TypeClassDescriptionstatic class
OntSWRLImpl.PropertyAtomImpl<P extends OntProperty,
A extends OntSWRL.Arg> Modifier and TypeClassDescriptionclass
Implementation of Annotation Property abstraction (a URI-Resource
withowl:AnnotationProperty
type).class
An ontology object implementation with declarative typeowl:DatatypeProperty
.class
Implementation of the Object Property Expression abstraction.static class
static class
class
Property Expression base impl-class.class
Simple directOntProperty
implementation.Modifier and TypeMethodDescriptionstatic <X extends OntProperty>
booleanOntPropertyImpl.hasSuperProperty
(X property, X candidateSuper, Class<X> type, boolean direct) static <X extends OntProperty>
Stream<X>OntPropertyImpl.subProperties
(X property, Class<X> type, boolean direct) static <X extends OntProperty>
Stream<X>OntPropertyImpl.superProperties
(X property, Class<X> type, boolean direct) Modifier and TypeMethodDescriptionOntClassImpl.declaredProperties
(boolean direct) static Stream<OntProperty>
OntClassImpl.declaredProperties
(OntClass clazz, boolean direct) OntSimpleClassImpl.declaredProperties
(boolean direct) OntSimplePropertyImpl.subProperties
(boolean direct) OntSimplePropertyImpl.superProperties
(boolean direct) Modifier and TypeMethodDescriptionstatic <CE extends OntClass.CardinalityRestriction<?,
?>>
CEOntClassImpl.createCardinalityRestrictionCE
(OntGraphModelImpl model, Class<CE> view, OntProperty onProperty, int cardinality, OntObject object) static <CE extends OntClass.ComponentRestriction<?,
?>>
CEOntClassImpl.createComponentRestrictionCE
(OntGraphModelImpl model, Class<CE> view, OntProperty onProperty, org.apache.jena.rdf.model.RDFNode other, org.apache.jena.rdf.model.Property predicate) OntPropertyImpl.declaringClasses
(OntProperty property, boolean direct) boolean
OntClassImpl.hasDeclaredProperty
(OntProperty property, boolean direct) boolean
OntSimpleClassImpl.hasDeclaredProperty
(OntProperty property, boolean direct) boolean
OntAnnotationPropertyImpl.hasSuperProperty
(OntProperty property, boolean direct) boolean
OntDataPropertyImpl.hasSuperProperty
(OntProperty property, boolean direct) boolean
OntObjectPropertyImpl.hasSuperProperty
(OntProperty property, boolean direct) boolean
OntSimplePropertyImpl.hasSuperProperty
(OntProperty property, boolean direct) static boolean
OntClassImpl.testDomain
(OntClass clazz, OntProperty property, boolean direct) Answerstrue
if theclazz
is a domain ofproperty
. -
Uses of OntProperty in org.apache.jena.ontapi.model
Modifier and TypeInterfaceDescriptioninterface
Interface encapsulating a {named} Annotation Property.interface
Interface encapsulating the Ontology (Named) Data Property.interface
A common interface for any Ontology Object Property Expression.static interface
Represents a ObjectInverseOf.static interface
Interface encapsulating an Ontology Named Object Property.interface
A common (abstract) interface for any Ontology Data and Object Property expressions.Modifier and TypeMethodDescriptiondefault OntProperty
OntModel.createRDFProperty
(String uri) Creates namedrdf:Property
.default OntProperty
OntProperty.removeDomain
(org.apache.jena.rdf.model.Resource domain) Removes the specified domain resource (predicate isrdfs:domain
), including the corresponding statement's annotations.default OntProperty
OntProperty.removeRange
(org.apache.jena.rdf.model.Resource range) Removes the specified range resource (predicate isrdfs:range
), including the corresponding statement's annotations.default OntProperty
OntProperty.removeSubProperty
(org.apache.jena.rdf.model.Resource property) Removes the specified sub property (predicate isrdfs:subPropertyOf
), including the corresponding statement's annotations.default OntProperty
OntProperty.removeSuperProperty
(org.apache.jena.rdf.model.Resource property) Removes the specified super property (predicate isrdfs:subPropertyOf
), including the corresponding statement's annotations.Modifier and TypeMethodDescriptiondefault Stream<OntProperty>
OntClass.declaredProperties()
Equivalent tothis.declaredProperties(false)
OntClass.declaredProperties
(boolean direct) Returns aStream
over theproperties
associated with a frame-like view of this class.default Stream<OntProperty>
OntClass.properties()
Lists all properties attached to this class in ardfs:domain
statement.default Stream<OntProperty>
OntModel.properties()
Lists all OntProperties.default Stream<? extends OntProperty>
OntProperty.subProperties()
Lists all the properties that are declared to be sub-properties of this property (directly or indirectly).Stream<? extends OntProperty>
OntProperty.subProperties
(boolean direct) Answers aStream
over all the properties that are declared to be sub-properties of this property.default Stream<? extends OntProperty>
OntProperty.superProperties()
Lists all the properties that are declared to be super-properties of this property (directly or indirectly).Stream<? extends OntProperty>
OntProperty.superProperties
(boolean direct) Answers aStream
over all the properties that are declared to be super-properties of this property.Modifier and TypeMethodDescriptionboolean
OntClass.hasDeclaredProperty
(OntProperty property, boolean direct) Returnstrue
if the given property is associated with a frame-like view of this class.default boolean
OntProperty.hasSubProperty
(OntProperty property, boolean direct) Answerstrue
if the given property is a sub-property of this property.default boolean
OntProperty.hasSuperProperty
(OntProperty property, boolean direct) Answerstrue
if the given property is a super-property of this property.