com.bankframe.ejb.bmp
Interface EBMPEntity

All Superinterfaces:
EEntity, java.io.Serializable
All Known Subinterfaces:
EBMPMasterEntity
All Known Implementing Classes:
AccountBMPBean, AddressBMPBean, CustomerBMPBean

public interface EBMPEntity
extends EEntity

This interface defines the methods that all Eontec Bean Managed Persistence Entity beans must implement.

Author:
ETU

Field Summary
 
Fields inherited from interface com.bankframe.ejb.EEntity
serialVersionUID
 
Method Summary
 EPrimaryKey createPrimaryKey(DataPacket dp)
          This method creates a primary key instance from the information in the DataPacket.
 java.lang.String getEntityName()
          This method gets a String that uniquely identifies this Entity Bean.
 EPersister getPersister()
          This method gets an instance of the Persister class that is used for persisting this.
 EPrimaryKey getPrimaryKey()
          This method gets a primary key that uniquely identifies this Entity Bean instance.
 void populate(DataPacket dp)
          This method populates the attributes of the Entity Bean with the information in the DataPacket.
 
Methods inherited from interface com.bankframe.ejb.EEntity
toDataPacket
 

Method Detail

createPrimaryKey

public EPrimaryKey createPrimaryKey(DataPacket dp)
                             throws ProcessingErrorException
This method creates a primary key instance from the information in the DataPacket.

Parameters:
dp - the primary key information
Returns:
an EPrimaryKey instance
Throws:
ProcessingErrorException - if processing fails.

getEntityName

public java.lang.String getEntityName()
This method gets a String that uniquely identifies this Entity Bean. This should be the JNDI name of the EJB.

Returns:
The entity name

getPersister

public EPersister getPersister()
This method gets an instance of the Persister class that is used for persisting this.

Returns:
EPersister instance

getPrimaryKey

public EPrimaryKey getPrimaryKey()
This method gets a primary key that uniquely identifies this Entity Bean instance.

Returns:
an EPrimaryKey instance

populate

public void populate(DataPacket dp)
This method populates the attributes of the Entity Bean with the information in the DataPacket.

Parameters:
dp - The DataPacket containing the data for the Entity Bean's attributes


Copyright © 2004 Siebel Systems, Inc. All rights reserved.