Class LibraryListener


  • public class LibraryListener
    extends Object
    Provides a Cayenne listener for the Library entity.
    Since:
    4.0.0
    • Constructor Detail

      • LibraryListener

        public LibraryListener()
    • Method Detail

      • validateLibrary

        @PrePersist(Library.class)
        @PreUpdate(Library.class)
        public void validateLibrary​(Library library)
        Performs validation at commit time.
        Parameters:
        library - the library entity