Package openbook.domain
Class Author
- java.lang.Object
-
- openbook.domain.Author
-
@Entity public class Author extends java.lang.ObjectA persistent entity to represent an author of one or more Book.
Notes: No setter for identity value.
- Identity:Generated value as identity.
- Mapping:Many-to-Many mapping to Books.
- Version: Yes.
- Author:
- Pinaki Poddar
-
-
Constructor Summary
Constructors Constructor Description Author()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBook(Book book)java.util.Set<Book>getBooks()longgetId()java.lang.StringgetName()intgetVersion()voidsetName(java.lang.String name)
-