Interface Persistable

  • All Known Implementing Classes:
    JpaPersistableSupport, PersonJpaPersistable
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface Persistable
    The role of an object that can be persisted.
    Author:
    Fabrizio Giudici
    Status: draft API
    Stereotype:
    Role
    • Field Detail

      • _Persistable_

        static final java.lang.Class<Persistable> _Persistable_
    • Method Detail

      • persist

        void persist()
        Persists this object to some implicit, or context-provided persistence facility.