Class Stop


  • @Entity
    public class Stop
    extends Object
    This class provides an example of the many side of a one-to-many, uni-directional relationship mapped using a foreign key in the child entity table. Note that all mapping will be from the one/owning side and no reference to the foreign key exists within this class.
    • Field Detail

      • id

        private int id
    • Constructor Detail

      • Stop

        public Stop()
    • Method Detail

      • getId

        public int getId()
      • getName

        public String getName()
      • setName

        public void setName​(String name)