com.bankframe.examples.bo.address
Class AddressBean
java.lang.Object
com.bankframe.examples.bo.address.AddressBean
- Direct Known Subclasses:
- AddressBean
public class AddressBean
- extends Object
This class defines the attributes of the Address Entity and the accessor
methods for those attributes
Method Summary |
void |
amend(String addressLine1,
String addressLine2,
String addressLine3,
String addressLine4,
String country,
String postCode)
This method amends the attributes of the Address entity. |
void |
create(String ownerId,
String addressLine1,
String addressLine2,
String addressLine3,
String addressLine4,
String country,
String postCode)
This method initialises a new instance of the Address entity. |
String |
getAddressLine1()
|
String |
getAddressLine2()
|
String |
getAddressLine3()
|
String |
getAddressLine4()
|
String |
getCountry()
|
String |
getOwnerId()
|
String |
getPostCode()
|
ownerId
public String ownerId
addressLine1
public String addressLine1
addressLine2
public String addressLine2
addressLine3
public String addressLine3
addressLine4
public String addressLine4
country
public String country
postCode
public String postCode
AddressBean
public AddressBean()
- Default Constructor.
amend
public void amend(String addressLine1,
String addressLine2,
String addressLine3,
String addressLine4,
String country,
String postCode)
throws ValidationException
- This method amends the attributes of the Address entity.
- Parameters:
addressLine1
- addressLine2
- addressLine3
- addressLine4
- country
- postCode
-
- Throws:
ValidationException
create
public void create(String ownerId,
String addressLine1,
String addressLine2,
String addressLine3,
String addressLine4,
String country,
String postCode)
throws ValidationException
- This method initialises a new instance of the Address entity.
- Parameters:
ownerId
- addressLine1
- addressLine2
- addressLine3
- addressLine4
- country
- postCode
-
- Throws:
ValidationException
getAddressLine1
public String getAddressLine1()
- Returns:
- the addressLine1 attribute.
getAddressLine2
public String getAddressLine2()
- Returns:
- the addressLine2 attribute.
getAddressLine3
public String getAddressLine3()
- Returns:
- the addressLine3 attribute.
getAddressLine4
public String getAddressLine4()
- Returns:
- the addressLine4 attribute.
getCountry
public String getCountry()
- Returns:
- the country attribute.
getOwnerId
public String getOwnerId()
- Returns:
- the ownerId attribute.
getPostCode
public String getPostCode()
- Returns:
- the postCode attribute.
Copyright © 2005, 2007, Oracle. All rights reserved.