Interface Entity<K>

All Superinterfaces:
Comparable<K>, Identity<K>
All Known Implementing Classes:
BasicEntity, BasicLongEntity, BasicStringEntity, BasicUuidEntity

public interface Entity<K> extends Identity<K>
Base API for a persistable domain object.
Since:
1.59
Version:
1.0
Author:
matt
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the date this entity was created.

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface net.solarnetwork.domain.Identity

    getId, hasId
  • Method Details

    • getCreated

      Instant getCreated()
      Get the date this entity was created.
      Returns:
      the created date