Class Umbrella


  • public class Umbrella
    extends Object
    This class provides an example of using LAZY fetch hints. We use log statements in the setters and getters to track activity within the objects.
    • Field Detail

      • log

        private static final org.slf4j.Logger log
      • id

        private long id
    • Constructor Detail

      • Umbrella

        public Umbrella()
      • Umbrella

        public Umbrella​(long id)
    • Method Detail

      • getId

        public long getId()
      • setId

        protected void setId​(long id)
      • getMake

        public char[] getMake()
      • setMake

        public void setMake​(char[] make)
      • getModel

        public String getModel()
      • setModel

        public void setModel​(String model)
      • trace

        private void trace​(String message)