Interface IEncyclopediaConnection


  • public interface IEncyclopediaConnection
    Represents the connection used by the encyclopedia.
    Since:
    2.2.0
    • 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 for getProperty("Data Source").
        Returns:
        the connection data source
      • getInitialCatalog

        String getInitialCatalog()
        Returns the connection catalog name. This is a short hand for getProperty("Initial Catalog").
        Returns:
        the connection catalog name
      • toString

        String toString()
        Returns the connection string as displayed in System Architect title bar, which is the connection data source and catalog name.
        Overrides:
        toString in class Object
        Returns:
        the connection string as displayed in System Architect title bar