FileDocCategorySizeDatePackage
Person.javaAPI DocExample886Sun Jul 20 19:04:18 BST 2003antipatterns.ejbs

Person

public class Person extends Object implements Serializable

Fields Summary
private String
lastName
private String
firstName
private String
phoneNumber
Constructors Summary
public Person()

    
public Person(String first, String last, String phone)

        setFirstName(first);
        setLastName(last);
        setPhoneNumber(phone);
    
Methods Summary
public java.lang.StringgetFirstName()

        return firstName;
    
public java.lang.StringgetLastName()

        return lastName;
    
public java.lang.StringgetPhoneNumber()

        return phoneNumber;
    
public voidsetFirstName(java.lang.String firstName)

        this.firstName = firstName;
    
public voidsetLastName(java.lang.String lastName)

        this.lastName = lastName;
    
public voidsetPhoneNumber(java.lang.String phoneNumber)

        this.phoneNumber = phoneNumber;