Class DatabaseImpl

  • All Implemented Interfaces:
    Database

    public class DatabaseImpl
    extends java.lang.Object
    implements Database
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String vendor  
      protected java.lang.String version  
    • Constructor Summary

      Constructors 
      Constructor Description
      DatabaseImpl​(java.lang.String vendor, java.lang.String version)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getVendor()
      The vendor of the connected database system.
      java.lang.String getVersion()
      The version of the connected database system.
      void setVendor​(java.lang.String vendor)  
      void setVersion​(java.lang.String version)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • vendor

        protected java.lang.String vendor
      • version

        protected java.lang.String version
    • Constructor Detail

      • DatabaseImpl

        public DatabaseImpl​(java.lang.String vendor,
                            java.lang.String version)
    • Method Detail

      • getVendor

        public java.lang.String getVendor()
        Description copied from interface: Database
        The vendor of the connected database system.
        Specified by:
        getVendor in interface Database
      • setVendor

        public void setVendor​(java.lang.String vendor)
      • getVersion

        public java.lang.String getVersion()
        Description copied from interface: Database
        The version of the connected database system.
        Specified by:
        getVersion in interface Database
      • setVersion

        public void setVersion​(java.lang.String version)