public class Address
extends java.lang.Object
This class has the following attributes:
1. deliveryInstallationType (String)
2. census Tract (String)
3. delivery Installation Qualifier (String)
4. precinct (String)
5. house Number Numeric (String)
6. delivery Mode (String)
7. delivery Address Line (String)
8. delivery Installation Area (String)
9. post Box (String)
10. direction (String)
11. postal Code (String)
13. delimiter (String)
14. care Of (String)
15. street Address Line (String)
16. house Number (String)
17. street Name Type (String)
18. street Name Base (String)
19. state (String)
20. unit Type (String)
21. building Number Suffix (String)
22. county (String)
23. additional Locator (String)
24. city (String)
25. streetName (String)
26. deliveryModeIdentifier (String)
27. unitID (String)
This class provides accessors and mutators for the elements mentioned above.
| Constructor and Description |
|---|
Address()
Constructs an object of Address.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAdditionalLocator()
Returns the Additional Locator.
|
java.lang.String |
getBuildingNumberSuffix()
Returns the Building Number Suffix.
|
java.lang.String |
getCareOf()
Returns the Care Of.
|
java.lang.String |
getCensusTract()
Returns the Census Tract.
|
java.lang.String |
getCity()
Returns the City.
|
java.lang.String |
getCounty()
Returns the County.
|
java.lang.String |
getDelimiter()
Returns the Delimiter.
|
java.lang.String |
getDeliveryAddressLine()
Returns the Delivery Address Line.
|
java.lang.String |
getDeliveryInstallationArea()
Returns the Delivery Installation Area.
|
java.lang.String |
getDeliveryInstallationQualifier()
Returns the Delivery Installation Qualifier.
|
java.lang.String |
getDeliveryInstallationType()
Returns the Delivery Installation Type.
|
java.lang.String |
getDeliveryMode()
Returns the Delivery Mode.
|
java.lang.String |
getDeliveryModeIdentifier()
Returns the Delivery Mode Identifier.
|
java.lang.String |
getDirection()
Returns the Direction.
|
java.lang.String |
getHouseNumber()
Returns the House Number.
|
java.lang.String |
getHouseNumberNumeric()
Returns the House Number Numeric.
|
java.lang.String |
getPostalCode()
Returns the Postal Code.
|
java.lang.String |
getPostBox()
Returns the Post Box
|
java.lang.String |
getPrecinct()
Returns the Precinct.
|
java.lang.String |
getState()
Returns the State.
|
java.lang.String |
getStreetAddressLine()
Returns the Street Address Line.
|
java.lang.String |
getStreetName()
Returns the Street name.
|
java.lang.String |
getStreetNameBase()
Return the Street Name Base.
|
java.lang.String |
getStreetNameType()
Returns the Street Name Type.
|
java.lang.String |
getUnitID()
Returns the Unit ID .
|
java.lang.String |
getUnitType()
Returns the Unit Type.
|
void |
setAdditionalLocator(java.lang.String additionalLocator)
Sets the Additional Locator.
|
void |
setBuildingNumberSuffix(java.lang.String buildingNumberSuffix)
Sets the Building Number Suffix.
|
void |
setCareOf(java.lang.String careOf)
Sets the Care Of.
|
void |
setCensusTract(java.lang.String censusTract)
Sets the Census Tract.
|
void |
setCity(java.lang.String city)
Sets the City.
|
void |
setCounty(java.lang.String county)
Sets the County.
|
void |
setDelimiter(java.lang.String delimiter)
Sets the Delimiter.
|
void |
setDeliveryAddressLine(java.lang.String deliveryAddressLine)
Sets the Delivery Address Line.
|
void |
setDeliveryInstallationArea(java.lang.String deliveryInstallationArea)
Sets the Delivery Installation Area.
|
void |
setDeliveryInstallationQualifier(java.lang.String deliveryInstallationQualifier)
Sets the Delivery Installation Qualifier.
|
void |
setDeliveryInstallationType(java.lang.String deliveryInstallationType)
Sets the Delivery Installation Type.
|
void |
setDeliveryMode(java.lang.String deliveryMode)
Sets the Delivery Mode.
|
void |
setDeliveryModeIdentifier(java.lang.String deliveryModeIdentifier)
returns the Delivery Mode Identifier.
|
void |
setDirection(java.lang.String direction)
Sets the Direction.
|
void |
setHouseNumber(java.lang.String houseNumber)
Sets the House Number.
|
void |
setHouseNumberNumeric(java.lang.String houseNumberNumeric)
Sets the House Number Numeric.
|
void |
setPostalCode(java.lang.String postalCode)
Sets the Postal Code.
|
void |
setPostBox(java.lang.String postBox)
Sets the Post Box.
|
void |
setPrecinct(java.lang.String precinct)
Sets the Precinct.
|
void |
setState(java.lang.String state)
Sets the State.
|
void |
setStreetAddressLine(java.lang.String streetAddressLine)
Sets the Street Address Line.
|
void |
setStreetName(java.lang.String streetName)
Sets the Street Name
|
void |
setStreetNameBase(java.lang.String streetNameBase)
Sets the Street Name Base.
|
void |
setStreetNameType(java.lang.String streetNameType)
Sets the Street Name Type.
|
void |
setUnitID(java.lang.String unitID)
Sets the Unit ID.
|
void |
setUnitType(java.lang.String unitType)
Sets the Unit Type.
|
public java.lang.String getDeliveryInstallationType()
public void setDeliveryInstallationType(java.lang.String deliveryInstallationType)
deliveryInstallationType - Specifies the type of delivery installation
(the facility to which the mail will be delivered prior to final shipping via the delivery mode.)
Example: post office, letter carrier depot, community mail center, station, etc.public java.lang.String getCensusTract()
public void setCensusTract(java.lang.String censusTract)
censusTract - Specifies the geographic sub-unit delineated for demographic purposes.public java.lang.String getDeliveryInstallationQualifier()
public void setDeliveryInstallationQualifier(java.lang.String deliveryInstallationQualifier)
deliveryInstallationQualifier - Specifies the number, letter or name identifying a delivery installation.
E.g., for Station A, the delivery installation qualifier would be 'A'.public java.lang.String getPrecinct()
public void setPrecinct(java.lang.String precinct)
precinct - Specifies the subsection of a municipalitypublic java.lang.String getHouseNumberNumeric()
public void setHouseNumberNumeric(java.lang.String houseNumberNumeric)
houseNumberNumeric - Specifies the numeric portion of a house or building numberpublic java.lang.String getDeliveryMode()
public void setDeliveryMode(java.lang.String deliveryMode)
deliveryMode - Specifies the type of service offered, method of delivery. For example: post office box, rural route, general delivery, etc.public java.lang.String getDeliveryAddressLine()
public void setDeliveryAddressLine(java.lang.String deliveryAddressLine)
deliveryAddressLine - Specifies the delivery address line is frequently used instead of breaking out delivery mode, delivery installation, etc.
An address generally has only a delivery address line or a street address line, but not both.public java.lang.String getDeliveryInstallationArea()
public void setDeliveryInstallationArea(java.lang.String deliveryInstallationArea)
deliveryInstallationArea - Specifies the location of the delivery installation, usually a town or city, and is only required if the area is different from the municipality.
Area to which mail delivery service is provided from any postal facility or service such as an individual letter carrier, rural route, or postal route.public java.lang.String getPostBox()
public void setPostBox(java.lang.String postBox)
postBox - Specifies the numbered box located in a post station.public java.lang.String getDirection()
public void setDirection(java.lang.String direction)
direction - Specifies the direction (e.g., N, S, W, E)public java.lang.String getPostalCode()
public void setPostalCode(java.lang.String postalCode)
postalCode - Specifies the postal code designating a region defined by the postal service.public java.lang.String getDelimiter()
public void setDelimiter(java.lang.String delimiter)
delimiter - Specifies the delimiters are printed without framing white space. If no value component is provided, the delimiter appears as a line break.public java.lang.String getCareOf()
public void setCareOf(java.lang.String careOf)
careOf - Specifies the name of the party who will take receipt at the specified address, and will take on responsibility for ensuring delivery to the target recipientpublic java.lang.String getStreetAddressLine()
public void setStreetAddressLine(java.lang.String streetAddressLine)
streetAddressLine - Specifies the street address line in terms of street name, house or building number, direction.public java.lang.String getHouseNumber()
public void setHouseNumber(java.lang.String houseNumber)
houseNumber - Specifies the number of a building, house or lot alongside the street. Also known as "primary street number". This does not number the street but rather the building.public java.lang.String getStreetNameType()
public void setStreetNameType(java.lang.String streetNameType)
streetNameType - Specifies the designation given to the street. (e.g. Street, Avenue, Crescent, etc.)public java.lang.String getStreetNameBase()
public void setStreetNameBase(java.lang.String streetNameBase)
streetNameBase - Specifies the base name of a roadway or artery recognized by a municipality (excluding street type and direction)public java.lang.String getState()
public void setState(java.lang.String state)
state - Specifies the sub-unit of a country with limited sovereignty in a federally organized country.public java.lang.String getUnitType()
public void setUnitType(java.lang.String unitType)
unitType - Specifies the type of specific unit contained within a building or complex. E.g. Apartment, Floor.public java.lang.String getBuildingNumberSuffix()
public void setBuildingNumberSuffix(java.lang.String buildingNumberSuffix)
buildingNumberSuffix - Specifies any alphabetic character, fraction or other text that may appear after the numeric portion of a building numberpublic java.lang.String getCounty()
public void setCounty(java.lang.String county)
county - Specifies the sub-unit of a state or province.public java.lang.String getAdditionalLocator()
public void setAdditionalLocator(java.lang.String additionalLocator)
additionalLocator - Specifies the unit designator, such as apartment number, suite number, or floor. There may be several unit designators in an address (e.g., "3rd floor, Appt. 342").
This can also be a designator pointing away from the location, rather than specifying a smaller location within some larger one (e.g., Dutch "t.o." means "opposite to" for house boats located across the street facing houses).public java.lang.String getCity()
public void setCity(java.lang.String city)
city - Specifies the name of the city, town, village, or other community or delivery center.public java.lang.String getStreetName()
public void setStreetName(java.lang.String streetName)
streetName - Specifies the Street Name in terms of street name base and street type.public java.lang.String getDeliveryModeIdentifier()
public void setDeliveryModeIdentifier(java.lang.String deliveryModeIdentifier)
deliveryModeIdentifier - Specifies the Represents the routing information such as a letter carrier route number. It is the identifying number of the designator (the box number or rural route number).public java.lang.String getUnitID()
public void setUnitID(java.lang.String unitID)
unitID - Specifies the number or name of a specific unit contained within a building or complex, as assigned by that building or complex.