|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.commands.Precondition
public class Precondition
Implementation of IPrecondition
| Constructor Summary | |
|---|---|
Precondition()
Create a new Precondition |
|
Precondition(java.util.Set<org.openrdf.model.URI> defaultUris,
java.util.Set<org.openrdf.model.URI> namedGraphUris,
java.lang.String queryString,
IResult result)
Create a new Precondition |
|
| Method Summary | |
|---|---|
java.util.Set<org.openrdf.model.URI> |
getDefaultGraphUris()
Get the set of NamedGraph URIs that make up the default graph for the dataset for this precondition. |
java.util.Set<org.openrdf.model.URI> |
getNamedGraphUris()
Get the set of NamedGraph URIs that make up the dataset for this precondition. |
java.lang.String |
getQuery()
Get the Sparql query string that defines the precondition |
IResult |
getResult()
Get the expected result from the sparql query. |
void |
setDefaultGraphUris(java.util.Set<org.openrdf.model.URI> defaultUris)
Set the set of NamedGraph URIs that make up the default graph for the dataset for this precondition. |
void |
setNamedGraphUris(java.util.Set<org.openrdf.model.URI> namedGraphUris)
Set the set of NamedGraph URIs that make up the dataset for this precondition. |
void |
setQuery(java.lang.String queryString)
Set the Sparql query string that defines the precondition. |
void |
setResult(IResult result)
Set the expected result from the sparql query. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Precondition(java.util.Set<org.openrdf.model.URI> defaultUris,
java.util.Set<org.openrdf.model.URI> namedGraphUris,
java.lang.String queryString,
IResult result)
defaultUris - set of default graph URIs used during precondition querynamedGraphUris - set of named graph URIs used during precondition queryqueryString - Sparql query string to run as preconditionresult - Expected results of running querypublic Precondition()
| Method Detail |
|---|
public java.lang.String getQuery()
IPrecondition
getQuery in interface IPreconditionpublic IResult getResult()
IPrecondition
getResult in interface IPreconditionpublic java.util.Set<org.openrdf.model.URI> getDefaultGraphUris()
IPrecondition
getDefaultGraphUris in interface IPreconditionpublic java.util.Set<org.openrdf.model.URI> getNamedGraphUris()
IPrecondition
getNamedGraphUris in interface IPreconditionpublic void setDefaultGraphUris(java.util.Set<org.openrdf.model.URI> defaultUris)
IPrecondition
setDefaultGraphUris in interface IPreconditiondefaultUris - Set of NamedGraph URIs that make up the dataset.public void setNamedGraphUris(java.util.Set<org.openrdf.model.URI> namedGraphUris)
IPrecondition
setNamedGraphUris in interface IPreconditionnamedGraphUris - Set of NamedGraph URIs that make up the dataset.public void setQuery(java.lang.String queryString)
IPrecondition
setQuery in interface IPreconditionpublic void setResult(IResult result)
IPrecondition
setResult in interface IPreconditionresult - the expected results from the query
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||