Class BaseEntity

    • Constructor Detail

      • BaseEntity

        public BaseEntity()
    • Method Detail

      • getId

        public long getId()
      • setId

        public void setId​(long id)
        This setter only exists for frameworks like Spring, where a form needs to set this id. It is greatly discouraged from using this setter directly and it's effects will not be considered with any of the CRUD operations.
        Parameters:
        id - The id of the entity.