Class Basket


  • @Entity
    public class Basket
    extends Object
    This entity class provides an example of mapping a collection of non-entity/embeddable class instances to a dependent/child table and relating the child table to this entity table using a foreign key.
    • Constructor Detail

      • Basket

        public Basket()
    • Method Detail

      • getId

        public int getId()
      • setContents

        public void setContents​(List<Produce> contents)
      • getName

        public String getName()
      • setName

        public void setName​(String name)