KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > tapestry > vlib > ejb > IPerson


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 JavaDoc;
18 import java.sql.Timestamp JavaDoc;
19
20 /**
21  * Remote interface for the Person entity bean.
22  *
23  * @version $Id: IPerson.java,v 1.4 2004/02/19 17:37:39 hlship Exp $
24  * @author Howard Lewis Ship
25  *
26  **/

27
28 public interface IPerson extends IEntityBean
29 {
30     public void setLastName(String JavaDoc value) throws RemoteException JavaDoc;
31
32     public String JavaDoc getLastName() throws RemoteException JavaDoc;
33
34     public void setFirstName(String JavaDoc value) throws RemoteException JavaDoc;
35
36     public String JavaDoc getFirstName() throws RemoteException JavaDoc;
37
38     public void setPassword(String JavaDoc value) throws RemoteException JavaDoc;
39
40     public String JavaDoc getPassword() throws RemoteException JavaDoc;
41
42     public void setEmail(String JavaDoc value) throws RemoteException JavaDoc;
43
44     public String JavaDoc getEmail() throws RemoteException JavaDoc;
45
46     public boolean getAdmin() throws RemoteException JavaDoc;
47
48     public void setAdmin(boolean value) throws RemoteException JavaDoc;
49
50     public boolean getLockedOut() throws RemoteException JavaDoc;
51
52     public void setLockedOut(boolean value) throws RemoteException JavaDoc;
53
54     public void setLastAccess(Timestamp JavaDoc value) throws RemoteException JavaDoc;
55
56     public Timestamp JavaDoc getLastAccess() throws RemoteException JavaDoc;
57 }
Popular Tags