OpMath

com.opmath.test.j2ee.contact
Interface Contact

All Superinterfaces:
EJBObject, Remote

public interface Contact
extends EJBObject

The (remote) Remote interface of the Contact EJB. Specifies the functionality of Contact instances, avaliable to remote clients.

Copyright: (c) 2002 The Open Math Company Limited

The Terms of Distribution of this software are stipulated in the javadoc Overview for this project.

Since:
J2SDK 1.3.1, J2SDKEE 1.3.1, EJB 2.0
Version:
OpMath J2EE Example v1.0
Author:
Bruno Beloff bruno.beloff@opmath.com
See Also:
ContactBean

Method Summary
 ContactVO getData()
          Returns the value object, carrying the state of this Contact EJB.
 ContactPK getKey()
          Returns the primary key for this Contact EJB.
 void setData(ContactVO data)
          Sets the state of this Contact EJB with the given value object.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getKey

public ContactPK getKey()
                 throws RemoteException

Returns the primary key for this Contact EJB.

Returns:
the ContactPK uniquely identifying this instance.
Throws:
RemoteException - if problems were encountered in communicating with the application server or Contact EJB.
See Also:
ContactBean.getKey()

getData

public ContactVO getData()
                  throws RemoteException

Returns the value object, carrying the state of this Contact EJB.

Returns:
a ContactVO giving the state of this Contact EJB.
Throws:
RemoteException - if problems were encountered in communicating with the application server or Contact EJB.
See Also:
ContactBean.getData()

setData

public void setData(ContactVO data)
             throws RemoteException

Sets the state of this Contact EJB with the given value object.

Parameters:
data - a ContactVO carrying the new state for this Contact EJB.
Throws:
RemoteException - if problems were encountered in communicating with the application server or Contact EJB.
See Also:
ContactBean.setData(ContactVO)

OpMath

Submit a bug or feature to Open Math
Copyright © 2002 Open Math Company Limited, Brighton, UK