com.primix.vlib.ejb.impl
Class BookBean
java.lang.Object
|
+--com.primix.vlib.ejb.impl.AbstractEntityBean
|
+--com.primix.vlib.ejb.impl.BookBean
- All Implemented Interfaces:
- EnterpriseBean, EntityBean, java.io.Serializable
- public class BookBean
- extends AbstractEntityBean
Implementation of the Book entity.
We're using container managed persistance.
- Version:
- $Id: BookBean.java,v 1.2 2001/08/27 22:19:12 hship Exp $
- Author:
- Howard Ship
- See Also:
IBook
,
IBookHome
, Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bookId
public java.lang.Integer bookId
author
public java.lang.String author
title
public java.lang.String title
description
public java.lang.String description
ISBN
public java.lang.String ISBN
rating
public int rating
ownerPK
public java.lang.Integer ownerPK
holderPK
public java.lang.Integer holderPK
publisherPK
public java.lang.Integer publisherPK
hidden
public boolean hidden
lendable
public boolean lendable
dateAdded
public java.sql.Timestamp dateAdded
BookBean
public BookBean()
getAttributePropertyNames
protected java.lang.String[] getAttributePropertyNames()
- Description copied from class:
AbstractEntityBean
- Implemented in subclasses to provide a list of property names to be included
in the entity attributes map.
- Overrides:
getAttributePropertyNames
in class AbstractEntityBean
getAuthor
public java.lang.String getAuthor()
setAuthor
public void setAuthor(java.lang.String value)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String value)
getISBN
public java.lang.String getISBN()
setISBN
public void setISBN(java.lang.String value)
getTitle
public java.lang.String getTitle()
setTitle
public void setTitle(java.lang.String value)
getHolderPK
public java.lang.Integer getHolderPK()
throws java.rmi.RemoteException
setHolderPK
public void setHolderPK(java.lang.Integer value)
getOwnerPK
public java.lang.Integer getOwnerPK()
throws java.rmi.RemoteException
setOwnerPK
public void setOwnerPK(java.lang.Integer value)
setPublisherPK
public void setPublisherPK(java.lang.Integer value)
getPublisherPK
public java.lang.Integer getPublisherPK()
throws java.rmi.RemoteException
isHidden
public boolean isHidden()
setHidden
public void setHidden(boolean value)
isLendable
public boolean isLendable()
setLendable
public void setLendable(boolean value)
ejbLoad
public void ejbLoad()
- Description copied from class:
AbstractEntityBean
- Clears the dirty flag. Subclasses may invoke this implementation,
or simply do so themselves.
- Overrides:
ejbLoad
in class AbstractEntityBean
ejbStore
public void ejbStore()
- Description copied from class:
AbstractEntityBean
- Clears the dirty flag. Subclasses may invoke this implementation,
or simply do so themselves.
- Overrides:
ejbStore
in class AbstractEntityBean
getDateAdded
public java.sql.Timestamp getDateAdded()
setDateAdded
public void setDateAdded(java.sql.Timestamp value)
ejbCreate
public java.lang.Integer ejbCreate(java.util.Map attributes)
throws java.rmi.RemoteException
ejbPostCreate
public void ejbPostCreate(java.util.Map attributes)