SesameHttpTemplate Class |
Namespace: VDS.RDF.Storage.Management.Provisioning.Sesame
The SesameHttpTemplate type exposes the following members.
Name | Description | |
---|---|---|
SesameHttpTemplate |
Creates a new Template.
|
Name | Description | |
---|---|---|
ContextNode |
Gets the Node used to refer to the store configuration context.
(Inherited from BaseSesameTemplate.) | |
ID |
Gets/Sets the Store ID.
(Inherited from StoreTemplate.) | |
Label |
Gets/Sets the descriptive label for a Sesame store.
(Inherited from BaseSesameTemplate.) | |
RemoteRepositoryID |
Gets/Sets the ID of the remote repository to connect to.
| |
RemoteServer |
Gets/Sets the remote Sesame server to connect to.
| |
TemplateDescription |
Gets the description of the type of store the template will create.
(Inherited from StoreTemplate.) | |
TemplateName |
Gets the name of the type of store the template will create.
(Inherited from StoreTemplate.) |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetBaseTemplateGraph |
Gets the basic template graph which is a graph with all the required namespaces registered and the ID and label filled in.
(Inherited from BaseSesameTemplate.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetTemplateGraph |
Gets the template graph.
(Overrides BaseSesameTemplateGetTemplateGraph.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Gets the string representation of the template which is the Template Name.
(Inherited from StoreTemplate.) | |
Validate |
Validates the template.
(Inherited from StoreTemplate.) |
This template generates a Sesame repository config graph like the following, depending on exact options the graph may differ:
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. @prefix rep: <http://www.openrdf.org/config/repository#>. @prefix hr: <http://www.openrdf.org/config/repository/http#>. [] a rep:Repository ; rep:repositoryImpl [ rep:repositoryType "openrdf:HTTPRepository" ; hr:repositoryURL <{%Sesame server location|http://localhost:8080/openrdf-sesame%}/repositories/{%Remote repository ID|SYSTEM%}> ]; rep:repositoryID "{this.ID}" ; rdfs:label "{this.Label}" .
The placeholders of the form {this.Property} represent properties of this class whose values will be inserted into the repository config graph and used to create a new store in Sesame.