Interface ModelChange
-
- All Known Implementing Classes:
ModelChangeImpl
public interface ModelChangeA ModelChange is one component of a ChangeSet. Represents a model (collection of RDF triples), the URI of a graph, and an indication of whether to add or remove the model from the graph.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classModelChange.Operation
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetGraphURI()ModelChange.OperationgetOperation()RDFService.ModelSerializationFormatgetSerializationFormat()InputStreamgetSerializedModel()StringgetUserId()voidsetGraphURI(String graphURI)voidsetOperation(ModelChange.Operation operation)voidsetSerializationFormat(RDFService.ModelSerializationFormat serializationFormat)voidsetSerializedModel(InputStream serializedModel)voidsetUserId(String userId)
-
-
-
Method Detail
-
getUserId
String getUserId()
- Returns:
- String - user identifier
-
setUserId
void setUserId(String userId)
- Parameters:
String- - user identifier
-
getSerializedModel
InputStream getSerializedModel()
- Returns:
- InputStream - the serialized model (collection of RDF triples) representing a change to make
-
setSerializedModel
void setSerializedModel(InputStream serializedModel)
- Parameters:
serializedModel- - the serialized model (collection of RDF triples) representing a change to make
-
getSerializationFormat
RDFService.ModelSerializationFormat getSerializationFormat()
- Returns:
- RDFService.ModelSerializationFormat - the serialization format of the model
-
setSerializationFormat
void setSerializationFormat(RDFService.ModelSerializationFormat serializationFormat)
- Parameters:
serializationFormat- - the serialization format of the model
-
getOperation
ModelChange.Operation getOperation()
- Returns:
- ModelChange.Operation - the operation to be performed
-
setOperation
void setOperation(ModelChange.Operation operation)
- Parameters:
operation- - the operation to be performed
-
getGraphURI
String getGraphURI()
- Returns:
- String - the URI of the graph to which to apply the change
-
setGraphURI
void setGraphURI(String graphURI)
- Parameters:
graphURI- - 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.
-
-