com.bankframe.examples.bo.impl.customer
Class CustomerBean
java.lang.Object
com.bankframe.examples.bo.customer.CustomerBean
com.bankframe.examples.bo.impl.customer.CustomerBean
- All Implemented Interfaces:
- EEntity, Serializable
- Direct Known Subclasses:
- CustomerBMPBean
public class CustomerBean
- extends CustomerBean
- implements EEntity
This class defines the basis of the Customer entity EJB implementation.
- See Also:
- Serialized Form
CustomerBean
public CustomerBean()
- Default constructor
amendAddress
public Address amendAddress(String addressLine1,
String addressLine2,
String addressLine3,
String addressLine4,
String country,
String postCode)
throws ProcessingErrorException,
ValidationException,
RemoteException
- This method amends the Address entity associated with this Customer entity.
- Parameters:
addressLine1
- addressLine2
- addressLine3
- addressLine4
- country
- postCode
-
- Throws:
ProcessingErrorException
RemoteException
ValidationException
getAddress
public Address getAddress()
throws ProcessingErrorException,
RemoteException
- This method retrieves the address entity associated with this customer entity.
- Returns:
- the address enitity for this customer
- Throws:
ProcessingErrorException
RemoteException
toDataPacket
public DataPacket toDataPacket()
throws RemoteException
- This method converts a customer instance to a DataPacket.
- Specified by:
toDataPacket
in interface EEntity
- Returns:
- a DataPacket containing this customers details
- Throws:
RemoteException
Copyright © 2005, 2007, Oracle. All rights reserved.