org.geotools.metadata.iso.citation
Class ResponsiblePartyImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.citation.ResponsiblePartyImpl
All Implemented Interfaces:
java.lang.Cloneable, org.opengis.metadata.citation.ResponsibleParty, java.io.Serializable

public class ResponsiblePartyImpl
extends MetadataEntity
implements org.opengis.metadata.citation.ResponsibleParty

Identification of, and means of communication with, person(s) and organizations associated with the dataset.

Since:
2.1
Version:
$Id: ResponsiblePartyImpl.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux, Toura?vane
See Also:
Serialized Form

Field Summary
static org.opengis.metadata.citation.ResponsibleParty EPSG
          The European Petroleum Survey Group responsible party.
static org.opengis.metadata.citation.ResponsibleParty ESRI
          The ESRI responsible party.
static org.opengis.metadata.citation.ResponsibleParty GEOTIFF
          The GeoTIFF responsible party.
static org.opengis.metadata.citation.ResponsibleParty GEOTOOLS
          The Geotools project.
static org.opengis.metadata.citation.ResponsibleParty OGC
          The Open Geospatial consortium responsible party.
static org.opengis.metadata.citation.ResponsibleParty OPEN_GIS
          The OpenGIS consortium responsible party.
static org.opengis.metadata.citation.ResponsibleParty ORACLE
          The Oracle responsible party.
static org.opengis.metadata.citation.ResponsibleParty SUN_MICROSYSTEMS
          The Sun Microsystems party.
 
Fields inherited from class org.geotools.metadata.iso.MetadataEntity
LOGGER
 
Constructor Summary
ResponsiblePartyImpl()
          Constructs an initially empty responsible party.
ResponsiblePartyImpl(org.opengis.metadata.citation.ResponsibleParty source)
          Constructs a new responsible party initialized to the values specified by the given object.
ResponsiblePartyImpl(org.opengis.metadata.citation.Role role)
          Constructs a responsability party with the given role.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this responsible party with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 org.opengis.metadata.citation.Contact getContactInfo()
          Returns the address of the responsible party.
 java.lang.String getIndividualName()
          Returns the name of the responsible person- surname, given name, title separated by a delimiter.
 org.opengis.util.InternationalString getOrganisationName()
          Returns the name of the responsible organization.
 org.opengis.util.InternationalString getPositionName()
          Returns the role or position of the responsible person Only one of individualName, organisationName and should be provided.
 org.opengis.metadata.citation.Role getRole()
          Returns the function performed by the responsible party.
 int hashCode()
          Returns a hash code value for this responsible party.
static org.opengis.metadata.citation.ResponsibleParty OGC(org.opengis.metadata.citation.Role role, org.opengis.metadata.citation.OnLineFunction function, java.net.URI onlineResource)
          Creates a responsible party metadata entry for OGC involvement.
static org.opengis.metadata.citation.ResponsibleParty OGC(org.opengis.metadata.citation.Role role, org.opengis.metadata.citation.OnLineResource resource)
          Creates a responsible party metadata entry for OGC involvement.
 void setContactInfo(org.opengis.metadata.citation.Contact newValue)
          Set the address of the responsible party.
 void setIndividualName(java.lang.String newValue)
          Set the name of the responsible person- surname, given name, title separated by a delimiter.
 void setOrganisationName(org.opengis.util.InternationalString newValue)
          Set the name of the responsible organization.
 void setPositionName(org.opengis.util.InternationalString newValue)
          set the role or position of the responsible person Only one of individualName, organisationName and should be provided.
 void setRole(org.opengis.metadata.citation.Role newValue)
          Set the function performed by the responsible party.
 java.lang.String toString()
          Returns a string representation of this responsible party.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

OGC

public static org.opengis.metadata.citation.ResponsibleParty OGC
The Open Geospatial consortium responsible party. "Open Geospatial consortium" is the new name for "OpenGIS consortium".

See Also:
ContactImpl.OGC

OPEN_GIS

public static org.opengis.metadata.citation.ResponsibleParty OPEN_GIS
The OpenGIS consortium responsible party. "OpenGIS consortium" is the old name for "Open Geospatial consortium".

See Also:
ContactImpl.OPEN_GIS

EPSG

public static org.opengis.metadata.citation.ResponsibleParty EPSG
The European Petroleum Survey Group responsible party.

See Also:
ContactImpl.EPSG

GEOTIFF

public static org.opengis.metadata.citation.ResponsibleParty GEOTIFF
The GeoTIFF responsible party.

See Also:
ContactImpl.GEOTIFF

ESRI

public static org.opengis.metadata.citation.ResponsibleParty ESRI
The ESRI responsible party.

See Also:
ContactImpl.ESRI

ORACLE

public static org.opengis.metadata.citation.ResponsibleParty ORACLE
The Oracle responsible party.

See Also:
ContactImpl.ORACLE

SUN_MICROSYSTEMS

public static org.opengis.metadata.citation.ResponsibleParty SUN_MICROSYSTEMS
The Sun Microsystems party.

Since:
2.2
See Also:
ContactImpl.SUN_MICROSYSTEMS

GEOTOOLS

public static org.opengis.metadata.citation.ResponsibleParty GEOTOOLS
The Geotools project.

See Also:
ContactImpl.GEOTOOLS
Constructor Detail

ResponsiblePartyImpl

public ResponsiblePartyImpl()
Constructs an initially empty responsible party.


ResponsiblePartyImpl

public ResponsiblePartyImpl(org.opengis.metadata.citation.ResponsibleParty source)
Constructs a new responsible party initialized to the values specified by the given object. This constructor performs a shallow copy (i.e. each source attributes are reused without copying them).

Since:
2.2

ResponsiblePartyImpl

public ResponsiblePartyImpl(org.opengis.metadata.citation.Role role)
Constructs a responsability party with the given role.

Method Detail

OGC

public static org.opengis.metadata.citation.ResponsibleParty OGC(org.opengis.metadata.citation.Role role,
                                                                 org.opengis.metadata.citation.OnLineResource resource)
Creates a responsible party metadata entry for OGC involvement. The organisation name is automatically set to "Open Geospatial Consortium".

Parameters:
role - The OGC role (point of contact, owner, etc.) for a resource.
resource - The URI to the resource.
Returns:
Responsible party describing OGC involvement.
Since:
2.2

OGC

public static org.opengis.metadata.citation.ResponsibleParty OGC(org.opengis.metadata.citation.Role role,
                                                                 org.opengis.metadata.citation.OnLineFunction function,
                                                                 java.net.URI onlineResource)
Creates a responsible party metadata entry for OGC involvement. The organisation name is automatically set to "Open Geospatial Consortium".

Parameters:
role - The OGC role (point of contact, owner, etc.) for a resource.
function - The OGC function (information, download, etc.) for a resource.
onlineResource - The URI to the resource.
Returns:
Responsible party describing OGC involvement.

getIndividualName

public java.lang.String getIndividualName()
Returns the name of the responsible person- surname, given name, title separated by a delimiter. Only one of , organisationName and positionName should be provided.

Specified by:
getIndividualName in interface org.opengis.metadata.citation.ResponsibleParty

setIndividualName

public void setIndividualName(java.lang.String newValue)
Set the name of the responsible person- surname, given name, title separated by a delimiter. Only one of , organisationName and positionName should be provided.


getOrganisationName

public org.opengis.util.InternationalString getOrganisationName()
Returns the name of the responsible organization. Only one of individualName, organisationName and positionName should be provided.

Specified by:
getOrganisationName in interface org.opengis.metadata.citation.ResponsibleParty

setOrganisationName

public void setOrganisationName(org.opengis.util.InternationalString newValue)
Set the name of the responsible organization. Only one of individualName, organisationName and positionName should be provided.


getPositionName

public org.opengis.util.InternationalString getPositionName()
Returns the role or position of the responsible person Only one of individualName, organisationName and should be provided.

Specified by:
getPositionName in interface org.opengis.metadata.citation.ResponsibleParty

setPositionName

public void setPositionName(org.opengis.util.InternationalString newValue)
set the role or position of the responsible person Only one of individualName, organisationName and should be provided.


getContactInfo

public org.opengis.metadata.citation.Contact getContactInfo()
Returns the address of the responsible party.

Specified by:
getContactInfo in interface org.opengis.metadata.citation.ResponsibleParty

setContactInfo

public void setContactInfo(org.opengis.metadata.citation.Contact newValue)
Set the address of the responsible party.


getRole

public org.opengis.metadata.citation.Role getRole()
Returns the function performed by the responsible party.

Specified by:
getRole in interface org.opengis.metadata.citation.ResponsibleParty

setRole

public void setRole(org.opengis.metadata.citation.Role newValue)
Set the function performed by the responsible party.


freeze

protected void freeze()
Declare this metadata and all its attributes as unmodifiable.

Overrides:
freeze in class MetadataEntity

equals

public boolean equals(java.lang.Object object)
Compare this responsible party with the specified object for equality.


hashCode

public int hashCode()
Returns a hash code value for this responsible party. For performance reason, this method do not uses all attributes for computing the hash code. Instead, it uses the attributes that are the most likely to be unique.


toString

public java.lang.String toString()
Returns a string representation of this responsible party.



Copyright © GeoTools. All Rights Reserved.