public class BooksEvent extends EventObject
The GNU Lesser General Public License for details.,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
private boolean |
added
Is this an addition event?
|
private Book |
book
The name of the changed Bible
|
private static long |
serialVersionUID
Serialization ID
|
source| Constructor and Description |
|---|
BooksEvent(Object source,
Book book,
boolean added)
Basic constructor
|
| Modifier and Type | Method and Description |
|---|---|
Book |
getBook()
Get the name of the changed Book
|
boolean |
isAddition()
Is this an addition event?
|
private void |
readObject(ObjectInputStream is)
Serialization support.
|
getSource, toStringprivate boolean added
private transient Book book
private static final long serialVersionUID
public Book getBook()
public boolean isAddition()
private void readObject(ObjectInputStream is) throws IOException, ClassNotFoundException
is - the input streamIOException - if an I/O error occurredClassNotFoundException - this class cannot be recreated.