Class Cube


  • @Entity
    public class Cube
    extends Rectangle
    This class provides an attempt to re-define the JOIN InheritanceType of the parent class to a TABLE_PER_CLASS type. If you look closly at the database, this instruction is ignored and the Cube sub-table is JOINED with the parent class tables to form the object instead.
    • Field Detail

      • depth

        private int depth
    • Constructor Detail

      • Cube

        public Cube()
    • Method Detail

      • getDepth

        public int getDepth()
      • setDepth

        public void setDepth​(int depth)