java.lang.Object
org.apache.jena.enhanced.Polymorphic<RDFNode>
org.apache.jena.enhanced.EnhNode
org.apache.jena.rdf.model.impl.ResourceImpl
org.apache.jena.ontology.impl.OntResourceImpl
org.apache.jena.ontology.impl.OntPropertyImpl
org.apache.jena.ontology.impl.ObjectPropertyImpl
- All Implemented Interfaces:
FrontsNode,ObjectProperty,OntProperty,OntResource,Property,RDFNode,Resource
- Direct Known Subclasses:
InverseFunctionalPropertyImpl,SymmetricPropertyImpl,TransitivePropertyImpl
Implementation of the object property abstraction
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic ImplementationA factory for generating ObjectProperty facets from nodes in enhanced graphs.Fields inherited from class org.apache.jena.ontology.impl.OntResourceImpl
KNOWN_LANGUAGESFields inherited from class org.apache.jena.rdf.model.impl.ResourceImpl
rdfNodeFactory -
Constructor Summary
ConstructorsConstructorDescriptionObjectPropertyImpl(Node n, EnhGraph g) Construct a functional property node represented by the given node in the given graph. -
Method Summary
Modifier and TypeMethodDescriptionAnswer the property that is the inverse of this property, ensuring that it presents the object property facet.Answer a property that is an inverse of this property, ensuring that it presents the ObjectProperty facet.ExtendedIterator<? extends OntProperty>Answer an iterator over all of the properties that are declared to be inverse properties of this property, ensuring that each presents the objectProperty facet.Methods inherited from class org.apache.jena.ontology.impl.OntPropertyImpl
addDomain, addEquivalentProperty, addInverseOf, addRange, addSubProperty, addSuperProperty, asDatatypeProperty, asFunctionalProperty, asInverseFunctionalProperty, asObjectProperty, asSymmetricProperty, asTransitiveProperty, convertToDatatypeProperty, convertToFunctionalProperty, convertToInverseFunctionalProperty, convertToObjectProperty, convertToSymmetricProperty, convertToTransitiveProperty, getDomain, getEquivalentProperty, getOrdinal, getRange, getSubProperty, getSuperProperty, hasDomain, hasEquivalentProperty, hasInverse, hasRange, hasSubProperty, hasSuperProperty, inModel, isDatatypeProperty, isFunctionalProperty, isInverseFunctionalProperty, isInverseOf, isObjectProperty, isProperty, isSymmetricProperty, isTransitiveProperty, listDeclaringClasses, listDeclaringClasses, listDomain, listEquivalentProperties, listInverse, listRange, listReferringRestrictions, listSubProperties, listSubProperties, listSuperProperties, listSuperProperties, removeDomain, removeEquivalentProperty, removeInverseProperty, removeRange, removeSubProperty, removeSuperProperty, setDomain, setEquivalentProperty, setInverseOf, setRange, setSubProperty, setSuperPropertyMethods inherited from class org.apache.jena.ontology.impl.OntResourceImpl
addComment, addComment, addDifferentFrom, addIsDefinedBy, addLabel, addLabel, addRDFType, addSameAs, addSeeAlso, addVersionInfo, asAllDifferent, asAnnotationProperty, asClass, asDataRange, asIndividual, asOntology, asProperty, getCardinality, getComment, getDifferentFrom, getIsDefinedBy, getLabel, getOntModel, getProfile, getPropertyValue, getRDFType, getRDFType, getSameAs, getSeeAlso, getVersionInfo, hasComment, hasComment, hasLabel, hasLabel, hasRDFType, hasRDFType, hasRDFType, hasSeeAlso, hasVersionInfo, isAllDifferent, isAnnotationProperty, isClass, isDataRange, isDefinedBy, isDifferentFrom, isIndividual, isOntLanguageTerm, isOntology, isSameAs, listComments, listDifferentFrom, listIsDefinedBy, listLabels, listPropertyValues, listRDFTypes, listSameAs, listSeeAlso, listVersionInfo, remove, removeComment, removeComment, removeDefinedBy, removeDifferentFrom, removeLabel, removeLabel, removeProperty, removeRDFType, removeSameAs, removeSeeAlso, removeVersionInfo, setComment, setDifferentFrom, setIsDefinedBy, setLabel, setPropertyValue, setRDFType, setSameAs, setSeeAlso, setVersionInfoMethods inherited from class org.apache.jena.rdf.model.impl.ResourceImpl
abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, asLiteral, asResource, asStatementTerm, begin, commit, getId, getLocalName, getModel, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, listProperties, listProperties, listProperties, removeAll, removeProperties, toString, visitWithMethods inherited from class org.apache.jena.enhanced.EnhNode
as, asNode, canAs, equals, getGraph, hashCode, isAnon, isLiteral, isResource, isStatementTerm, isURIResource, isValid, viewAsMethods inherited from class org.apache.jena.enhanced.Polymorphic
addView, supportsMethods inherited from interface org.apache.jena.graph.FrontsNode
asNodeMethods inherited from interface org.apache.jena.ontology.OntProperty
addDomain, addEquivalentProperty, addInverseOf, addRange, addSubProperty, addSuperProperty, asDatatypeProperty, asFunctionalProperty, asInverseFunctionalProperty, asObjectProperty, asSymmetricProperty, asTransitiveProperty, convertToDatatypeProperty, convertToFunctionalProperty, convertToInverseFunctionalProperty, convertToObjectProperty, convertToSymmetricProperty, convertToTransitiveProperty, getDomain, getEquivalentProperty, getRange, getSubProperty, getSuperProperty, hasDomain, hasEquivalentProperty, hasInverse, hasRange, hasSubProperty, hasSuperProperty, isDatatypeProperty, isFunctionalProperty, isInverseFunctionalProperty, isInverseOf, isObjectProperty, isSymmetricProperty, isTransitiveProperty, listDeclaringClasses, listDeclaringClasses, listDomain, listEquivalentProperties, listInverse, listRange, listReferringRestrictions, listSubProperties, listSubProperties, listSuperProperties, listSuperProperties, removeDomain, removeEquivalentProperty, removeInverseProperty, removeRange, removeSubProperty, removeSuperProperty, setDomain, setEquivalentProperty, setInverseOf, setRange, setSubProperty, setSuperPropertyMethods inherited from interface org.apache.jena.ontology.OntResource
addComment, addComment, addDifferentFrom, addIsDefinedBy, addLabel, addLabel, addRDFType, addSameAs, addSeeAlso, addVersionInfo, asAllDifferent, asAnnotationProperty, asClass, asDataRange, asIndividual, asOntology, asProperty, getCardinality, getComment, getDifferentFrom, getIsDefinedBy, getLabel, getOntModel, getProfile, getPropertyValue, getRDFType, getRDFType, getSameAs, getSeeAlso, getVersionInfo, hasComment, hasComment, hasLabel, hasLabel, hasRDFType, hasRDFType, hasRDFType, hasSeeAlso, hasVersionInfo, isAllDifferent, isAnnotationProperty, isClass, isDataRange, isDefinedBy, isDifferentFrom, isIndividual, isOntLanguageTerm, isOntology, isProperty, isSameAs, listComments, listDifferentFrom, listIsDefinedBy, listLabels, listPropertyValues, listRDFTypes, listSameAs, listSeeAlso, listVersionInfo, remove, removeComment, removeComment, removeDefinedBy, removeDifferentFrom, removeLabel, removeLabel, removeProperty, removeRDFType, removeSameAs, removeSeeAlso, removeVersionInfo, setComment, setDifferentFrom, setIsDefinedBy, setLabel, setPropertyValue, setRDFType, setSameAs, setSeeAlso, setVersionInfoMethods inherited from interface org.apache.jena.rdf.model.Property
getLocalName, getNameSpace, getOrdinal, inModel, isPropertyMethods inherited from interface org.apache.jena.rdf.model.RDFNode
as, asLiteral, asResource, asStatementTerm, canAs, getModel, isAnon, isLiteral, isResource, isStatementTerm, isURIResource, visitWithMethods inherited from interface org.apache.jena.rdf.model.Resource
abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, listProperties, listProperties, listProperties, removeAll, removeProperties, toString
-
Field Details
-
factory
A factory for generating ObjectProperty facets from nodes in enhanced graphs. Note: should not be invoked directly by user code: useas()instead.
-
-
Constructor Details
-
ObjectPropertyImpl
Construct a functional property node represented by the given node in the given graph.
- Parameters:
n- The node that represents the resourceg- The enh graph that contains n
-
-
Method Details
-
getInverseOf
Answer a property that is an inverse of this property, ensuring that it presents the ObjectProperty facet.
- Specified by:
getInverseOfin interfaceOntProperty- Overrides:
getInverseOfin classOntPropertyImpl- Returns:
- A property inverse to this property
- Throws:
ProfileException- If theProfile.INVERSE_OF()property is not supported in the current language profile.
-
listInverseOf
Answer an iterator over all of the properties that are declared to be inverse properties of this property, ensuring that each presents the objectProperty facet.
- Specified by:
listInverseOfin interfaceOntProperty- Overrides:
listInverseOfin classOntPropertyImpl- Returns:
- An iterator over the properties inverse to this property.
- Throws:
ProfileException- If theProfile.INVERSE_OF()property is not supported in the current language profile.
-
getInverse
Answer the property that is the inverse of this property, ensuring that it presents the object property facet.
- Specified by:
getInversein interfaceOntProperty- Overrides:
getInversein classOntPropertyImpl- Returns:
- The property that is the inverse of this property, or null.
-