|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
DefaultAddress
@ThreadSafe public class DefaultAddress
Location of the responsible individual or organization.
| metadata/geotk-metadata (download) | View source code for this class |
| Field Summary |
|---|
| Fields inherited from class MetadataEntity |
|---|
identifiers |
| Fields inherited from class AbstractMetadata |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
DefaultAddress()
Constructs an initially empty address. |
|
DefaultAddress(Address source)
Constructs a metadata entity initialized with the values from the specified metadata. |
|
| Method Summary | |
|---|---|
static DefaultAddress |
castOrCopy(Address object)
Returns a Geotk metadata implementation with the same values than the given arbitrary implementation. |
InternationalString |
getAdministrativeArea()
Return the state, province of the location. |
InternationalString |
getCity()
Returns the city of the location. |
InternationalString |
getCountry()
Returns the country of the physical address. |
Collection<String> |
getDeliveryPoints()
Returns the address line for the location (as described in ISO 11180, Annex A). |
Collection<String> |
getElectronicMailAddresses()
Returns the address of the electronic mailbox of the responsible organization or individual. |
String |
getPostalCode()
Returns ZIP or other postal code. |
void |
setAdministrativeArea(InternationalString newValue)
Sets the state, province of the location. |
void |
setCity(InternationalString newValue)
Sets the city of the location. |
void |
setCountry(InternationalString newValue)
set the country of the physical address. |
void |
setDeliveryPoints(Collection<? extends String> newValues)
Sets the address line for the location (as described in ISO 11180, Annex A). |
void |
setElectronicMailAddresses(Collection<? extends String> newValues)
Sets the address of the electronic mailbox of the responsible organization or individual. |
void |
setPostalCode(String newValue)
Sets ZIP or other postal code. |
| Methods inherited from class MetadataEntity |
|---|
getIdentifier, getIdentifierMap, getIdentifiers, getStandard |
| Methods inherited from class ModifiableMetadata |
|---|
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, prune, unmodifiable |
| Methods inherited from class AbstractMetadata |
|---|
asMap, asTree, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, parse, toString |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultAddress()
public DefaultAddress(Address source)
source - The metadata to copy, or null if none.| Method Detail |
|---|
public static DefaultAddress castOrCopy(Address object)
null, then this method returns null.
Otherwise if the given object is already a Geotk implementation, then the given object is
returned unchanged. Otherwise a new Geotk implementation is created and initialized to the
attribute values of the given object, using a shallow copy operation
(i.e. attributes are not cloned).
object - The object to get as a Geotk implementation, or null if none.
null if the argument was null.public InternationalString getAdministrativeArea()
null if unspecified.
getAdministrativeArea in interface Addresspublic void setAdministrativeArea(InternationalString newValue)
newValue - The new administrative area.public InternationalString getCity()
null if unspecified.
getCity in interface Addresspublic void setCity(InternationalString newValue)
newValue - The new city.public InternationalString getCountry()
null if unspecified.
getCountry in interface Addresspublic void setCountry(InternationalString newValue)
newValue - The new country.public Collection<String> getDeliveryPoints()
getDeliveryPoints in interface Addresspublic void setDeliveryPoints(Collection<? extends String> newValues)
newValues - The new delivery points.public Collection<String> getElectronicMailAddresses()
getElectronicMailAddresses in interface Addresspublic void setElectronicMailAddresses(Collection<? extends String> newValues)
newValues - The new electronic mail addresses.public String getPostalCode()
null if unspecified.
getPostalCode in interface Addresspublic void setPostalCode(String newValue)
newValue - The new postal code.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||