public class ModelChangeImpl extends Object implements ModelChange
ModelChange.Operation| Constructor and Description |
|---|
ModelChangeImpl() |
ModelChangeImpl(InputStream serializedModel,
RDFService.ModelSerializationFormat serializationFormat,
ModelChange.Operation operation,
String graphURI) |
| Modifier and Type | Method and Description |
|---|---|
String |
getGraphURI() |
ModelChange.Operation |
getOperation() |
RDFService.ModelSerializationFormat |
getSerializationFormat() |
InputStream |
getSerializedModel() |
void |
setGraphURI(String graphURI) |
void |
setOperation(ModelChange.Operation operation) |
void |
setSerializationFormat(RDFService.ModelSerializationFormat serializationFormat) |
void |
setSerializedModel(InputStream serializedModel) |
String |
toString() |
public ModelChangeImpl()
public ModelChangeImpl(InputStream serializedModel, RDFService.ModelSerializationFormat serializationFormat, ModelChange.Operation operation, String graphURI)
public InputStream getSerializedModel()
getSerializedModel in interface ModelChangepublic void setSerializedModel(InputStream serializedModel)
setSerializedModel in interface ModelChangeserializedModel - - the serialized model (collection of RDF triples) representing a change to makepublic RDFService.ModelSerializationFormat getSerializationFormat()
getSerializationFormat in interface ModelChangepublic void setSerializationFormat(RDFService.ModelSerializationFormat serializationFormat)
setSerializationFormat in interface ModelChangeserializationFormat - - the serialization format of the modelpublic ModelChange.Operation getOperation()
getOperation in interface ModelChangepublic void setOperation(ModelChange.Operation operation)
setOperation in interface ModelChangeoperation - - the operation to be performedpublic String getGraphURI()
getGraphURI in interface ModelChangepublic void setGraphURI(String graphURI)
setGraphURI in interface ModelChangegraphURI - - the URI of the graph to which to apply the change
If the graphURI is null the change applies to the
default write graph. If this method is not used to
set the write graph the default write graph will be used.Copyright © 2016. All rights reserved.