Class RepositoryInformation
- java.lang.Object
-
- org.eclipse.rdf4j.federated.endpoint.provider.RepositoryInformation
-
- Direct Known Subclasses:
NativeRepositoryInformation,RemoteRepositoryRepositoryInformation,ResolvableRepositoryInformation,SPARQLRepositoryInformation
public class RepositoryInformation extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Propertiesprops
-
Constructor Summary
Constructors Modifier Constructor Description RepositoryInformation(String id, String name, String location, EndpointType type)protectedRepositoryInformation(EndpointType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringget(String key)Stringget(String key, String def)EndpointConfigurationgetEndpointConfiguration()StringgetId()StringgetLocation()StringgetName()EndpointTypegetType()booleanisWritable()voidsetEndpointConfiguration(EndpointConfiguration endpointConfiguration)voidsetProperty(String key, String value)voidsetType(EndpointType type)voidsetWritable(boolean writable)
-
-
-
Field Detail
-
props
protected Properties props
-
-
Constructor Detail
-
RepositoryInformation
public RepositoryInformation(String id, String name, String location, EndpointType type)
-
RepositoryInformation
protected RepositoryInformation(EndpointType type)
-
-
Method Detail
-
getId
public String getId()
-
getName
public String getName()
-
getLocation
public String getLocation()
-
getType
public EndpointType getType()
-
getEndpointConfiguration
public EndpointConfiguration getEndpointConfiguration()
- Returns:
- the optional
EndpointConfigurationornull
-
setEndpointConfiguration
public void setEndpointConfiguration(EndpointConfiguration endpointConfiguration)
-
setType
public void setType(EndpointType type)
-
isWritable
public boolean isWritable()
- Returns:
- the writable
-
setWritable
public void setWritable(boolean writable)
- Parameters:
writable- the writable to set
-
-