Class Mower


  • @Entity
    public class Mower
    extends Object
    This class provides an example of expressing an IdClass for a compound primary key using annotations. The primary key class does not use annotations. All annotations are within the using class.
    • Field Detail

      • size

        private int size
    • Constructor Detail

      • Mower

        public Mower()
    • Method Detail

      • getMake

        public String getMake()
      • getModel

        public String getModel()
      • getSize

        public int getSize()
      • setSize

        public void setSize​(int size)