|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.larkc.core.data.LabelledGroupOfStatementsImpl
public class LabelledGroupOfStatementsImpl
| Constructor Summary | |
|---|---|
LabelledGroupOfStatementsImpl(RdfStoreConnection con)
Constructor |
|
LabelledGroupOfStatementsImpl(org.openrdf.model.URI label,
RdfStoreConnection con,
boolean validate)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
boolean |
excludeStatement(org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj,
org.openrdf.model.URI graph)
Excludes a statement from the labeled group. |
boolean |
excludeStatement(org.openrdf.model.Statement s)
Excludes a statement from the labeled group. |
org.openrdf.model.URI |
getLabel()
Returns the name of the group label. |
RdfStoreConnection |
getRdfStoreConnection()
Gets the RDF store connection to contains the labeled group. |
CloseableIterator<org.openrdf.model.Statement> |
getStatements()
Iterates the statements. |
int |
hashCode()
|
boolean |
includeStatement(org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj,
org.openrdf.model.URI graph)
Includes a new statement to the labeled group |
boolean |
includeStatement(org.openrdf.model.Statement s)
Includes a statement to the labeled group. |
SetOfStatements |
toRDF(SetOfStatements data)
Serializes this object to SetOfStatements. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LabelledGroupOfStatementsImpl(RdfStoreConnection con)
con - connection to a local repository where the labelled group of
statements is created.
public LabelledGroupOfStatementsImpl(org.openrdf.model.URI label,
RdfStoreConnection con,
boolean validate)
label - is explicit named of the labelled group of statements.con - connection to a local repositoryvalidate - if this group already exists| Method Detail |
|---|
public boolean excludeStatement(org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj,
org.openrdf.model.URI graph)
LabelledGroupOfStatements
excludeStatement in interface LabelledGroupOfStatementssubj - of the statement to be excluded (may be null for wildcards)pred - of the statement to be excluded (may be null for wildcards)obj - of the statement to be excluded (may be null for wildcards)graph - of the statement to be excleded (may be null for wildcards)
public boolean excludeStatement(org.openrdf.model.Statement s)
LabelledGroupOfStatements
excludeStatement in interface LabelledGroupOfStatementss - to be excluded
public org.openrdf.model.URI getLabel()
LabelledGroupOfStatements
getLabel in interface LabelledGroupOfStatementspublic RdfStoreConnection getRdfStoreConnection()
LabelledGroupOfStatements
getRdfStoreConnection in interface LabelledGroupOfStatements
public boolean includeStatement(org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj,
org.openrdf.model.URI graph)
LabelledGroupOfStatements
includeStatement in interface LabelledGroupOfStatementssubj - of the statement to be included (may be null for wildcards)pred - of the statement to be included (may be null for wildcards)obj - of the statement to be included (may be null for wildcards)graph - of the statement to be included (may be null for wildcards)
public boolean includeStatement(org.openrdf.model.Statement s)
LabelledGroupOfStatements
includeStatement in interface LabelledGroupOfStatementss - to be added
public CloseableIterator<org.openrdf.model.Statement> getStatements()
SetOfStatements
getStatements in interface SetOfStatementspublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic SetOfStatements toRDF(SetOfStatements data)
InformationSet
toRDF in interface InformationSetdata - is stream to serialize this object to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||