public class ContextAwareConfig extends AbstractDelegatingRepositoryImplConfig
Constructor and Description |
---|
ContextAwareConfig() |
Modifier and Type | Method and Description |
---|---|
Resource |
export(Model model)
Export this
RepositoryImplConfig to its RDF representation |
IRI[] |
getAddContexts()
Deprecated.
|
IRI[] |
getArchiveContexts()
Deprecated.
|
String |
getBaseURI() |
IRI |
getInsertContext() |
int |
getMaxQueryTime() |
QueryLanguage |
getQueryLanguage() |
IRI[] |
getReadContexts() |
IRI[] |
getRemoveContexts() |
boolean |
isIncludeInferred() |
void |
parse(Model model,
Resource resource)
Reads the properties of this
RepositoryImplConfig from the supplied Model and sets them accordingly. |
void |
setAddContexts(IRI... addContexts)
Deprecated.
|
void |
setArchiveContexts(IRI... archiveContexts)
Deprecated.
|
void |
setBaseURI(String baseURI) |
void |
setIncludeInferred(boolean includeInferred) |
void |
setInsertContext(IRI insertContext) |
void |
setMaxQueryTime(int maxQueryTime) |
void |
setQueryLanguage(QueryLanguage ql) |
void |
setReadContexts(IRI... readContexts) |
void |
setRemoveContexts(IRI... removeContexts) |
getDelegate, setDelegate, validate
create, getType, setType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType
public int getMaxQueryTime()
public void setMaxQueryTime(int maxQueryTime)
@Deprecated public IRI[] getAddContexts()
ContextAwareConnection.getAddContexts()
@Deprecated public IRI[] getArchiveContexts()
public IRI getInsertContext()
public QueryLanguage getQueryLanguage()
public String getBaseURI()
public IRI[] getReadContexts()
ContextAwareConnection.getReadContexts()
public IRI[] getRemoveContexts()
public boolean isIncludeInferred()
@Deprecated public void setAddContexts(IRI... addContexts)
@Deprecated public void setArchiveContexts(IRI... archiveContexts)
public void setInsertContext(IRI insertContext)
public void setIncludeInferred(boolean includeInferred)
public void setQueryLanguage(QueryLanguage ql)
public void setBaseURI(String baseURI)
baseURI
- The default baseURI to set.public void setReadContexts(IRI... readContexts)
public void setRemoveContexts(IRI... removeContexts)
public Resource export(Model model)
RepositoryImplConfig
RepositoryImplConfig
to its RDF representationexport
in interface RepositoryImplConfig
export
in class AbstractDelegatingRepositoryImplConfig
model
- a Model
object. After successful completion of this method this Model will contain the RDF
representation of this RepositoryImplConfig
.Resource
that identifies this RepositoryImplConfig
in the Model.public void parse(Model model, Resource resource) throws RepositoryConfigException
RepositoryImplConfig
RepositoryImplConfig
from the supplied Model and sets them accordingly.parse
in interface RepositoryImplConfig
parse
in class AbstractDelegatingRepositoryImplConfig
model
- a Model
containing repository configuration data.resource
- the subject Resource
that identifies the RepositoryImplConfig
in the Model.RepositoryConfigException
- if the configuration data could not be read from the supplied Model.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.