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, java.io.Serializable
- Direct Known Subclasses:
- CustomerBMPBean
- public class CustomerBean
- extends CustomerBean
- implements EEntity
This class defines the basis of the Customer entity EJB implementation.
- Author:
- ETU
- See Also:
- Serialized Form
Method Summary |
Address |
amendAddress(java.lang.String addressLine1,
java.lang.String addressLine2,
java.lang.String addressLine3,
java.lang.String addressLine4,
java.lang.String country,
java.lang.String postCode)
This method amends the Address entity associated with this Customer entity. |
Address |
getAddress()
This method retrieves the address entity associated with this customer entity. |
DataPacket |
toDataPacket()
This method converts a customer instance to a DataPacket. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomerBean
public CustomerBean()
- Default constructor
amendAddress
public Address amendAddress(java.lang.String addressLine1,
java.lang.String addressLine2,
java.lang.String addressLine3,
java.lang.String addressLine4,
java.lang.String country,
java.lang.String postCode)
throws ProcessingErrorException,
ValidationException,
java.rmi.RemoteException
- This method amends the Address entity associated with this Customer entity.
- Parameters:
addressLine1
- addressLine2
- addressLine3
- addressLine4
- country
- postCode
-
- Throws:
ProcessingErrorException
java.rmi.RemoteException
ValidationException
getAddress
public Address getAddress()
throws ProcessingErrorException,
java.rmi.RemoteException
- This method retrieves the address entity associated with this customer entity.
- Returns:
- the address enitity for this customer
- Throws:
ProcessingErrorException
java.rmi.RemoteException
toDataPacket
public DataPacket toDataPacket()
throws java.rmi.RemoteException
- This method converts a customer instance to a DataPacket.
- Specified by:
toDataPacket
in interface EEntity
- Returns:
- a DataPacket containing this customers details
- Throws:
java.rmi.RemoteException
Copyright © 2004 Siebel Systems, Inc. All rights reserved.