java.lang.Object
org.apache.jena.enhanced.Polymorphic<RDFNode>
org.apache.jena.enhanced.EnhNode
org.apache.jena.rdf.model.impl.ResourceImpl
org.apache.jena.rdf.model.impl.PropertyImpl
- All Implemented Interfaces:
FrontsNode,Property,RDFNode,Resource
An implementation of Property.
-
Field Summary
FieldsFields inherited from class org.apache.jena.rdf.model.impl.ResourceImpl
rdfNodeFactory -
Constructor Summary
ConstructorsConstructorDescriptionPropertyImpl(String uri) Creates new PropertyImplPropertyImpl(String nameSpace, String localName) PropertyImpl(String nameSpace, String localName, int ordinal, ModelCom m) PropertyImpl(String nameSpace, String localName, ModelCom m) PropertyImpl(String uri, ModelCom m) PropertyImpl(Node n, EnhGraph m) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the ordinal value of a containment property.Override RDFNode.inModel() to produce a statically-typed Resource in the given Model.booleanMethods 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.rdf.model.Property
getLocalName, getNameSpaceMethods 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
-
-
Constructor Details
-
PropertyImpl
Creates new PropertyImpl -
PropertyImpl
-
PropertyImpl
-
PropertyImpl
-
PropertyImpl
-
PropertyImpl
-
-
Method Details
-
inModel
Description copied from interface:ResourceOverride RDFNode.inModel() to produce a statically-typed Resource in the given Model. -
isProperty
public boolean isProperty()- Specified by:
isPropertyin interfaceProperty
-
getOrdinal
public int getOrdinal()Description copied from interface:PropertyReturns the ordinal value of a containment property.RDF containers use properties of the form _1, _2, _3 etc to represent the containment relationship between the container and the objects it contains. When invoked on such a containment property, this method returns the integer part of the property name. When invoked on other properties, it returns 0.
- Specified by:
getOrdinalin interfaceProperty- Returns:
- The ordinal value of a containment property, or 0 otherwise.
-