Interface IEncyclopediaConnection
-
public interface IEncyclopediaConnection
Represents the connection used by the encyclopedia.- Since:
- 2.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getConnectString()
Returns the information required to connect to an encyclopedia.String
getDataSource()
Returns the connection data source.String
getFullName()
Returns the name of the encyclopedia including the full path.String
getInitialCatalog()
Returns the connection catalog name.String
getProperty(String key)
Returns the value associated with the specified key in the connection stringString
toString()
Returns the connection string as displayed in System Architect title bar, which is the connection data source and catalog name.
-
-
-
Method Detail
-
getConnectString
String getConnectString()
Returns the information required to connect to an encyclopedia.- Returns:
- the information required to connect to an encyclopedia.
-
getFullName
String getFullName()
Returns the name of the encyclopedia including the full path.- Returns:
- the name of the encyclopedia including the full path.
-
getProperty
String getProperty(String key)
Returns the value associated with the specified key in the connection string- Parameters:
key
- a key (e.g. "Data Source").- Returns:
- the value associated with the key, or
null
if the key is not found.
-
getDataSource
String getDataSource()
Returns the connection data source. This is a short hand forgetProperty("Data Source")
.- Returns:
- the connection data source
-
getInitialCatalog
String getInitialCatalog()
Returns the connection catalog name. This is a short hand forgetProperty("Initial Catalog")
.- Returns:
- the connection catalog name
-
-