Class Author

java.lang.Object
org.hibernate.reactive.it.reference.Author

@Entity(name="Writer") public class Author extends Object
  • Constructor Details

    • Author

      public Author()
    • Author

      public Author(String name, Book book)
  • Method Details

    • getId

      public Integer getId()
    • setId

      public void setId(Integer id)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getBook

      public Book getBook()
    • setBook

      public void setBook(Book book)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object