|
||||||||||
| 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(java.lang.Object obj)
|
java.lang.String |
getCity()
Returns the city. |
java.lang.String |
getCountry()
Returns the country. |
java.lang.String |
getFirstName()
Returns the first name. |
int |
getId()
Returns the unique identifier. |
java.lang.String |
getLastName()
Returns the last name. |
java.lang.String |
getState()
Returns the state. |
java.lang.String |
getStreet()
Returns the street. |
java.lang.String |
getZip()
Returns the postal ZIP code. |
int |
hashCode()
|
Address |
setCity(java.lang.String city)
Sets the city to a new value. |
Address |
setCountry(java.lang.String country)
Sets the country to a new value. |
Address |
setFirstName(java.lang.String firstName)
Sets the first name to a new value. |
Address |
setId(int id)
Sets the unique identifier to a new value. |
Address |
setLastName(java.lang.String lastName)
Sets the last name to a new value. |
Address |
setState(java.lang.String state)
Sets the state name to a new value. |
Address |
setStreet(java.lang.String street)
Sets the street name to a new value. |
Address |
setZip(java.lang.String zip)
Sets the postal ZIP code to a new value. |
java.lang.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 java.lang.String getLastName()
public final Address setLastName(java.lang.String lastName)
lastName - Last name.
public final java.lang.String getFirstName()
public final Address setFirstName(java.lang.String firstName)
firstName - Last name.
public final java.lang.String getStreet()
public final Address setStreet(java.lang.String street)
street - Name of the street.
public final java.lang.String getZip()
public final Address setZip(java.lang.String zip)
zip - ZIP code.
public final java.lang.String getCity()
public final Address setCity(java.lang.String city)
city - Name of the city.
public final java.lang.String getState()
public final Address setState(java.lang.String state)
state - Name of the state.
public final java.lang.String getCountry()
public final Address setCountry(java.lang.String country)
country - Name of the country.
public final int hashCode()
hashCode in class java.lang.Objectpublic final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final int compareTo(Address other)
compareTo in interface java.lang.Comparable<Address>public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||