org.jboss.security.idm
Class Address

java.lang.Object
  extended by org.jboss.security.idm.Address
All Implemented Interfaces:
java.io.Serializable

public class Address
extends java.lang.Object
implements java.io.Serializable

Address represents an object to model the Address information associated with an Identity. It contains the basic information. Depending on your application needs, you can extends this class to add more Address specific information

Author:
Sohil Shah - sohil.shah@jboss.com - May 30, 2006
See Also:
Serialized Form

Constructor Summary
Address()
          Initializes the Address object
Address(java.lang.String street, java.lang.String city, java.lang.String state, java.lang.String postalCode, java.lang.String country)
          Initializes the Address object
 
Method Summary
 java.lang.String getCity()
          Returns the city information
 java.lang.String getCountry()
          Returns country information
 java.lang.String getPostalCode()
          Returns postalCode/zip information
 java.lang.String getState()
          Returns the state information
 java.lang.String getStreet()
          Returns the street information
 void setCity(java.lang.String city)
          Sets the city information
 void setCountry(java.lang.String country)
          Sets country information
 void setPostalCode(java.lang.String postalCode)
          Sets postalCode/zip information
 void setState(java.lang.String state)
          Sets the state information
 void setStreet(java.lang.String street)
          Sets the street information
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Address

public Address()
Initializes the Address object


Address

public Address(java.lang.String street,
               java.lang.String city,
               java.lang.String state,
               java.lang.String postalCode,
               java.lang.String country)
Initializes the Address object

Parameters:
street -
city -
state -
postalCode -
country -
Method Detail

getStreet

public java.lang.String getStreet()
Returns the street information

Returns:
street information

setStreet

public void setStreet(java.lang.String street)
Sets the street information

Parameters:
street - street information

getCity

public java.lang.String getCity()
Returns the city information

Returns:
city information

setCity

public void setCity(java.lang.String city)
Sets the city information

Parameters:
city - city information

getState

public java.lang.String getState()
Returns the state information

Returns:
state information

setState

public void setState(java.lang.String state)
Sets the state information

Parameters:
state - state information

getCountry

public java.lang.String getCountry()
Returns country information

Returns:
country country information

setCountry

public void setCountry(java.lang.String country)
Sets country information

Parameters:
country - country information

getPostalCode

public java.lang.String getPostalCode()
Returns postalCode/zip information

Returns:
postalCode/zip information

setPostalCode

public void setPostalCode(java.lang.String postalCode)
Sets postalCode/zip information

Parameters:
postalCode - postalCode/zip information