Class Book
- java.lang.Object
-
- org.hibernate.reactive.it.quarkus.qe.database.Book
-
@Entity public class Book extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Author
getAuthor()
Integer
getId()
long
getIsbn()
@NotNull @Size(max=10) String
getTitle()
void
setAuthor(@NotNull Author author)
void
setId(Integer id)
void
setIsbn(long isbn)
void
setTitle(@NotNull @Size(max=10) String title)
String
toString()
-
-
-
Constructor Detail
-
Book
public Book()
-
Book
public Book(String title)
-
-
Method Detail
-
getId
public Integer getId()
-
setId
public void setId(Integer id)
-
getTitle
@NotNull @Size(max=10) public @NotNull @Size(max=10) String getTitle()
-
setTitle
public void setTitle(@NotNull @Size(max=10) @NotNull @Size(max=10) String title)
-
getAuthor
@NotNull public @NotNull Author getAuthor()
-
setAuthor
public void setAuthor(@NotNull @NotNull Author author)
-
getIsbn
public long getIsbn()
-
setIsbn
public void setIsbn(long isbn)
-
-