|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.model.impl.URIImpl
org.openrdf.sesame.sailimpl.nativerdf.model.NativeURI
| Field Summary |
| Fields inherited from class org.openrdf.model.impl.URIImpl |
RDF_ALT, RDF_BAG, RDF_FIRST, RDF_LIST, RDF_NIL, RDF_OBJECT, RDF_PREDICATE, RDF_PROPERTY, RDF_REST, RDF_SEQ, RDF_STATEMENT, RDF_SUBJECT, RDF_TYPE, RDF_VALUE, RDF_XMLLITERAL, RDFS_CLASS, RDFS_COMMENT, RDFS_CONTAINER, RDFS_CONTAINERMEMBERSHIPPROPERTY, RDFS_DATATYPE, RDFS_DOMAIN, RDFS_ISDEFINEDBY, RDFS_LABEL, RDFS_LITERAL, RDFS_MEMBER, RDFS_RANGE, RDFS_RESOURCE, RDFS_SEEALSO, RDFS_SUBCLASSOF, RDFS_SUBPROPERTYOF |
| Constructor Summary | |
NativeURI(NativeRdfRepository repository,
String uri)
|
|
NativeURI(NativeRdfRepository repository,
String namespace,
String localname)
|
|
NativeURI(NativeRdfRepository repository,
URI uri)
|
|
| Method Summary | |
void |
addProperty(URI property,
Value value)
Adds a property to this Resource in the RDF graph. |
int |
getInternalId()
Gets the ID that is used in the native RDF repository for this Value. |
StatementIterator |
getObjectStatements()
Gets all statements from the RDF graph for which this value is the object. |
StatementIterator |
getPredicateStatements()
Gets all statements from the RDF graph for which this URI is the predicate. |
NativeRdfRepository |
getRepository()
Returns the NativeRdfRepository that contains this NativeValue. |
StatementIterator |
getSubjectStatements()
Gets all statements from the RDF graph for which this resource is the subject. |
ValueStoreRevision |
getValueStoreRevision()
Gets the revision of the value store that created this value. |
void |
setInternalId(int id,
ValueStoreRevision revision)
Sets the ID that is used for this value in a specific revision of the value store. |
| Methods inherited from class org.openrdf.model.impl.URIImpl |
compareTo, equals, getLocalName, getNamespace, getURI, hashCode, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Constructor Detail |
public NativeURI(NativeRdfRepository repository,
String uri)
public NativeURI(NativeRdfRepository repository,
String namespace,
String localname)
public NativeURI(NativeRdfRepository repository,
URI uri)
| Method Detail |
public NativeRdfRepository getRepository()
NativeValue
getRepository in interface NativeValue
public void setInternalId(int id,
ValueStoreRevision revision)
NativeValue
setInternalId in interface NativeValuepublic int getInternalId()
NativeValue
getInternalId in interface NativeValuepublic ValueStoreRevision getValueStoreRevision()
NativeValue
getValueStoreRevision in interface NativeValue
public StatementIterator getSubjectStatements()
throws GraphException
Resource
getSubjectStatements in interface ResourcegetSubjectStatements in class URIImplGraphException
public StatementIterator getPredicateStatements()
throws GraphException
URI
getPredicateStatements in interface URIgetPredicateStatements in class URIImplGraphException
public StatementIterator getObjectStatements()
throws GraphException
Value
getObjectStatements in interface ValuegetObjectStatements in class URIImplGraphException
public void addProperty(URI property,
Value value)
throws GraphException
Resource
addProperty in interface ResourceaddProperty in class URIImplGraphException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||