|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fuin.examples.jmsmvc4swing.Address
public final class Address
Address information.
| Constructor Summary | |
|---|---|
Address()
Default constructor. |
|
| Method Summary | |
|---|---|
int |
compareTo(Address other)
|
boolean |
equals(Object obj)
|
String |
getCity()
Returns the city. |
String |
getCountry()
Returns the country. |
String |
getFirstName()
Returns the first name. |
int |
getId()
Returns the unique identifier. |
String |
getLastName()
Returns the last name. |
String |
getState()
Returns the state. |
String |
getStreet()
Returns the street. |
String |
getZip()
Returns the postal ZIP code. |
int |
hashCode()
|
Address |
setCity(String city)
Sets the city to a new value. |
Address |
setCountry(String country)
Sets the country to a new value. |
Address |
setFirstName(String firstName)
Sets the first name to a new value. |
Address |
setId(int id)
Sets the unique identifier to a new value. |
Address |
setLastName(String lastName)
Sets the last name to a new value. |
Address |
setState(String state)
Sets the state name to a new value. |
Address |
setStreet(String street)
Sets the street name to a new value. |
Address |
setZip(String zip)
Sets the postal ZIP code to a new value. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Address()
| Method Detail |
|---|
public final int getId()
public final Address setId(int id)
id - Unique ID.
public final String getLastName()
public final Address setLastName(String lastName)
lastName - Last name.
public final String getFirstName()
public final Address setFirstName(String firstName)
firstName - Last name.
public final String getStreet()
public final Address setStreet(String street)
street - Name of the street.
public final String getZip()
public final Address setZip(String zip)
zip - ZIP code.
public final String getCity()
public final Address setCity(String city)
city - Name of the city.
public final String getState()
public final Address setState(String state)
state - Name of the state.
public final String getCountry()
public final Address setCountry(String country)
country - Name of the country.
public final int hashCode()
hashCode in class Objectpublic final boolean equals(Object obj)
equals in class Objectpublic final int compareTo(Address other)
compareTo in interface Comparable<Address>public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||