public class TransformedGraphTestImpl extends Object implements TransformedGraph
Constructor and Description |
---|
TransformedGraphTestImpl(String graphName) |
Modifier and Type | Method and Description |
---|---|
void |
addAttachedGraph(String attachedGraphName)
Register an additional graph attached to the main transformed graph.
|
void |
deleteGraph()
Marks the whole transformed graph (and the respective attached graphs) for deletion.
|
Collection<String> |
getAttachedGraphNames()
Returns a collection of graphs attached to the transformed graph registered by
TransformedGraph.addAttachedGraph(String) method. |
String |
getGraphId()
Returns the unique identifier of the transform named graph in ODCS.
|
String |
getGraphName()
Returns URI of the transformed ("payload") named graph.
|
String |
getMetadataGraphName()
Returns URI of the named graph containing OCDS metadata about the transformed graph.
|
String |
getProvenanceMetadataGraphName()
Returns URI of the named graph containing provenance metadata about the transformed graph
(given to Input Webservice).
|
boolean |
isDeleted()
Returns true iff the transformed graph has been marked for deletion.
|
public TransformedGraphTestImpl(String graphName)
public String getGraphName()
TransformedGraph
getGraphName
in interface TransformedGraph
public String getGraphId()
TransformedGraph
getGraphId
in interface TransformedGraph
public String getMetadataGraphName()
TransformedGraph
getMetadataGraphName
in interface TransformedGraph
public String getProvenanceMetadataGraphName()
TransformedGraph
getProvenanceMetadataGraphName
in interface TransformedGraph
public Collection<String> getAttachedGraphNames()
TransformedGraph
TransformedGraph.addAttachedGraph(String)
method.
Contents of the attached graphs may be changed by the Transformer.getAttachedGraphNames
in interface TransformedGraph
public void addAttachedGraph(String attachedGraphName) throws TransformedGraphException
TransformedGraph
addAttachedGraph
in interface TransformedGraph
attachedGraphName
- URI of the attached named graphTransformedGraphException
- error while registering the attached graphpublic void deleteGraph() throws TransformedGraphException
TransformedGraph
deleteGraph
in interface TransformedGraph
TransformedGraphException
- error while marking the graph for deletionpublic boolean isDeleted()
TransformedGraph
isDeleted
in interface TransformedGraph
TransformedGraph.deleteGraph()
Copyright © 2013. All Rights Reserved.