com.bankframe.examples.bo.customer
Class CustomerBean

java.lang.Object
  extended bycom.bankframe.examples.bo.customer.CustomerBean
Direct Known Subclasses:
CustomerBean

public class CustomerBean
extends java.lang.Object

This class defines the attributes of the Customer Entity and the accessor methods for those attributes.


Field Summary
 java.lang.String firstName
           
 java.lang.String lastName
           
 java.lang.String ownerId
           
 java.lang.String title
           
 
Constructor Summary
CustomerBean()
          Default constructor.
 
Method Summary
 void amend(java.lang.String title, java.lang.String firstName, java.lang.String lastName)
          This method amends the attributes of the Customer entity.
 void create(java.lang.String ownerId, java.lang.String title, java.lang.String firstName, java.lang.String lastName)
          This method amends the attributes of the Customer entity.
 java.lang.String getFirstName()
          This method returns the firstName attribute.
 java.lang.String getLastName()
          This method returns the lastName attribute.
 java.lang.String getOwnerId()
          This method returns the ownerId attribute.
 java.lang.String getTitle()
          This method returns the title attribute.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ownerId

public java.lang.String ownerId

title

public java.lang.String title

firstName

public java.lang.String firstName

lastName

public java.lang.String lastName
Constructor Detail

CustomerBean

public CustomerBean()
Default constructor.

Method Detail

amend

public void amend(java.lang.String title,
                  java.lang.String firstName,
                  java.lang.String lastName)
           throws ValidationException
This method amends the attributes of the Customer entity.

Parameters:
title -
firstName -
lastName -
Throws:
ValidationException

create

public void create(java.lang.String ownerId,
                   java.lang.String title,
                   java.lang.String firstName,
                   java.lang.String lastName)
            throws ValidationException
This method amends the attributes of the Customer entity.

Parameters:
ownerId -
title -
firstName -
lastName -
Throws:
ValidationException

getFirstName

public java.lang.String getFirstName()
This method returns the firstName attribute.

Returns:
the firstName attribute

getLastName

public java.lang.String getLastName()
This method returns the lastName attribute.

Returns:
the last name attribute

getOwnerId

public java.lang.String getOwnerId()
This method returns the ownerId attribute.

Returns:
the ownerId attribute

getTitle

public java.lang.String getTitle()
This method returns the title attribute.

Returns:
the title attribute


Copyright © 2005, 2007, Oracle. All rights reserved.