Uses of Interface
org.apache.jena.ontapi.model.OntObject
Packages that use OntObject
Package
Description
-
Uses of OntObject in org.apache.jena.ontapi.common
Methods in org.apache.jena.ontapi.common with type parameters of type OntObjectModifier and TypeMethodDescriptiondefault <X extends OntObject>
voidLists all object-types encapsulated by this config, that extend the specified object-type.Methods in org.apache.jena.ontapi.common that return types with arguments of type OntObjectMethod parameters in org.apache.jena.ontapi.common with type arguments of type OntObjectModifier and TypeMethodDescriptionOntObjectPersonalityBuilder.add(Class<? extends OntObject> type, Function<OntConfig, EnhNodeFactory> factory) OntObjectPersonalityBuilder.add(Class<? extends OntObject> type, EnhNodeFactory factory) static EnhNodeFactoryOntEnhNodeFactories.createCommon(Class<? extends OntObject> type, EnhNodeProducer maker, EnhNodeFinder finder, EnhNodeFilter filter) static EnhNodeFactoryOntEnhNodeFactories.createFrom(EnhNodeFinder finder, Class<? extends OntObject> type, Class<? extends OntObject>... types) static EnhNodeFactoryOntEnhNodeFactories.createFrom(EnhNodeFinder finder, Stream<Class<? extends OntObject>> types) Gets system resources for the specified type.voidOntPersonalityImpl.register(Class<? extends OntObject> type, EnhNodeFactory factory) Registers new OntObject if neededRemoves object factory.voidOntPersonalityImpl.unregister(Class<? extends OntObject> view) Removes the factory. -
Uses of OntObject in org.apache.jena.ontapi.impl
Methods in org.apache.jena.ontapi.impl with type parameters of type OntObjectModifier and TypeMethodDescriptionstatic <X extends OntObject>
booleanHierarchySupport.contains(X root, X test, Function<X, Stream<X>> listChildren, boolean direct, boolean useBuiltinHierarchySupport) Answerstrueif the specifiedtestnode is in the closure of the specifiedrootnodes<T extends OntObject>
TOntGraphModelImpl.createOntObject(Class<T> type, String uri) Creates and caches an ontology object resource by the given type and uri.<O extends OntObject>
org.apache.jena.util.iterator.ExtendedIterator<O>OntGraphModelImpl.listLocalOntObjects(Class<? extends O> type) The same asOntGraphModelImpl.listOntObjects(Class), but for the base graph.<O extends OntObject>
org.apache.jena.util.iterator.ExtendedIterator<O>OntGraphModelImpl.listOntObjects(Class<? extends O> type) Lists allOntology Objects and caches them inside this model.static <M extends org.apache.jena.enhanced.EnhGraph & OntEnhGraph,O extends OntObject>
org.apache.jena.util.iterator.ExtendedIterator<O>OntGraphModelImpl.listOntObjects(M m, Class<? extends O> type) Lists allOntObjects for the givenOntGraphModelImpl.OntGraphModelImpl.ontObjects(Class<? extends O> type) Retrieves the stream ofOntology Objects.HierarchySupport.treeNodes(X root, Function<X, Stream<X>> listChildren, boolean direct, boolean useBuiltinHierarchySupport) Lists tree nodes for the given root usinglistChildrenfunction, which provides child nodes.Methods in org.apache.jena.ontapi.impl with parameters of type OntObjectModifier and TypeMethodDescription<E extends org.apache.jena.rdf.model.RDFNode>
OntListImpl<E>OntGraphModelImpl.asOntList(org.apache.jena.rdf.model.RDFList list, OntObject subject, org.apache.jena.rdf.model.Property predicate, boolean checkRecursions, org.apache.jena.rdf.model.Resource listType, Class<E> elementType) Wraps the existing given[]-listasONT-list.<E extends org.apache.jena.rdf.model.RDFNode>
OntListImpl<E>OntGraphModelImpl.asOntList(org.apache.jena.rdf.model.RDFList list, OntObject subject, org.apache.jena.rdf.model.Property predicate, Class<E> type) Wraps the existing given[]-listasONT-list.<E extends org.apache.jena.rdf.model.RDFNode>
OntListImpl<E>OntGraphModelImpl.createOntList(OntObject subject, org.apache.jena.rdf.model.Property predicate, Class<E> type, Iterator<E> elements) Creates ONT-List with given elements and other settings.<E extends org.apache.jena.rdf.model.RDFNode>
OntListImpl<E>OntGraphModelImpl.createOntList(OntObject subject, org.apache.jena.rdf.model.Property predicate, org.apache.jena.rdf.model.Resource listType, Class<E> elementType, Iterator<E> elements) Creates ONT-List with given elements and other settings.OntGraphModelImpl.deleteOntList(OntObject subject, org.apache.jena.rdf.model.Property predicate, OntList<?> object) Deletes the specifiedOntListincluding its annotations.OntGraphModelImpl.removeOntObject(OntObject obj) -
Uses of OntObject in org.apache.jena.ontapi.impl.objects
Classes in org.apache.jena.ontapi.impl.objects with type parameters of type OntObjectModifier and TypeClassDescriptionstatic classOntClassImpl.CardinalityRestrictionImpl<O extends OntObject,P extends OntRelationalProperty, R extends OntClassImpl.CardinalityRestrictionImpl<?, ?, ?>> Abstraction for any cardinality restriction.static classOntClassImpl.NaryRestrictionImpl<O extends OntObject,P extends OntRelationalProperty, R extends OntClassImpl.NaryRestrictionImpl<?, ?, ?>> classOntDisjointImpl<O extends OntObject>Implementation for anonymousowl:AllDisjointProperties,owl:AllDisjointClasses,owl:AllDifferentsections.static classOntSWRLImpl.AtomImpl<P extends OntObject>static classOntSWRLImpl.BinaryImpl<O extends OntObject,F extends OntSWRL.Arg, S extends OntSWRL.Arg> static classOntSWRLImpl.UnaryImpl<O extends OntObject,A extends OntSWRL.Arg> Classes in org.apache.jena.ontapi.impl.objects that implement OntObjectModifier and TypeClassDescriptionclassThe implementation ofAnnotationOntology Object.classImplementation of Annotation Property abstraction (a URI-Resourcewithowl:AnnotationPropertytype).classA base class for any class-expression implementation.static classOntClassImpl.CardinalityRestrictionImpl<O extends OntObject,P extends OntRelationalProperty, R extends OntClassImpl.CardinalityRestrictionImpl<?, ?, ?>> Abstraction for any cardinality restriction.static classstatic classOntClassImpl.ComponentRestrictionImpl<O extends org.apache.jena.rdf.model.RDFNode,P extends OntRelationalProperty, R extends OntClassImpl.ComponentRestrictionImpl<?, ?, ?>> Abstract base component-restriction class.static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classOntClassImpl.NaryRestrictionImpl<O extends OntObject,P extends OntRelationalProperty, R extends OntClassImpl.NaryRestrictionImpl<?, ?, ?>> static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classOntClassImpl.OnPropertyRestrictionImpl<P extends OntRelationalProperty,R extends OntClassImpl> Abstract implementation for any restriction withowl:onPropertypredicate.static classstatic classstatic classstatic classstatic classBase for allOntClass.Restrictionimpls.static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classclassAn ontology object implementation with declarative typeowl:DatatypeProperty.classImplementation for Data Range Expressions.static classstatic classstatic classstatic classstatic classclassOntDisjointImpl<O extends OntObject>Implementation for anonymousowl:AllDisjointProperties,owl:AllDisjointClasses,owl:AllDifferentsections.static classstatic classstatic classstatic classstatic classstatic classDisjointClasses := 'DisjointClasses' '(' axiomAnnotations subClassExpression subClassExpression { subClassExpression } ')'classImplementation of Facet Restrictionsstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classclassAn Ontology ID Implementation.classAnOntIndividualimplementation, both for anonymous and named individuals.static classSee description to the interfaceOntIndividual.Anonymous.static classRepresents a named individual.classNamed entity withrdf:type = rdfs:Datatype.classOntNegativePropertyAssertionImpl<P extends OntRelationalProperty,T extends org.apache.jena.rdf.model.RDFNode> Implementation of the Negative Property Assertion.static classstatic classclassThe base for any Ontology ObjectResourceimplementation.classImplementation of the Object Property Expression abstraction.static classstatic classclassProperty Expression base impl-class.classSimple Ontology Class implementation.static classPrimary (named) class (<uri> a owl:Class).static classA version of Named class for RL specification.classSimple directOntPropertyimplementation.classOnt SWRL Object Implementation.static classOntSWRLImpl.AtomImpl<P extends OntObject>static classOntSWRLImpl.BinaryImpl<O extends OntObject,F extends OntSWRL.Arg, S extends OntSWRL.Arg> static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classOntSWRLImpl.PropertyAtomImpl<P extends OntProperty,A extends OntSWRL.Arg> static classstatic classOntSWRLImpl.UnaryImpl<O extends OntObject,A extends OntSWRL.Arg> static classMethods in org.apache.jena.ontapi.impl.objects with type parameters of type OntObjectModifier and TypeMethodDescriptionstatic <R extends OntDisjoint<?>,E extends OntObject>
ROntDisjointImpl.create(OntGraphModelImpl model, org.apache.jena.rdf.model.Resource type, Class<R> resultType, Class<E> memberType, Stream<E> members, org.apache.jena.rdf.model.Property membersPredicate) static <CE extends OntClass.CollectionOf<?>,R extends OntObject>
CEOntClassImpl.createComponentsCE(OntGraphModelImpl model, Class<CE> returnType, Class<R> componentType, org.apache.jena.rdf.model.Property predicate, Stream<R> components) OntObjectImpl.subjects(org.apache.jena.rdf.model.Property predicate, OntObject object, Class<X> type) Methods in org.apache.jena.ontapi.impl.objects that return OntObjectModifier and TypeMethodDescriptionOntStatementImpl.getSubject()static OntObjectOntObjectImpl.wrapAsOntObject(org.apache.jena.graph.Node node, org.apache.jena.enhanced.EnhGraph model) Creates a freshOntObjectinstance.Methods in org.apache.jena.ontapi.impl.objects that return types with arguments of type OntObjectModifier and TypeMethodDescriptionOntObjectImpl.findActualClass(Class<? extends OntObject> type) OntObjectImpl.findActualClass(OntObject o) Finds a publicOntology Objectclass-type.OntAnnotationImpl.objectType()OntDataRangeImpl.ComplementOfImpl.objectType()OntDataRangeImpl.IntersectionOfImpl.objectType()OntDataRangeImpl.OneOfImpl.objectType()OntDataRangeImpl.UnionOfImpl.objectType()OntDisjointImpl.ClassesImpl.objectType()OntDisjointImpl.DataPropertiesImpl.objectType()OntDisjointImpl.IndividualsImpl.objectType()OntDisjointImpl.ObjectPropertiesImpl.objectType()OntDisjointImpl.QLRLClassesImpl.objectType()OntIndividualImpl.AnonymousImpl.objectType()OntIndividualImpl.NamedImpl.objectType()OntObjectImpl.objectType()Gets a public ont-object type identifier.OntObjectPropertyImpl.InversePropertyImpl.objectType()OntSimplePropertyImpl.objectType()OntSWRLImpl.BuiltInAtomImpl.objectType()OntSWRLImpl.BuiltinImpl.objectType()OntSWRLImpl.DArgImpl.objectType()OntSWRLImpl.DataPropertyAtomImpl.objectType()OntSWRLImpl.DataRangeAtomImpl.objectType()OntSWRLImpl.DifferentIndividualsAtomImpl.objectType()OntSWRLImpl.IArgImpl.objectType()OntSWRLImpl.ImpImpl.objectType()OntSWRLImpl.ObjectPropertyAtomImpl.objectType()OntSWRLImpl.OntClassAtomImpl.objectType()OntSWRLImpl.SameIndividualsAtomImpl.objectType()OntSWRLImpl.VariableImpl.objectType()Methods in org.apache.jena.ontapi.impl.objects with parameters of type OntObjectModifier and TypeMethodDescriptionstatic <N extends org.apache.jena.rdf.model.RDFNode>
OntListImpl<N>OntListImpl.asOntList(org.apache.jena.rdf.model.RDFList list, OntGraphModelImpl model, OntObject subject, org.apache.jena.rdf.model.Property predicate, org.apache.jena.rdf.model.Resource listType, Class<N> elementType) Wraps the existingRDFListasOntList.static <N extends org.apache.jena.rdf.model.RDFNode>
OntListImpl<N>OntListImpl.asSafeOntList(org.apache.jena.rdf.model.RDFList list, OntGraphModelImpl model, OntObject subject, org.apache.jena.rdf.model.Property predicate, org.apache.jena.rdf.model.Resource listType, Class<N> elementType) Wraps the existingRDFListasOntList.static voidOntListImpl.checkRequiredInputs(OntObject s, org.apache.jena.rdf.model.Property p, org.apache.jena.rdf.model.RDFNode o, org.apache.jena.rdf.model.Resource listType, Class<?> elementType) static voidOntListImpl.checkRequiredInputs(OntObject s, org.apache.jena.rdf.model.Property p, org.apache.jena.rdf.model.Resource listType, Class<?> elementType) static <N extends org.apache.jena.rdf.model.RDFNode>
OntListImpl<N>OntListImpl.create(OntGraphModelImpl model, OntObject subject, org.apache.jena.rdf.model.Property predicate, org.apache.jena.rdf.model.Resource listType, Class<N> elementType, org.apache.jena.util.iterator.ExtendedIterator<N> elements) Creates a freshOntListwith the givenelementTypeas a type constraint containing all content from the specifiedExtendedIteratorpreserving the original order.static <CE extends OntClass.CardinalityRestriction<?,?>>
CEOntClassImpl.createCardinalityRestrictionCE(OntGraphModelImpl model, Class<CE> view, OntProperty onProperty, int cardinality, OntObject object) OntObjectImpl.findActualClass(OntObject o) Finds a publicOntology Objectclass-type.static booleanOntClassImpl.isQualified(OntObject c) static booleanOntObjectImpl.isReservedOrBuiltin(OntObject object) Returnstrueif the given object is from reserved vocabulary (e.g.OntListImpl.stream(OntGraphModelImpl model, OntObject subject, org.apache.jena.rdf.model.Property predicate, Class<N> elementType) Lists all rdf-lists by subject and predicate in the form ofOntList.OntObjectImpl.subjects(org.apache.jena.rdf.model.Property predicate, OntObject object, Class<X> type) Method parameters in org.apache.jena.ontapi.impl.objects with type arguments of type OntObjectModifier and TypeMethodDescriptionstatic OntSWRL.ImpOntSWRLImpl.createImp(OntGraphModelImpl model, Collection<OntSWRL.Atom<? extends OntObject>> head, Collection<OntSWRL.Atom<? extends OntObject>> body) OntObjectImpl.findActualClass(Class<? extends OntObject> type) -
Uses of OntObject in org.apache.jena.ontapi.model
Classes in org.apache.jena.ontapi.model with type parameters of type OntObjectModifier and TypeInterfaceDescriptionstatic interfaceOntClass.CardinalityRestriction<O extends OntObject,P extends OntRelationalProperty> An abstraction for Cardinality Restrictions.static interfaceOntClass.CollectionOf<O extends OntObject>An abstract class expression that unites class expressions consisting of multiple components.static interfaceOntClass.NaryRestriction<O extends OntObject,P extends OntRelationalProperty> An abstraction that unites allRestrictions with the predicateowl:onProperties.interfaceOntDisjoint<O extends OntObject>Interface encapsulating an anonymous resource-collection of objects in an ontology with one of the following types:owl:AllDisjointProperties,owl:AllDisjointClasses,owl:AllDifferent).static interfaceOntSWRL.Atom<P extends OntObject>A base abstraction for SWRL-Atom.static interfaceOntSWRL.Atom.Binary<P extends OntObject,F extends OntSWRL.Arg, S extends OntSWRL.Arg> A binary atom abstraction.static interfaceOntSWRL.Atom.Unary<P extends OntObject,A extends OntSWRL.Arg> A unary atom abstraction.Subinterfaces of OntObject in org.apache.jena.ontapi.modelModifier and TypeInterfaceDescriptioninterfaceA Bulk AnnotationOntology Object.interfaceInterface encapsulating a {named} Annotation Property.interfaceA base abstraction for any Class Expressions (both named and anonymous).static interfaceOntClass.CardinalityRestriction<O extends OntObject,P extends OntRelationalProperty> An abstraction for Cardinality Restrictions.static interfaceOntClass.CollectionOf<O extends OntObject>An abstract class expression that unites class expressions consisting of multiple components.static interfacestatic interfaceOntClass.ComponentRestriction<O extends org.apache.jena.rdf.model.RDFNode,P extends OntRelationalProperty> An abstract class expression (Restriction) that has component (i.e., 'filler' in OWL-API terms): all Cardinality Restrictions, Existential/Universal Restrictions, Individual/Literal Value Restrictions.static interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfaceDescribes Boolean Connectives and Enumeration of Individuals (OntClass.ComplementOf,OntClass.UnionOf,OntClass.IntersectionOfandOntClass.OneOf).static interfaceAn Ontology ClassEntity, a named class expression.static interfacestatic interfacestatic interfaceOntClass.NaryRestriction<O extends OntObject,P extends OntRelationalProperty> An abstraction that unites allRestrictions with the predicateowl:onProperties.static interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfaceA supertype for all class expressions with the typeOWL2.Restriction.static interfaceOntClass.UnaryRestriction<P extends OntRelationalProperty>An abstract class expression that unites allRestrictions with the predicateowl:onProperty.static interfacestatic interfaceOntClass.ValueRestriction<O extends org.apache.jena.rdf.model.RDFNode,P extends OntRelationalProperty> An abstract for *Value*Restrictions (e.g.interfaceInterface encapsulating the Ontology (Named) Data Property.interfaceA base abstraction for Ontology Data Range Expressions (both named and anonymous).static interfaceOntDataRange.Combination<N extends org.apache.jena.rdf.model.RDFNode>An abstract datarange that unites DataRanges consisting of multiple components.static interfacestatic interfacestatic interfaceInterface encapsulating an Ontology Datatype,OWL Entity, a nameddata rangeexpression.static interfacestatic interfacestatic interfaceinterfaceOntDisjoint<O extends OntObject>Interface encapsulating an anonymous resource-collection of objects in an ontology with one of the following types:owl:AllDisjointProperties,owl:AllDisjointClasses,owl:AllDifferent).static interfacestatic interfacestatic interfacestatic interfacestatic interfaceOntDisjoint.Properties<P extends OntRelationalProperty>Abstraction for Pairwise Disjoint Properties anonymousOntology Object.interfaceThe base interface for OWL entities, which are always URI-Resource.interfaceInterface encapsulating an Ontology Facet Restriction abstraction.static interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfaceinterfaceInterface encapsulating an Ontology Identifier.interfaceInterface for named and anonymous individuals.static interfaceAn interface for Anonymous Individuals.static interfaceAn interface for Named Individual which is anEntity OntEntity.interfaceOntNamedProperty<P extends OntNamedProperty<P>>interfaceOntNegativeAssertion<P extends OntRelationalProperty,V extends org.apache.jena.rdf.model.RDFNode> Interface representing the Negative Property Assertion abstraction, where predicate (property) is expected to be either ontologydata property(R) orobject property exception(P).static interfacestatic interfaceinterfaceA common interface for any Ontology Object Property Expression.static interfaceRepresents a ObjectInverseOf.static interfaceInterface encapsulating an Ontology Named Object Property.interfaceAn abstraction for any Ontology Property Expression.interfaceA common (abstract) interface for any Ontology Data and Object Property expressions.interfaceA base for SWRL addition.static interfaceIt is not a SWRL Object, but just a plainOntObject.static interfaceOntSWRL.Atom<P extends OntObject>A base abstraction for SWRL-Atom.static interfaceOntSWRL.Atom.Binary<P extends OntObject,F extends OntSWRL.Arg, S extends OntSWRL.Arg> A binary atom abstraction.static interfaceOntSWRL.Atom.Unary<P extends OntObject,A extends OntSWRL.Arg> A unary atom abstraction.static interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfaceRepresentsSWRL.Builtinentity.static interfaceAn interface that represents eitherLiteralorOntSWRL.Variable.static interfaceAn interface that represents eitherOntIndividualorOntSWRL.Variable.static interfacestatic interfaceRepresentsSWRL.Variableentity.Methods in org.apache.jena.ontapi.model with type parameters of type OntObjectModifier and TypeMethodDescriptionOntModel.ontObjects(Class<? extends O> type) Lists all ont-objects of the specified type.Methods in org.apache.jena.ontapi.model that return OntObjectModifier and TypeMethodDescriptiondefault OntObjectOntObject.addComment(String txt) Creates_:this rdfs:comment "txt"^^xsd:stringstatement.default OntObjectOntObject.addComment(String txt, String lang) Adds the given localized text annotation with builtinrdfs:commentpredicate.default OntObjectCreates_:this rdfs:label "txt"^^xsd:stringstatement.default OntObjectAdds the given localized text annotation with builtinrdfs:labelpredicate.default OntObjectOntObject.annotate(OntAnnotationProperty predicate, String txt, String lang) Adds a language-tagged text for this object and the givenpredicatedefault OntObjectOntObject.annotate(OntAnnotationProperty predicate, org.apache.jena.rdf.model.RDFNode value) Annotates the object with the givenpredicateandvalue.OntObject.clearAnnotations()Removes all root annotations including their sub-annotations hierarchy.OntStatement.getSubject()An accessor method to return the subject of the statements in form ofOntology Object.OntObject.remove(org.apache.jena.rdf.model.Property property, org.apache.jena.rdf.model.RDFNode object) Deletes the specific property-value pair from this object.Methods in org.apache.jena.ontapi.model that return types with arguments of type OntObjectModifier and TypeMethodDescriptionOntObject.objectType()Gets a public ont-object type identifier.OntRelationalProperty.ranges()Lists all property ranges, i.e., all objects from statements with this property as a subject andrdfs:rangeas predicate.Methods in org.apache.jena.ontapi.model with parameters of type OntObjectModifier and TypeMethodDescriptionOntModel.removeOntObject(OntObject obj) Removes the givenOntology Objectfrom the graph-model including itscontentand annotations. -
Uses of OntObject in org.apache.jena.ontapi.utils
Methods in org.apache.jena.ontapi.utils with type parameters of type OntObjectModifier and TypeMethodDescriptionOntModels.getOntType(O object) Determines the actual ontology object type.static <O extends OntObject>
org.apache.jena.util.iterator.ExtendedIterator<O>OntModels.listLocalObjects(OntModel model, Class<? extends O> type) Lists all ontology objects with the giventypethat are defined in the base graph.Methods in org.apache.jena.ontapi.utils with parameters of type OntObjectModifier and TypeMethodDescriptionstatic org.apache.jena.util.iterator.ExtendedIterator<OntStatement>OntModels.listAnnotations(OntObject o) Lists all direct object's annotations.