net.jini.lookup.entry
Class Address

java.lang.Object
  |
  +--net.jini.entry.AbstractEntry
        |
        +--net.jini.lookup.entry.Address

public class Address
extends AbstractEntry

The address of the physical component of a service. This is distinct from the Location class in that it is intended for use with the Location class in geographically dispersed organizations.

See Also:
Location, AddressBean, Serialized Form

Field Summary
 java.lang.String country
          Country name.
 java.lang.String locality
          City or locality name.
 java.lang.String organization
          Name of the company or organization that provides this service.
 java.lang.String organizationalUnit
          The unit within the organization that provides this service.
 java.lang.String postalCode
          Postal code.
 java.lang.String stateOrProvince
          Full name or standard postal abbreviation of a state or province.
 java.lang.String street
          Street address.
 
Constructor Summary
Address()
          Construct an empty instance of this class.
Address(java.lang.String street, java.lang.String organization, java.lang.String organizationalUnit, java.lang.String locality, java.lang.String stateOrProvince, java.lang.String postalCode, java.lang.String country)
          Construct an instance of this class, with all fields initialized appropriately.
 
Methods inherited from class net.jini.entry.AbstractEntry
equals, equals, hashCode, hashCode, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

street

public java.lang.String street
Street address. For example, "901 San Antonio Road".

organization

public java.lang.String organization
Name of the company or organization that provides this service. For example, "Sun Microsystems".

organizationalUnit

public java.lang.String organizationalUnit
The unit within the organization that provides this service. For example, "Information Services".

locality

public java.lang.String locality
City or locality name. For example, "Palo Alto".

stateOrProvince

public java.lang.String stateOrProvince
Full name or standard postal abbreviation of a state or province. For example, "CA" (for California).

postalCode

public java.lang.String postalCode
Postal code. For example, in the United States, this is a ZIP code; in Ireland, it might be either empty or a postal district of Dublin.

country

public java.lang.String country
Country name.
Constructor Detail

Address

public Address()
Construct an empty instance of this class.

Address

public Address(java.lang.String street,
               java.lang.String organization,
               java.lang.String organizationalUnit,
               java.lang.String locality,
               java.lang.String stateOrProvince,
               java.lang.String postalCode,
               java.lang.String country)
Construct an instance of this class, with all fields initialized appropriately.


Copyright © 1999 Sun Microsystems, Inc. All rights reserved