Class DBType

java.lang.Object
net.sourceforge.pmd.util.database.DBType

public class DBType extends Object
Encapsulate the settings needed to access database source code.
Author:
sturton
  • Constructor Details

  • Method Details

    • getProperties

      public Properties getProperties()
    • getResourceBundleAsProperties

      public static Properties getResourceBundleAsProperties(ResourceBundle resourceBundle)
      Convert resourceBundle to usable Properties.
      Parameters:
      resourceBundle - ResourceBundle
      Returns:
      Properties
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getDriverClass

      public String getDriverClass()
      Returns:
      the driverClass
    • getCharacterSet

      public String getCharacterSet()
      Returns:
      the characterSet
    • getSourceCodeTypes

      public String getSourceCodeTypes()
      Returns:
      the sourceCodeTypes
    • getLanguages

      public String getLanguages()
      Returns:
      the languages
    • getSourceCodeReturnType

      public int getSourceCodeReturnType()
      Returns:
      the sourceCodeReturnType
    • getPropertiesSource

      public String getPropertiesSource()
      Returns:
      the propertiesSource
    • setProperties

      public void setProperties(Properties properties)
      Parameters:
      properties - the properties to set
    • toString

      public String toString()
      Overrides:
      toString in class Object