com.primix.vlib.ejb
Interface IEntityBean

All Superinterfaces:
EJBObject, java.rmi.Remote
All Known Subinterfaces:
IBook, IPerson, IPublisher

public interface IEntityBean
extends EJBObject

Defines the remove interface for an entity which can download and upload a subset of its properties as a Map.

Version:
$Id: IEntityBean.java,v 1.4 2001/05/02 18:07:08 hship Exp $
Author:
Howard Ship

Method Summary
 java.util.Map getEntityAttributes()
          Returns the simple attributes of the entity as a Map.
 void updateEntityAttributes(java.util.Map data)
          Updates some or all of the properties of the entity.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getEntityAttributes

public java.util.Map getEntityAttributes()
                                  throws java.rmi.RemoteException
Returns the simple attributes of the entity as a Map.

updateEntityAttributes

public void updateEntityAttributes(java.util.Map data)
                            throws java.rmi.RemoteException
Updates some or all of the properties of the entity.