public final class TransformedGraph extends Object implements TransformedGraph
Modifier and Type | Field and Description |
---|---|
static String |
ERROR_ATTACH_GRAPH |
static String |
ERROR_NOT_ACTIVE_TRANSFORMER |
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 static final String ERROR_NOT_ACTIVE_TRANSFORMER
public static final String ERROR_ATTACH_GRAPH
public String getGraphName()
TransformedGraph
getGraphName
in interface TransformedGraph
TransformedGraph.getGraphName()
public String getGraphId()
TransformedGraph
getGraphId
in interface TransformedGraph
TransformedGraph.getGraphId()
public String getMetadataGraphName()
TransformedGraph
getMetadataGraphName
in interface TransformedGraph
TransformedGraph.getMetadataGraphName()
public String getProvenanceMetadataGraphName()
TransformedGraph
getProvenanceMetadataGraphName
in interface TransformedGraph
TransformedGraph.getProvenanceMetadataGraphName()
public Collection<String> getAttachedGraphNames()
TransformedGraph
TransformedGraph.addAttachedGraph(String)
method.
Contents of the attached graphs may be changed by the Transformer.getAttachedGraphNames
in interface TransformedGraph
TransformedGraph.getAttachedGraphNames()
public void addAttachedGraph(String attachedGraphName) throws TransformedGraphException
TransformedGraph
addAttachedGraph
in interface TransformedGraph
attachedGraphName
- URI of the attached named graphTransformedGraphException
- error while registering the attached graphTransformedGraph.addAttachedGraph(java.lang.String)
public void deleteGraph() throws TransformedGraphException
TransformedGraph
deleteGraph
in interface TransformedGraph
TransformedGraphException
- error while marking the graph for deletionTransformedGraph.deleteGraph()
public boolean isDeleted()
TransformedGraph
isDeleted
in interface TransformedGraph
TransformedGraph.isDeleted()
Copyright © 2013. All Rights Reserved.