Class Vase


  • @Entity
    public class Vase
    extends Object
    This class provides an example of mapping various types to the database, like dates, enums, etc.
    • Field Detail

      • id

        private long id
      • aDate

        private Date aDate
      • aTime

        private Date aTime
      • aTimestamp

        private Date aTimestamp
    • Constructor Detail

      • Vase

        public Vase()
      • Vase

        public Vase​(long id)
    • Method Detail

      • getId

        public long getId()
      • getADate

        public Date getADate()
      • setADate

        public void setADate​(Date date)
      • getATime

        public Date getATime()
      • setATime

        public void setATime​(Date time)
      • getATimestamp

        public Date getATimestamp()
      • setATimestamp

        public void setATimestamp​(Date timestamp)
      • setColorId

        public void setColorId​(ColorType colorId)
      • getColorName

        public ColorType getColorName()
      • setColorName

        public void setColorName​(ColorType colorName)