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 Properties
props
-
Constructor Summary
Constructors Modifier Constructor Description RepositoryInformation(String id, String name, String location, EndpointType type)
protected
RepositoryInformation(EndpointType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get(String key)
String
get(String key, String def)
EndpointConfiguration
getEndpointConfiguration()
String
getId()
String
getLocation()
String
getName()
EndpointType
getType()
boolean
isWritable()
void
setEndpointConfiguration(EndpointConfiguration endpointConfiguration)
void
setProperty(String key, String value)
void
setType(EndpointType type)
void
setWritable(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
EndpointConfiguration
ornull
-
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
-
-