Interface EntityBean

    • Method Detail

      • getId

        default Id<? extends EntityBean> getId()
        Specified by:
        getId in interface Entity
        Returns:
        the unique ID (primary key) of this entity or null if not available (e.g. entity is not persistent).
      • setId

        default void setId​(Id<? extends Entity> id)
        Specified by:
        setId in interface Entity
        Parameters:
        id - the new ID.