Uses of Interface
org.apache.jena.ontapi.model.OntClass
Packages that use OntClass
Package
Description
-
Uses of OntClass in org.apache.jena.ontapi.impl
Methods in org.apache.jena.ontapi.impl that return types with arguments of type OntClassModifier and TypeMethodDescriptionOntGraphModelImpl.hierarchyRoots()org.apache.jena.util.iterator.ExtendedIterator<OntClass>OntGraphModelImpl.listHierarchyRoots()Methods in org.apache.jena.ontapi.impl with parameters of type OntClassModifier and TypeMethodDescriptionOntGraphModelImpl.createClassSWRLAtom(OntClass clazz, OntSWRL.IArg arg) OntGraphModelImpl.createIndividual(String uri, OntClass type) OntGraphModelImpl.createObjectAllValuesFrom(OntObjectProperty property, OntClass ce) OntGraphModelImpl.createObjectCardinality(OntObjectProperty property, int cardinality, OntClass ce) OntGraphModelImpl.createObjectComplementOf(OntClass ce) OntGraphModelImpl.createObjectMaxCardinality(OntObjectProperty property, int cardinality, OntClass ce) OntGraphModelImpl.createObjectMinCardinality(OntObjectProperty property, int cardinality, OntClass ce) OntGraphModelImpl.createObjectSomeValuesFrom(OntObjectProperty property, OntClass ce) Method parameters in org.apache.jena.ontapi.impl with type arguments of type OntClassModifier and TypeMethodDescriptionOntGraphModelImpl.createDisjointClasses(Collection<OntClass> classes) OntGraphModelImpl.createObjectIntersectionOf(Collection<OntClass> classes) OntGraphModelImpl.createObjectUnionOf(Collection<OntClass> classes) -
Uses of OntClass in org.apache.jena.ontapi.impl.objects
Classes in org.apache.jena.ontapi.impl.objects that implement OntClassModifier and TypeClassDescriptionclassA 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 classclassSimple Ontology Class implementation.static classPrimary (named) class (<uri> a owl:Class).static classA version of Named class for RL specification.Methods in org.apache.jena.ontapi.impl.objects that return OntClassModifier and TypeMethodDescriptionOntClassImpl.addDisjointClass(OntClass other) OntSimpleClassImpl.addDisjointClass(OntClass other) OntClassImpl.QLComplementOfImpl.asAssertionClass()OntClassImpl.QLDataSomeValuesFromImpl.asAssertionClass()OntClassImpl.QLIntersectionOfImpl.asAssertionClass()OntClassImpl.QLObjectSomeValuesFromImpl.asAssertionClass()OntClassImpl.RLComplementOfImpl.asAssertionClass()OntClassImpl.RLDataSomeValuesFromImpl.asAssertionClass()OntClassImpl.RLIntersectionOfImpl.asAssertionClass()OntClassImpl.RLObjectSomeValuesFromImpl.asAssertionClass()OntClassImpl.RLOneOfImpl.asAssertionClass()OntClassImpl.QLIntersectionOfImpl.asDisjointClass()OntClassImpl.QLObjectSomeValuesFromImpl.asDisjointClass()OntClassImpl.RLComplementOfImpl.asDisjointClass()OntClassImpl.RLDataAllValuesFromImpl.asDisjointClass()OntClassImpl.RLDataMaxCardinalityImpl.asDisjointClass()OntClassImpl.RLIntersectionOfImpl.asDisjointClass()OntClassImpl.RLObjectAllValuesFromImpl.asDisjointClass()OntClassImpl.RLObjectMaxCardinalityImpl.asDisjointClass()OntSimpleClassImpl.RLNamedImpl.asDisjointClass()OntClassImpl.QLIntersectionOfImpl.asEquivalentClass()OntClassImpl.QLObjectSomeValuesFromImpl.asEquivalentClass()OntClassImpl.RLComplementOfImpl.asEquivalentClass()OntClassImpl.RLDataAllValuesFromImpl.asEquivalentClass()OntClassImpl.RLDataMaxCardinalityImpl.asEquivalentClass()OntClassImpl.RLDataSomeValuesFromImpl.asEquivalentClass()OntClassImpl.RLIntersectionOfImpl.asEquivalentClass()OntClassImpl.RLObjectAllValuesFromImpl.asEquivalentClass()OntClassImpl.RLObjectMaxCardinalityImpl.asEquivalentClass()OntClassImpl.RLObjectSomeValuesFromImpl.asEquivalentClass()OntClassImpl.RLOneOfImpl.asEquivalentClass()OntClassImpl.RLUnionOfImpl.asEquivalentClass()OntSimpleClassImpl.RLNamedImpl.asEquivalentClass()OntClassImpl.QLComplementOfImpl.asSubClass()OntClassImpl.QLIntersectionOfImpl.asSubClass()OntClassImpl.QLObjectSomeValuesFromImpl.asSubClass()OntClassImpl.RLComplementOfImpl.asSubClass()OntClassImpl.RLDataAllValuesFromImpl.asSubClass()OntClassImpl.RLDataMaxCardinalityImpl.asSubClass()OntClassImpl.RLIntersectionOfImpl.asSubClass()OntClassImpl.RLObjectAllValuesFromImpl.asSubClass()OntClassImpl.RLObjectMaxCardinalityImpl.asSubClass()OntSimpleClassImpl.RLNamedImpl.asSubClass()OntClassImpl.QLObjectSomeValuesFromImpl.asSuperClass()OntClassImpl.RLComplementOfImpl.asSuperClass()OntClassImpl.RLDataSomeValuesFromImpl.asSuperClass()OntClassImpl.RLIntersectionOfImpl.asSuperClass()OntClassImpl.RLObjectSomeValuesFromImpl.asSuperClass()OntClassImpl.RLOneOfImpl.asSuperClass()OntClassImpl.RLUnionOfImpl.asSuperClass()OntSimpleClassImpl.RLNamedImpl.asSuperClass()OntClassImpl.ComplementOfImpl.getValue()OntClassImpl.removeDisjointClass(org.apache.jena.rdf.model.Resource other) OntSimpleClassImpl.removeDisjointClass(org.apache.jena.rdf.model.Resource other) OntClassImpl.removeEquivalentClass(org.apache.jena.rdf.model.Resource other) OntSimpleClassImpl.removeEquivalentClass(org.apache.jena.rdf.model.Resource other) Methods in org.apache.jena.ontapi.impl.objects that return types with arguments of type OntClassModifier and TypeMethodDescriptionOntIndividualImpl.classes(boolean direct) Returns aStreamof all class-types, including their super-classes if the parameterdirectisfalse.OntClassImpl.QLIntersectionOfImpl.components()OntClassImpl.RLUnionOfImpl.components()OntSimpleClassImpl.NamedImpl.createDisjointUnion(Collection<OntClass> classes) OntAnnotationPropertyImpl.declaringClasses(boolean direct) OntDataPropertyImpl.declaringClasses(boolean direct) OntObjectPropertyImpl.declaringClasses(boolean direct) OntPropertyImpl.declaringClasses(OntProperty property, boolean direct) OntSimplePropertyImpl.declaringClasses(boolean direct) OntClassImpl.disjointClasses()OntClassImpl.disjointClasses(OntGraphModelImpl m, OntClass clazz) OntSimpleClassImpl.disjointClasses()OntSimpleClassImpl.NamedImpl.disjointUnions()OntClassImpl.equivalentClasses()OntClassImpl.equivalentClasses(OntGraphModelImpl m, OntClass clazz) OntSimpleClassImpl.equivalentClasses()org.apache.jena.util.iterator.ExtendedIterator<OntClass>OntIndividualImpl.listClasses()Lists all right parts from class assertion statements where this individual is at subject position.OntDisjointImpl.QLRLClassesImpl.members()OntClassImpl.NaryDataAllValuesFromImpl.objectType()OntClassImpl.NaryDataSomeValuesFromImpl.objectType()OntClassImpl.NaryRestrictionImpl.objectType()OntClassImpl.objectType()OntClassImpl.OnPropertyRestrictionImpl.objectType()OntClassImpl.RestrictionImpl.objectType()OntSimpleClassImpl.objectType()OntClassImpl.subClasses(boolean direct) OntClassImpl.subClasses(OntClass clazz, boolean direct) OntSimpleClassImpl.subClasses(boolean direct) OntClassImpl.superClasses(boolean direct) OntClassImpl.superClasses(OntClass clazz, boolean direct) OntSimpleClassImpl.superClasses(boolean direct) Methods in org.apache.jena.ontapi.impl.objects with parameters of type OntClassModifier and TypeMethodDescriptionstatic voidOntClassImpl.addDisjoint(OntGraphModelImpl m, OntClass clazz, OntClass other) OntClassImpl.addDisjointClass(OntClass other) OntSimpleClassImpl.addDisjointClass(OntClass other) OntSimpleClassImpl.NamedImpl.addDisjointClass(OntClass other) static OntStatementOntClassImpl.addDisjointWithStatement(OntGraphModelImpl m, OntClass clazz, OntClass other) OntClassImpl.addDisjointWithStatement(OntClass other) OntSimpleClassImpl.addDisjointWithStatement(OntClass other) static OntStatementOntClassImpl.addEquivalentClass(OntGraphModelImpl m, OntClass clazz, OntClass other) OntClassImpl.addEquivalentClassStatement(OntClass other) OntSimpleClassImpl.addEquivalentClassStatement(OntClass other) static OntIndividual.AnonymousOntClassImpl.createAnonymousIndividual(OntGraphModelImpl model, OntClass source) static OntSWRL.Atom.WithClassOntSWRLImpl.createClassAtom(OntGraphModelImpl model, OntClass clazz, OntSWRL.IArg arg) static OntClass.ComplementOfOntClassImpl.createComplementOf(OntGraphModelImpl model, OntClass other) static OntList<OntRelationalProperty>OntClassImpl.createHasKey(OntGraphModelImpl m, OntClass clazz, Stream<? extends OntRelationalProperty> collection) static OntIndividual.NamedOntClassImpl.createNamedIndividual(OntGraphModelImpl model, OntClass source, String uri) static Stream<OntProperty>OntClassImpl.declaredProperties(OntClass clazz, boolean direct) OntClassImpl.disjointClasses(OntGraphModelImpl m, OntClass clazz) OntClassImpl.equivalentClasses(OntGraphModelImpl m, OntClass clazz) booleanOntIndividualImpl.hasOntClass(OntClass clazz, boolean direct) booleanOntClassImpl.hasSuperClass(OntClass clazz, boolean direct) static booleanOntClassImpl.hasSuperClass(OntClass clazz, OntClass candidateSuper, boolean direct) booleanOntSimpleClassImpl.hasSuperClass(OntClass clazz, boolean direct) static booleanOntClassImpl.isDisjoint(OntClass clazz, org.apache.jena.rdf.model.Resource candidate) static booleanOntClassImpl.isHierarchyRoot(OntClass clazz) static Stream<OntList<OntRelationalProperty>>OntClassImpl.listHasKeys(OntGraphModelImpl m, OntClass clazz) static voidOntClassImpl.removeDisjoint(OntGraphModelImpl m, OntClass clazz, org.apache.jena.rdf.model.Resource other) static voidOntClassImpl.removeEquivalentClass(OntGraphModelImpl m, OntClass clazz, org.apache.jena.rdf.model.Resource other) static voidOntClassImpl.removeHasKey(OntGraphModelImpl m, OntClass clazz, org.apache.jena.rdf.model.RDFNode rdfList) OntClassImpl.subClasses(OntClass clazz, boolean direct) OntClassImpl.superClasses(OntClass clazz, boolean direct) static booleanOntClassImpl.testDomain(OntClass clazz, OntProperty property, boolean direct) Answerstrueif theclazzis a domain ofproperty.Method parameters in org.apache.jena.ontapi.impl.objects with type arguments of type OntClassModifier and TypeMethodDescriptionstatic OntDisjoint.ClassesOntDisjointImpl.createDisjointClasses(OntGraphModelImpl model, Stream<OntClass> classes) OntSimpleClassImpl.NamedImpl.createDisjointUnion(Collection<OntClass> classes) -
Uses of OntClass in org.apache.jena.ontapi.model
Subinterfaces of OntClass in org.apache.jena.ontapi.modelModifier 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 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.Methods in org.apache.jena.ontapi.model that return OntClassModifier and TypeMethodDescriptiondefault OntClassOntClass.addDisjointClass(OntClass other) Adds the given class as a disjoint class and returns this class expression instance to allow cascading calls.default OntClassOntClass.addEquivalentClass(OntClass other) Adds a new equivalent class.default OntClassOntClass.addHasKey(Collection<OntObjectProperty> objectProperties, Collection<OntDataProperty> dataProperties) Creates anowl:hasKeystatement returning this class to allow cascading calls.default OntClassOntClass.addHasKey(OntRelationalProperty... properties) Creates anowl:hasKeystatement returning this class to allow cascading calls.default OntClassOntClass.addSubClass(OntClass other) Adds the given class as a subclass and returns this class expression instance to allow cascading calls.default OntClassOntClass.addSuperClass(OntClass other) Adds the given class as a superclass and returns this class expression instance to allow cascading calls.default OntClassOntClass.asAssertionClass()Returns the assertion-view of this class if the specification allows this class to make class assertions, otherwise throws exception.default OntClassOntClass.asDisjointClass()Returns the disjoint-class-view of this class if the specification allows this to be in disjoint position (owl:disjointWith,owl:AllDisjointClasses), otherwise throws exception.default OntClassOntClass.asEquivalentClass()Returns the equivalent-class-view of this class if the specification allows this class to be in equivalent position (owl:equivalentClass), otherwise throws exception.default OntClassOntClass.asSubClass()Returns the subclass-view of this class if the specification allows this class to be in subclass position, otherwise throws exception.default OntClassOntClass.asSuperClass()Returns the superclass-view of this class if the specification allows this class to be in superclass position, otherwise throws exception.default OntClassOntClass.clearHasKeys()Deletes allHasKey[]-list including its annotations, i.e., all those statements with the predicateowl:hasKeyfor which this resource is a subject.default OntClassOntClass.removeDisjointClass(org.apache.jena.rdf.model.Resource other) Removes the specified disjoint class resource.default OntClassOntClass.removeEquivalentClass(org.apache.jena.rdf.model.Resource other) Removes the given equivalent class resource including the statement's annotations.OntClass.removeHasKey(org.apache.jena.rdf.model.Resource list) Deletes the givenHasKeylist including its annotations.default OntClassOntClass.removeIndividual(org.apache.jena.rdf.model.Resource individual) Removes the given individual from the set of instances that are members of this class.default OntClassOntClass.removeSubClass(org.apache.jena.rdf.model.Resource other) Removes a subclass relationship for the given resource including all possible annotations.default OntClassOntClass.removeSuperClass(org.apache.jena.rdf.model.Resource other) Removes a superclass relationship for the given resource including all possible annotations.Methods in org.apache.jena.ontapi.model that return types with arguments of type OntClassModifier and TypeMethodDescriptionOntIndividual.classes()Returns all class types (direct and indirect).OntIndividual.classes(boolean direct) Answers aStreamover the class expressions to which this individual belongs, including super-classes if the flagdirectisfalse.OntClass.Named.createDisjointUnion(Collection<OntClass> classes) Creates aDisjointUnionasontology []-listofClass Expressions that is attached to this OWL Class using the predicateowl:disjointUnionOf.OntProperty.declaringClasses(boolean direct) Answers aStreamof all the classes in this ontology, such that each returned class has this property as one of its properties indeclaredProperties(boolean).OntClass.disjointClasses()Returns disjoint class-objects.OntClass.Named.disjointUnions()Lists allDisjointUnionontology lists that are attached to this OWL Class on predicateowl:disjointUnionOf.OntRelationalProperty.domains()Lists all the declared domain class expressions of this property expression.OntRelationalProperty.domains(boolean direct) Gets all direct or indirect domains that present in RDF graph.OntClass.equivalentClasses()Lists all equivalent classes.OntClass.Named.findDisjointUnion(org.apache.jena.rdf.model.RDFNode list) Finds aDisjointUnionlogical construction attached to this class by the specified rdf-node in the form ofOntList.OntClass.Named.fromDisjointUnionOf()Returns all class expressions from the right part of the statement with this class as a subject andowl:disjointUnionOfas a predicate (the triple pattern:CN owl:disjointUnionOf ( C1 ... Cn )).OntModel.hierarchyRoots()Answers aStreamover the classes in this ontology model that represent the uppermost nodes of the class hierarchy.OntIndividual.ontClass()Answers a class to which this individual belongs, If there is more than one such class, an arbitrary selection is made.OntObjectProperty.ranges()Returns all ranges.OntObjectProperty.ranges(boolean direct) Gets all direct or indirect ranges that present in RDF graph.OntClass.subClass()Answers a class that is the subclass of this class.OntClass.subClasses()Lists all direct or indirect subclasses for this class expression, i.e., all subclasses found by inferencer, which usually means entire hierarchy down the tree; this class is not included.OntClass.subClasses(boolean direct) Answers aStreamover all the class expressions that are declared to be subclasses of this class expression.OntClass.superClass()Answers a class that is the superclass of this class.OntClass.superClasses()Lists all direct and indirect superclasses for this class expression, i.e., all superclasses found by inferencer, which usually means entire hierarchy up the tree; this class is not included.OntClass.superClasses(boolean direct) Answers aStreamover the class-expressions for which this class expression is declared a subclass.Methods in org.apache.jena.ontapi.model with parameters of type OntClassModifier and TypeMethodDescriptiondefault OntStatementOntIndividual.addClassAssertion(OntClass clazz) Creates and returns a class-assertion statementa rdf:type C, whereais this individual.default OntClassOntClass.addDisjointClass(OntClass other) Adds the given class as a disjoint class and returns this class expression instance to allow cascading calls.default OntClass.NamedOntClass.Named.addDisjointClass(OntClass other) Adds the given class as a disjoint class and returns this class expression instance to allow cascading calls.default OntClass.NamedOntClass.Named.addDisjointUnion(OntClass... classes) default OntStatementOntClass.Named.addDisjointUnionOfStatement(OntClass... classes) Creates aDisjointUnionontology listand returns the statementCN owl:disjointUnionOf ( C1 ... Cn )to allow the addition of annotations.default OntStatementOntClass.addDisjointWithStatement(OntClass other) Adds the given class as a disjoint class and returns the corresponding statement to provide the ability to add annotations.default OntDataPropertyAdds a statement with theRDFS.domainas predicate, this property as a subject, and the specifiedclass expressionas an object.default OntObjectPropertyAdds a statement with theRDFS.domainas predicate and the specifiedclass expressionas an object.Adds a statement with theRDFS.domainas predicate, this property as a subject, and the specifiedclass expressionas an object.default OntClassOntClass.addEquivalentClass(OntClass other) Adds a new equivalent class.default OntClass.NamedOntClass.Named.addEquivalentClass(OntClass other) Adds a new equivalent class.default OntStatementOntClass.addEquivalentClassStatement(OntClass other) Adds the given class as an equivalent class and returns the corresponding statement to provide the ability to add annotations.default OntObjectPropertyAdds a statement with theRDFS.rangeas predicate and the specifiedclass expressionas an object.default OntClassOntClass.addSubClass(OntClass other) Adds the given class as a subclass and returns this class expression instance to allow cascading calls.default OntClass.NamedOntClass.Named.addSubClass(OntClass other) Adds the given class as a subclass and returns this class expression instance to allow cascading calls.default OntStatementOntClass.addSubClassOfStatement(OntClass other) Adds the given class as a superclass and returns the corresponding statement to provide the ability to add annotations.default OntClassOntClass.addSuperClass(OntClass other) Adds the given class as a superclass and returns this class expression instance to allow cascading calls.default OntClass.NamedOntClass.Named.addSuperClass(OntClass other) Adds the given class as a superclass and returns this class expression instance to allow cascading calls.default OntIndividualOntIndividual.attachClass(OntClass clazz) Adds a type (class expression) to this individual.default OntIndividualOntModel.createIndividual(String uri, OntClass type) Creates individual (named or anonymous) of the specified type.default booleanOntIndividual.hasOntClass(OntClass clazz, boolean direct) Answerstrueif the given class is in the class-type closure.default booleanOntClass.hasSubClass(OntClass clazz, boolean direct) Answerstrueif the given class is a subclass of this class.default booleanOntClass.hasSuperClass(OntClass clazz, boolean direct) Answerstrueif the given class is a superclass of this class.Method parameters in org.apache.jena.ontapi.model with type arguments of type OntClassModifier and TypeMethodDescriptiondefault OntClass.NamedOntClass.Named.addDisjointUnion(Collection<OntClass> classes) default OntStatementOntClass.Named.addDisjointUnionOfStatement(Collection<OntClass> classes) Creates a disjoint-union section returning its root statement to allow adding annotations.OntClass.Named.createDisjointUnion(Collection<OntClass> classes) Creates aDisjointUnionasontology []-listofClass Expressions that is attached to this OWL Class using the predicateowl:disjointUnionOf. -
Uses of OntClass in org.apache.jena.ontapi.utils
Methods in org.apache.jena.ontapi.utils that return OntClassModifier and TypeMethodDescriptionstatic OntClassAnswers the lowest common ancestor of two classes.static OntClassAnswers the lowest common ancestor of two classes, assuming that the given class is the root concept to start searching from.Methods in org.apache.jena.ontapi.utils that return types with arguments of type OntClassModifier and TypeMethodDescriptionstatic org.apache.jena.util.iterator.ExtendedIterator<OntClass>OntModels.listClasses(OntIndividual i) Lists all class-types for the given individual.Methods in org.apache.jena.ontapi.utils with parameters of type OntClass