Class JdbcTest.Employee

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Integer commission  
      int deptno  
      int empid  
      java.lang.String name  
      float salary  
    • Constructor Summary

      Constructors 
      Constructor Description
      Employee​(int empid, int deptno, java.lang.String name, float salary, java.lang.Integer commission)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • empid

        public final int empid
      • deptno

        public final int deptno
      • name

        public final java.lang.String name
      • salary

        public final float salary
      • commission

        public final java.lang.Integer commission
    • Constructor Detail

      • Employee

        public Employee​(int empid,
                        int deptno,
                        java.lang.String name,
                        float salary,
                        java.lang.Integer commission)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object