public class SPINResourceImpl extends org.apache.jena.rdf.model.impl.ResourceImpl implements SPINResource
| Constructor and Description |
|---|
SPINResourceImpl(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getInteger(org.apache.jena.rdf.model.Property predicate) |
org.apache.jena.rdf.model.Literal |
getLiteral(org.apache.jena.rdf.model.Property predicate)
Gets the "first" property value of this but only if it's a Literal.
|
Long |
getLong(org.apache.jena.rdf.model.Property predicate) |
org.apache.jena.rdf.model.RDFNode |
getRDFNode(org.apache.jena.rdf.model.Property predicate) |
org.apache.jena.rdf.model.Resource |
getResource(org.apache.jena.rdf.model.Property predicate) |
String |
getString(org.apache.jena.rdf.model.Property predicate) |
org.apache.jena.rdf.model.RDFNode |
inferRDFNode(org.apache.jena.rdf.model.Property predicate) |
abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, asLiteral, asResource, begin, commit, getId, getLocalName, getModel, getModelCom, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, mustHaveModel, removeAll, removeProperties, toString, visitWithas, asNode, canAs, canSupport, convertTo, equals, getGraph, getPersonality, hashCode, isAnon, isLiteral, isResource, isURIResource, isValid, viewAsaddView, alreadyHasView, asInternal, supportsclone, finalize, getClass, notify, notifyAll, wait, wait, waitabort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toStringpublic SPINResourceImpl(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph graph)
public Integer getInteger(org.apache.jena.rdf.model.Property predicate)
public org.apache.jena.rdf.model.Literal getLiteral(org.apache.jena.rdf.model.Property predicate)
SPINResourcegetLiteral in interface SPINResourcepredicate - the predicatepublic Long getLong(org.apache.jena.rdf.model.Property predicate)
getLong in interface SPINResourcepublic org.apache.jena.rdf.model.RDFNode getRDFNode(org.apache.jena.rdf.model.Property predicate)
getRDFNode in interface SPINResourcepublic org.apache.jena.rdf.model.Resource getResource(org.apache.jena.rdf.model.Property predicate)
getResource in interface SPINResourcepublic String getString(org.apache.jena.rdf.model.Property predicate)
getString in interface SPINResourcepublic org.apache.jena.rdf.model.RDFNode inferRDFNode(org.apache.jena.rdf.model.Property predicate)
Copyright © 2017 TopQuadrant, Inc.. All rights reserved.