Class ContactImpl
- Object
-
- AbstractMetadata
-
- ModifiableMetadata
-
- MetadataEntity
-
- ContactImpl
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Contact
public class ContactImpl extends MetadataEntity implements Contact
Information required to enable contact with the responsible person and/or organization.- Since:
- 2.1
- Author:
- Martin Desruisseaux (IRD), Touraïvane
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Contact
EPSG
Contact informations for the European Petroleum Survey Group.static Contact
ESRI
Contact informations for ESRI.static Contact
GEOTIFF
Contact informations for the GeoTIFF group.static Contact
GEOTOOLS
Contact informations for the Geotools project.static Contact
IAU
Contact informations for IAU.static Contact
OGC
Contact informations for the Open Geospatial consortium.static Contact
OPEN_GIS
Contact informations for the OpenGIS consortium.static Contact
ORACLE
Contact informations for Oracle.static Contact
POSTGIS
Contact informations for PostGIS.static Contact
SUN_MICROSYSTEMS
Contact informations for Sun Microsystems.-
Fields inherited from class AbstractMetadata
LOGGER
-
-
Constructor Summary
Constructors Constructor Description ContactImpl()
Constructs an initially empty contact.ContactImpl(ContactType contactInfo)
ContactImpl(Contact source)
Constructs a metadata entity initialized with the values from the specified metadata.ContactImpl(OnLineResource resource)
Constructs a contact initialized to the specified online resource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Address
getAddress()
Returns the physical and email address at which the organization or individual may be contacted.InternationalString
getContactInstructions()
Returns supplemental instructions on how or when to contact the individual or organization.InternationalString
getHoursOfService()
Returns time period (including time zone) when individuals can contact the organization or individual.OnLineResource
getOnLineResource()
Return on-line information that can be used to contact the individual or organization.Telephone
getPhone()
Returns telephone numbers at which the organization or individual may be contacted.void
setAddress(Address newValue)
Set the physical and email address at which the organization or individual may be contacted.void
setContactInstructions(InternationalString newValue)
Set supplemental instructions on how or when to contact the individual or organization.void
setHoursOfService(InternationalString newValue)
Set time period (including time zone) when individuals can contact the organization or individual.void
setOnLineResource(OnLineResource newValue)
Set on-line information that can be used to contact the individual or organization.void
setPhone(Telephone newValue)
Set telephone numbers at which the organization or individual may be contacted.-
Methods inherited from class MetadataEntity
ensureNonNull, getStandard
-
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
-
Methods inherited from class AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
-
-
-
-
Field Detail
-
OGC
public static final Contact OGC
Contact informations for the Open Geospatial consortium. "Open Geospatial consortium" is the new name for "OpenGIS consortium".- See Also:
OnLineResourceImpl.OGC
-
OPEN_GIS
public static final Contact OPEN_GIS
Contact informations for the OpenGIS consortium. "OpenGIS consortium" is the old name for "Open Geospatial consortium".- See Also:
OnLineResourceImpl.OPEN_GIS
-
EPSG
public static final Contact EPSG
Contact informations for the European Petroleum Survey Group.- See Also:
OnLineResourceImpl.EPSG
-
GEOTIFF
public static final Contact GEOTIFF
Contact informations for the GeoTIFF group.- See Also:
OnLineResourceImpl.GEOTIFF
-
ESRI
public static final Contact ESRI
Contact informations for ESRI.- See Also:
OnLineResourceImpl.ESRI
-
IAU
public static final Contact IAU
Contact informations for IAU.- See Also:
OnLineResourceImpl.IAU
-
ORACLE
public static final Contact ORACLE
Contact informations for Oracle.- See Also:
OnLineResourceImpl.ORACLE
-
POSTGIS
public static final Contact POSTGIS
Contact informations for PostGIS.- Since:
- 2.4
- See Also:
OnLineResourceImpl.POSTGIS
-
SUN_MICROSYSTEMS
public static final Contact SUN_MICROSYSTEMS
Contact informations for Sun Microsystems.- Since:
- 2.2
- See Also:
OnLineResourceImpl.SUN_MICROSYSTEMS
-
GEOTOOLS
public static final Contact GEOTOOLS
Contact informations for the Geotools project.- See Also:
OnLineResourceImpl.GEOTOOLS
-
-
Constructor Detail
-
ContactImpl
public ContactImpl()
Constructs an initially empty contact.
-
ContactImpl
public ContactImpl(Contact source)
Constructs a metadata entity initialized with the values from the specified metadata.- Since:
- 2.4
-
ContactImpl
public ContactImpl(OnLineResource resource)
Constructs a contact initialized to the specified online resource.
-
ContactImpl
public ContactImpl(ContactType contactInfo)
-
-
Method Detail
-
getAddress
public Address getAddress()
Returns the physical and email address at which the organization or individual may be contacted. Returnsnull
if none.- Specified by:
getAddress
in interfaceContact
- Returns:
- Physical and email address at which the organization or individual may be contacted,
or
null
.
-
setAddress
public void setAddress(Address newValue)
Set the physical and email address at which the organization or individual may be contacted.
-
getContactInstructions
public InternationalString getContactInstructions()
Returns supplemental instructions on how or when to contact the individual or organization. Returnsnull
if none.- Specified by:
getContactInstructions
in interfaceContact
- Returns:
- Supplemental instructions on how or when to contact the individual or organization,
or
null
.
-
setContactInstructions
public void setContactInstructions(InternationalString newValue)
Set supplemental instructions on how or when to contact the individual or organization.
-
getOnLineResource
public OnLineResource getOnLineResource()
Return on-line information that can be used to contact the individual or organization. Returnsnull
if none.- Specified by:
getOnLineResource
in interfaceContact
- Returns:
- On-line information that can be used to contact the individual or organization, or
null
.
-
setOnLineResource
public void setOnLineResource(OnLineResource newValue)
Set on-line information that can be used to contact the individual or organization.
-
getPhone
public Telephone getPhone()
Returns telephone numbers at which the organization or individual may be contacted. Returnsnull
if none.
-
setPhone
public void setPhone(Telephone newValue)
Set telephone numbers at which the organization or individual may be contacted.
-
getHoursOfService
public InternationalString getHoursOfService()
Returns time period (including time zone) when individuals can contact the organization or individual. Returnsnull
if none.- Specified by:
getHoursOfService
in interfaceContact
- Returns:
- Time period when individuals can contact the organization or individual, or
null
.
-
setHoursOfService
public void setHoursOfService(InternationalString newValue)
Set time period (including time zone) when individuals can contact the organization or individual.
-
-