eu.larkc.core.data
Interface LabelledGroupOfStatements

All Superinterfaces:
InformationSet, java.io.Serializable, SetOfStatements
All Known Implementing Classes:
LabelledGroupOfStatementsImpl, SetOfStatementsMerger

public interface LabelledGroupOfStatements
extends SetOfStatements

SetOfStatements passed by reference using a temporary statement tag. The LarKC data model provides a unique feature to efficiently creates groups of statements and associated individual statements to them. For more information please refer to LarKC data model documentation.

Author:
vassil

Method Summary
 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 theStatement)
          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.
 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 theStatement)
          Includes a statement to the labeled group.
 
Methods inherited from interface eu.larkc.core.data.SetOfStatements
getStatements
 
Methods inherited from interface eu.larkc.core.data.InformationSet
toRDF
 

Method Detail

getLabel

org.openrdf.model.URI getLabel()
Returns the name of the group label.

Returns:
label

includeStatement

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

Parameters:
subj - 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)
Returns:
if any statements were associated

includeStatement

boolean includeStatement(org.openrdf.model.Statement theStatement)
Includes a statement to the labeled group.

Parameters:
theStatement - to be added
Returns:
if any statements were associated

excludeStatement

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.

Parameters:
subj - 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)
Returns:
if any statements were excluded

excludeStatement

boolean excludeStatement(org.openrdf.model.Statement theStatement)
Excludes a statement from the labeled group.

Parameters:
theStatement - to be excluded
Returns:
if any statements were excluded

getRdfStoreConnection

RdfStoreConnection getRdfStoreConnection()
Gets the RDF store connection to contains the labeled group.

Returns:
connection to RDF store to contains the labeled group