public abstract class AbstractDelegatingRepositoryImplConfig extends AbstractRepositoryImplConfig implements DelegatingRepositoryImplConfig
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDelegatingRepositoryImplConfig()
Create a new DelegatingRepositoryImplConfigBase.
|
protected |
AbstractDelegatingRepositoryImplConfig(String type)
Create a new DelegatingRepositoryImplConfigBase.
|
protected |
AbstractDelegatingRepositoryImplConfig(String type,
RepositoryImplConfig delegate)
Create a new DelegatingRepositoryImplConfigBase.
|
| Modifier and Type | Method and Description |
|---|---|
Resource |
export(Model model)
Export this
RepositoryImplConfig to its RDF representation |
RepositoryImplConfig |
getDelegate() |
void |
parse(Model model,
Resource resource)
Reads the properties of this
RepositoryImplConfig from the supplied Model and sets them accordingly. |
void |
setDelegate(RepositoryImplConfig delegate) |
void |
validate()
Validates this configuration.
|
create, getType, setTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypeprotected AbstractDelegatingRepositoryImplConfig()
protected AbstractDelegatingRepositoryImplConfig(String type)
protected AbstractDelegatingRepositoryImplConfig(String type, RepositoryImplConfig delegate)
public RepositoryImplConfig getDelegate()
getDelegate in interface DelegatingRepositoryImplConfigpublic void setDelegate(RepositoryImplConfig delegate)
public void validate()
throws RepositoryConfigException
RepositoryImplConfigRepositoryConfigException is thrown when the configuration is invalid.
The exception should contain an error message that indicates why the configuration is invalid.validate in interface RepositoryImplConfigvalidate in class AbstractRepositoryImplConfigRepositoryConfigException - If the configuration is invalid.public Resource export(Model model)
RepositoryImplConfigRepositoryImplConfig to its RDF representationexport in interface RepositoryImplConfigexport in class AbstractRepositoryImplConfigmodel - 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
RepositoryImplConfigRepositoryImplConfig from the supplied Model and sets them accordingly.parse in interface RepositoryImplConfigparse in class AbstractRepositoryImplConfigmodel - 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-2021 Eclipse Foundation. All Rights Reserved.