Interface Identifiable<PK extends Serializable>

    • Method Detail

      • getUid

        PK getUid()
        Returns:
        the primary key
      • setUid

        void setUid​(PK uid)
        Allows to define the identifier
        Parameters:
        uid - the identifier
      • isUidSet

        boolean isUidSet()
        Helper method to know whether the primary key is set or not.
        Returns:
        true if the primary key is set, false otherwise
      • uidFieldName

        default String uidFieldName()