|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--Address
This class represents an address with three lines of information.
E.g.,
1234 Broadway
Suite 98
New York, NY 10012
The address lines are maintained as Strings with no structure. I.e.,
structured fields such as city name, postal code, etc., are just part of the
String, and are not identified individually. There is no requirement that
an Address instance should have all lines filled, or even that it have any
lines filled.
| Constructor Summary | |
Address()
Create an Address instance with empty lines. |
|
| Method Summary | |
java.lang.String |
getLine1()
Return the first address line. |
java.lang.String |
getLine2()
Return the second address line. |
java.lang.String |
getLine3()
Return the third address line. |
void |
setLine1(java.lang.String aString)
Set the first address line. |
void |
setLine2(java.lang.String aString)
Set the second address line. |
void |
setLine3(java.lang.String aString)
Set the third address line. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Address()
| Method Detail |
public java.lang.String getLine1()
public java.lang.String getLine2()
public java.lang.String getLine3()
public void setLine1(java.lang.String aString)
public void setLine2(java.lang.String aString)
public void setLine3(java.lang.String aString)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||