org.springframework.rules
Class Person

Show UML class diagram
java.lang.Object
  extended by org.springframework.rules.Person

public class Person
extends Object

Simple JavaBean domain object representing an person.

Author:
Ken Krebs

Constructor Summary
Person()
           
 
Method Summary
 String getAddress()
          Getter for property address.
 String getCity()
          Getter for property city.
 String getFirstName()
          Getter for property firstName.
 String getLastName()
          Getter for property lastName.
 String getState()
           
 String getTelephone()
          Getter for property telephone.
 String getZip()
           
 void setAddress(String address)
          Setter for property address.
 void setCity(String city)
          Setter for property city.
 void setFirstName(String firstName)
          Setter for property firstName.
 void setLastName(String lastName)
          Setter for property lastName.
 void setState(String state)
           
 void setTelephone(String telephone)
          Setter for property telephone.
 void setZip(String zip)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Person

public Person()
Method Detail

getFirstName

public String getFirstName()
Getter for property firstName.

Returns:
Value of property firstName.

setFirstName

public void setFirstName(String firstName)
Setter for property firstName.

Parameters:
firstName - New value of property firstName.

getLastName

public String getLastName()
Getter for property lastName.

Returns:
Value of property lastName.

setLastName

public void setLastName(String lastName)
Setter for property lastName.

Parameters:
lastName - New value of property lastName.

getAddress

public String getAddress()
Getter for property address.

Returns:
Value of property address.

setAddress

public void setAddress(String address)
Setter for property address.

Parameters:
address - New value of property address.

getCity

public String getCity()
Getter for property city.

Returns:
Value of property city.

setCity

public void setCity(String city)
Setter for property city.

Parameters:
city - New value of property city.

getTelephone

public String getTelephone()
Getter for property telephone.

Returns:
Value of property telephone.

setTelephone

public void setTelephone(String telephone)
Setter for property telephone.

Parameters:
telephone - New value of property telephone.

getState

public String getState()
Returns:
the state

setState

public void setState(String state)
Parameters:
state - the state to set

getZip

public String getZip()
Returns:
the zip

setZip

public void setZip(String zip)
Parameters:
zip - the zip to set


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.