Class DriverInfo

java.lang.Object
com.denodo.scheduler.client.jdbcdriver.DriverInfo
All Implemented Interfaces:
Serializable

public class DriverInfo extends Object implements Serializable
Encapsulates the basic information of a jdbc driver registered in the application. The driver could be loaded from the drivers folder or submitted by the user. If the driver is copied in the plugins folder by the user, he/she could not retrieve its information unless he/she explicitly would store it in the data base.
See Also:
  • Constructor Details

  • Method Details

    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getKey

      public String getKey()
    • getDriverName

      public String getDriverName()
    • setDriverName

      public void setDriverName(String driverName)
    • getDataBaseAdapter

      public String getDataBaseAdapter()
    • setDataBaseAdapter

      public void setDataBaseAdapter(String dataBaseAdapter)
    • getDataBaseVersion

      public String getDataBaseVersion()
    • setDataBaseVersion

      public void setDataBaseVersion(String dataBaseVersion)
    • getClassName

      public String getClassName()
    • setClassName

      public void setClassName(String className)
    • getUriTemplate

      public String getUriTemplate()
    • setUriTemplate

      public void setUriTemplate(String uriTemplate)
    • getRegistrar

      public String getRegistrar()
    • setRegistrar

      public void setRegistrar(String registrar)
    • getJarFiles

      public Set<String> getJarFiles()
    • setJarFiles

      public void setJarFiles(Set<String> jarFiles)
    • isValidForMetadata

      public Boolean isValidForMetadata()
    • isCore

      public boolean isCore()
    • hashCode

      public int hashCode()
      Returns the hash code of an instance of this class. The resulting hash code is the sum of the name and value hash codes.
      Overrides:
      hashCode in class Object
      Returns:
      the hash code
    • equals

      public boolean equals(Object object)
      Returns whether an instance of this class is equals to the one passed as a parameter or not. This method returns true if the name and the value are equal for both parameters. Returns false otherwise.
      Overrides:
      equals in class Object
      Parameters:
      object - the instance to be compared to.
      Returns:
      true if this instance and the one passed as a parameter are equal, false otherwise.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getKey

      public static String getKey(String dbAdapter, String dbVersion)