Class Widget

    • Constructor Detail

      • Widget

        public Widget()
        No-arg constructor to make JPA happy.
      • Widget

        public Widget​(int id,
                      String val)
        Create a new widget with given id and value.
        Parameters:
        id - widget id
        val - widget value