Class Door


  • @Entity
    public class Door
    extends Object
    This class provides an example use of a composite @EmbeddedId primary key where one of the properties of the Embeddable is re-used as a foreign key.
    • Constructor Detail

      • Door

        public Door()
      • Door

        public Door​(House house,
                    int doorId)
    • Method Detail

      • getPk

        public DoorPK getPk()
      • getHouse

        public House getHouse()