Interface IEncyclopediaConnection
-
public interface IEncyclopediaConnectionRepresents the connection used by the encyclopedia.- Since:
- 2.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetConnectString()Returns the information required to connect to an encyclopedia.StringgetDataSource()Returns the connection data source.StringgetFullName()Returns the name of the encyclopedia including the full path.StringgetInitialCatalog()Returns the connection catalog name.StringgetProperty(String key)Returns the value associated with the specified key in the connection stringStringtoString()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
nullif 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
-
-