|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.model.impl.BasicGraph
org.openanzo.model.impl.NamedGraph
public class NamedGraph
Extension of BasicGraph that adds in the concept of a graph being either a regular NamedGraph or a metadata graph
| Constructor Summary | |
|---|---|
NamedGraph(java.util.Collection<org.openrdf.model.Statement> statements,
org.openrdf.model.URI namedGraphURI,
boolean isMetadataGraph)
Create a new NamedGraph with the given URI and pre-populate with given statements |
|
NamedGraph(org.openrdf.model.URI namedGraphUri)
Create a new NamedGraph with the given URI isMetadata will be false by default |
|
NamedGraph(org.openrdf.model.URI namedGraphUri,
boolean isMetadataGraph)
Create a new NamedGraph with the given URI * |
|
| Method Summary | |
|---|---|
void |
add(org.openrdf.model.Statement... statements)
Add one or more statements to graph |
boolean |
isMetadataGraph()
Determine if this is a metadataGraph |
| Methods inherited from class org.openanzo.model.impl.BasicGraph |
|---|
add, add, clear, close, contains, contains, delete, delete, delete, find, getEventManager, getNamedGraphUri, getStatements, getTransactionManager, isClosed, isEmpty, setNamedGraphUri, size |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NamedGraph(org.openrdf.model.URI namedGraphUri)
namedGraphUri - URI of this graph
public NamedGraph(org.openrdf.model.URI namedGraphUri,
boolean isMetadataGraph)
namedGraphUri - URI of this graphisMetadataGraph - Set the type of this graph
public NamedGraph(java.util.Collection<org.openrdf.model.Statement> statements,
org.openrdf.model.URI namedGraphURI,
boolean isMetadataGraph)
statements - pre-populated data for graphnamedGraphURI - URI of this graphisMetadataGraph - Set the type of this graph| Method Detail |
|---|
public boolean isMetadataGraph()
public void add(org.openrdf.model.Statement... statements)
INamedGraph
add in interface INamedGraphadd in class BasicGraphstatements - statements to add to graph
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||