1 // Copyright 2004 The Apache Software Foundation 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 package org.apache.tapestry.vlib.ejb; 16 17 import java.rmi.RemoteException; 18 import java.sql.Timestamp; 19 20 /** 21 * Remote interface for the Book entity bean. 22 * 23 * @version $Id: IBook.java,v 1.4 2004/02/19 17:37:39 hlship Exp $ 24 * @author Howard Lewis Ship 25 * 26 **/ 27 28 public interface IBook extends IEntityBean 29 { 30 public void setAuthor(String value) throws RemoteException; 31 32 public String getAuthor() throws RemoteException; 33 34 public void setTitle(String value) throws RemoteException; 35 36 public String getTitle() throws RemoteException; 37 38 public void setDescription(String value) throws RemoteException; 39 40 public String getDescription() throws RemoteException; 41 42 public void setISBN(String value) throws RemoteException; 43 44 public String getISBN() throws RemoteException; 45 46 public void setOwnerId(Integer value) throws RemoteException; 47 48 public Integer getOwnerId() throws RemoteException; 49 50 public void setHolderId(Integer value) throws RemoteException; 51 52 public Integer getHolderId() throws RemoteException; 53 54 public void setPublisherId(Integer value) throws RemoteException; 55 56 public Integer getPublisherId() throws RemoteException; 57 58 public boolean getHidden() throws RemoteException; 59 60 public void setHidden(boolean value) throws RemoteException; 61 62 public boolean getLendable() throws RemoteException; 63 64 public void setLendable(boolean value) throws RemoteException; 65 66 public Timestamp getDateAdded() throws RemoteException; 67 68 public void setDateAdded(Timestamp value) throws RemoteException; 69 }