Class UniqueObject

    • Constructor Detail

      • UniqueObject

        public UniqueObject()
    • Method Detail

      • getCreated

        public LocalDateTime getCreated()
        Returns:
        the creation date of the object
      • getLastModified

        public LocalDateTime getLastModified()
        Returns:
        the date of last modification of the object
      • getUuid

        public UUID getUuid()
        Returns:
        the universal unique id of the object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • init

        protected void init()
        Use to initialize member variables, used by default constructor and builder
      • setCreated

        public void setCreated​(LocalDateTime created)
        Parameters:
        created - the creation date of the object
      • setLastModified

        public void setLastModified​(LocalDateTime lastModified)
        Parameters:
        lastModified - the date of last modification of the object
      • setUuid

        public void setUuid​(UUID uuid)
        Parameters:
        uuid - the universal unique id of the object