Class Bike


  • @Entity
    public class Bike
    extends Object
    This class provides the basic annotations required to make a class usable by Java Persistence without any further mapping. They are
    • Field Detail

      • id

        private long id
      • size

        private int size
    • Constructor Detail

      • Bike

        public Bike()
      • Bike

        public Bike​(long id)
    • Method Detail

      • getId

        public long getId()
      • getMake

        public String getMake()
      • setMake

        public void setMake​(String make)
      • getModel

        public String getModel()
      • setModel

        public void setModel​(String model)
      • getSize

        public int getSize()
      • setSize

        public void setSize​(int size)