com.bankframe.ejb
Class EBeanManagedEntityBean

java.lang.Object
  extended bycom.bankframe.ejb.EEntityBean
      extended bycom.bankframe.ejb.EBeanManagedEntityBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable

public abstract class EBeanManagedEntityBean
extends EEntityBean

This class is the Bankframe Entity Bean

Author:
ETU
See Also:
Serialized Form

Field Summary
static java.lang.String VERSION
           
 
Constructor Summary
EBeanManagedEntityBean()
           
 
Method Summary
 java.lang.String checkForDouble(java.lang.String data)
          This method checks if a string is a double
 java.lang.String checkForInteger(java.lang.String data)
          This method checks if a String is an Integer
 java.lang.String checkForLong(java.lang.String data)
          This method checks if a String is a Long.
 void ejbActivate()
          This method activates the ejb.
 void ejbPassivate()
          This method passivates the ejb.
abstract  void fromDataPacket(DataPacket data)
          This method is the default implementation to convert from datapacket.
 boolean isModified()
           
 void setEntityContext(javax.ejb.EntityContext ctx)
          This method sets the entity's context.
 void setModified(boolean flag)
          This method sets the modified flag.
 
Methods inherited from class com.bankframe.ejb.EEntityBean
ejbLoad, ejbRemove, ejbStore, toDataPacket, toString, unsetEntityContext, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VERSION

public static java.lang.String VERSION
Constructor Detail

EBeanManagedEntityBean

public EBeanManagedEntityBean()
Method Detail

checkForDouble

public java.lang.String checkForDouble(java.lang.String data)
This method checks if a string is a double

Parameters:
data - String to check
Returns:
original string parameter

checkForInteger

public java.lang.String checkForInteger(java.lang.String data)
This method checks if a String is an Integer

Parameters:
data - String to check
Returns:
the original string parameter

checkForLong

public java.lang.String checkForLong(java.lang.String data)
This method checks if a String is a Long.

Parameters:
data - String to check
Returns:
original string parameter

ejbActivate

public void ejbActivate()
This method activates the ejb.

Specified by:
ejbActivate in interface javax.ejb.EntityBean
Overrides:
ejbActivate in class EEntityBean

ejbPassivate

public void ejbPassivate()
This method passivates the ejb.

Specified by:
ejbPassivate in interface javax.ejb.EntityBean
Overrides:
ejbPassivate in class EEntityBean

fromDataPacket

public abstract void fromDataPacket(DataPacket data)
This method is the default implementation to convert from datapacket.

Parameters:
data - The DataPacket to convert from

isModified

public boolean isModified()

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ctx)
                      throws java.rmi.RemoteException
This method sets the entity's context.

Specified by:
setEntityContext in interface javax.ejb.EntityBean
Overrides:
setEntityContext in class EEntityBean
Parameters:
ctx - The context of the entity.
Throws:
java.rmi.RemoteException

setModified

public void setModified(boolean flag)
This method sets the modified flag.

Parameters:
flag - the new modified setting


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