KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > bank > interfaces > Customer


1 /*
2   * JBoss, Home of Professional Open Source
3   * Copyright 2005, JBoss Inc., and individual contributors as indicated
4   * by the @authors tag. See the copyright.txt in the distribution for a
5   * full listing of individual contributors.
6   *
7   * This is free software; you can redistribute it and/or modify it
8   * under the terms of the GNU Lesser General Public License as
9   * published by the Free Software Foundation; either version 2.1 of
10   * the License, or (at your option) any later version.
11   *
12   * This software is distributed in the hope that it will be useful,
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15   * Lesser General Public License for more details.
16   *
17   * You should have received a copy of the GNU Lesser General Public
18   * License along with this software; if not, write to the Free
19   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21   */

22 package org.jboss.test.bank.interfaces;
23
24 import java.rmi.*;
25 import java.util.*;
26 import javax.ejb.*;
27
28 /**
29  *
30  * @see <related>
31  * @author $Author: starksm $
32  * @version $Revision: 37406 $
33  */

34 public interface Customer
35    extends EJBObject
36 {
37    // Constants -----------------------------------------------------
38

39    // Attributes ----------------------------------------------------
40

41    // Static --------------------------------------------------------
42

43    // Constructors --------------------------------------------------
44

45    // Public --------------------------------------------------------
46
public String JavaDoc getName()
47       throws RemoteException;
48       
49    public void setName(String JavaDoc name)
50       throws RemoteException;
51       
52    public Collection getAccounts()
53       throws RemoteException;
54       
55    public void addAccount(Account acct)
56         throws RemoteException;
57    
58    public void removeAccount(Account acct)
59         throws RemoteException;
60 }
61
62 /*
63  * $Id: Customer.java 37406 2005-10-29 23:41:24Z starksm $
64  * Currently locked by:$Locker$
65  * Revision:
66  * $Log$
67  * Revision 1.4 2005/10/29 23:41:17 starksm
68  * Update the jboss LGPL headers
69  *
70  * Revision 1.3 2001/01/07 23:14:36 peter
71  * Trying to get JAAS to work within test suite.
72  *
73  * Revision 1.2 2000/09/30 01:00:57 fleury
74  * Updated bank tests to work with new jBoss version
75  *
76  * Revision 1.1.1.1 2000/06/21 15:52:38 oberg
77  * Initial import of jBoss test. This module contains CTS tests, some simple examples, and small bean suites.
78  *
79  *
80  *
81  */

82
Popular Tags