org.geotoolkit.metadata.iso.citation
Class DefaultResponsibleParty

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by DefaultResponsibleParty
All Implemented Interfaces:
Serializable, Cloneable, LenientComparable, IdentifiedObject, ResponsibleParty

@ThreadSafe
public class DefaultResponsibleParty
extends MetadataEntity
implements ResponsibleParty

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

Since:
2.1
Version:
3.19
Author:
Martin Desruisseaux (IRD, Geomatys), Touraïvane (IRD), Cédric Briançon (Geomatys)
See Also:
Serialized Form
Module:
metadata/geotk-metadata (download)    View source code for this class

Field Summary
static ResponsibleParty EPSG
          Deprecated. To be replaced by a database (constants are becoming too numerous)
static ResponsibleParty ESRI
          Deprecated. To be replaced by a database (constants are becoming too numerous)
static ResponsibleParty GEOTIFF
          Deprecated. To be replaced by a database (constants are becoming too numerous)
static ResponsibleParty GEOTOOLKIT
          Deprecated. To be replaced by a database (constants are becoming too numerous)
static ResponsibleParty GEOTOOLS
          Deprecated. To be replaced by a database (constants are becoming too numerous)
static ResponsibleParty ISO
          Deprecated. To be replaced by a database (constants are becoming too numerous)
static ResponsibleParty NETCDF
          Deprecated. To be replaced by a database (constants are becoming too numerous)
static ResponsibleParty OGC
          Deprecated. To be replaced by a database (constants are becoming too numerous)
static ResponsibleParty OPEN_GIS
          Deprecated. To be replaced by a database (constants are becoming too numerous)
static ResponsibleParty ORACLE
          Deprecated. To be replaced by a database (constants are becoming too numerous)
static ResponsibleParty POSTGIS
          Deprecated. To be replaced by a database (constants are becoming too numerous)
static ResponsibleParty PROJ4
          Deprecated. To be replaced by a database (constants are becoming too numerous)
static ResponsibleParty SUN_MICROSYSTEMS
          Deprecated. To be replaced by a database (constants are becoming too numerous)
 
Fields inherited from class MetadataEntity
identifiers
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
DefaultResponsibleParty()
          Constructs an initially empty responsible party.
DefaultResponsibleParty(ResponsibleParty source)
          Constructs a new responsible party initialized to the values specified by the given object.
DefaultResponsibleParty(Role role)
          Constructs a responsibility party with the given role.
 
Method Summary
static DefaultResponsibleParty castOrCopy(ResponsibleParty object)
          Returns a Geotk metadata implementation with the same values than the given arbitrary implementation.
 Contact getContactInfo()
          Returns the address of the responsible party.
 String getIndividualName()
          Returns the name of the responsible person- surname, given name, title separated by a delimiter.
 InternationalString getOrganisationName()
          Returns the name of the responsible organization.
 InternationalString getPositionName()
          Returns the role or position of the responsible person Only one of individualName, organisationName and positionName should be provided.
 Role getRole()
          Returns the function performed by the responsible party.
static ResponsibleParty OGC(Role role, OnLineFunction function, URI onlineResource)
          Deprecated. To be replaced by a database (constants are becoming too numerous)
static ResponsibleParty OGC(Role role, OnlineResource resource)
          Deprecated. To be replaced by a database (constants are becoming too numerous)
 void setContactInfo(Contact newValue)
          Sets the address of the responsible party.
 void setIndividualName(String newValue)
          Sets the name of the responsible person- surname, given name, title separated by a delimiter.
 void setOrganisationName(InternationalString newValue)
          Sets the name of the responsible organization.
 void setPositionName(InternationalString newValue)
          set the role or position of the responsible person Only one of individualName, organisationName and positionName should be provided.
 void setRole(Role newValue)
          Sets the function performed by the responsible party.
 
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
 

Field Detail

ISO

@Deprecated
public static final ResponsibleParty ISO
Deprecated. To be replaced by a database (constants are becoming too numerous)
The International Organization for Standardization responsible party.

Since:
3.19

OGC

@Deprecated
public static final ResponsibleParty OGC
Deprecated. To be replaced by a database (constants are becoming too numerous)
The Open Geospatial consortium responsible party. "Open Geospatial consortium" is the new name for "OpenGIS consortium".

See Also:
DefaultContact.OGC

OPEN_GIS

@Deprecated
public static final ResponsibleParty OPEN_GIS
Deprecated. To be replaced by a database (constants are becoming too numerous)
The OpenGIS consortium responsible party. "OpenGIS consortium" is the old name for "Open Geospatial consortium".

See Also:
DefaultContact.OPEN_GIS

EPSG

@Deprecated
public static final ResponsibleParty EPSG
Deprecated. To be replaced by a database (constants are becoming too numerous)
The European Petroleum Survey Group responsible party.

See Also:
DefaultContact.EPSG

NETCDF

@Deprecated
public static final ResponsibleParty NETCDF
Deprecated. To be replaced by a database (constants are becoming too numerous)
The NETCDF responsible party.

Since:
3.08
See Also:
DefaultContact.NETCDF

GEOTIFF

@Deprecated
public static final ResponsibleParty GEOTIFF
Deprecated. To be replaced by a database (constants are becoming too numerous)
The GeoTIFF responsible party.

See Also:
DefaultContact.GEOTIFF

PROJ4

@Deprecated
public static final ResponsibleParty PROJ4
Deprecated. To be replaced by a database (constants are becoming too numerous)
The Proj.4 responsible party.

Since:
3.20
See Also:
DefaultContact.PROJ4

ESRI

@Deprecated
public static final ResponsibleParty ESRI
Deprecated. To be replaced by a database (constants are becoming too numerous)
The ESRI responsible party.

See Also:
DefaultContact.ESRI

ORACLE

@Deprecated
public static final ResponsibleParty ORACLE
Deprecated. To be replaced by a database (constants are becoming too numerous)
The Oracle responsible party.

See Also:
DefaultContact.ORACLE

POSTGIS

@Deprecated
public static final ResponsibleParty POSTGIS
Deprecated. To be replaced by a database (constants are becoming too numerous)
The PostGIS responsible party.

Since:
2.4
See Also:
DefaultContact.POSTGIS

SUN_MICROSYSTEMS

@Deprecated
public static final ResponsibleParty SUN_MICROSYSTEMS
Deprecated. To be replaced by a database (constants are becoming too numerous)
The Sun Microsystems party.

Since:
2.2
See Also:
DefaultContact.SUN_MICROSYSTEMS

GEOTOOLKIT

@Deprecated
public static final ResponsibleParty GEOTOOLKIT
Deprecated. To be replaced by a database (constants are becoming too numerous)
The Geotoolkit.org project.

See Also:
DefaultContact.GEOTOOLKIT

GEOTOOLS

@Deprecated
public static final ResponsibleParty GEOTOOLS
Deprecated. To be replaced by a database (constants are becoming too numerous)
The GeoTools project.

See Also:
DefaultContact.GEOTOOLS
Constructor Detail

DefaultResponsibleParty

public DefaultResponsibleParty()
Constructs an initially empty responsible party.


DefaultResponsibleParty

public DefaultResponsibleParty(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).

Parameters:
source - The metadata to copy, or null if none.
Since:
2.2

DefaultResponsibleParty

public DefaultResponsibleParty(Role role)
Constructs a responsibility party with the given role.

Parameters:
role - The function performed by the responsible party, or null if none.
Method Detail

OGC

@Deprecated
public static ResponsibleParty OGC(Role role,
                                              OnlineResource resource)
Deprecated. To be replaced by a database (constants are becoming too numerous)

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, or null if none.
Returns:
Responsible party describing OGC involvement.
Since:
2.2

OGC

@Deprecated
public static ResponsibleParty OGC(Role role,
                                              OnLineFunction function,
                                              URI onlineResource)
Deprecated. To be replaced by a database (constants are becoming too numerous)

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.

castOrCopy

public static DefaultResponsibleParty castOrCopy(ResponsibleParty object)
Returns a Geotk metadata implementation with the same values than the given arbitrary implementation. If the given object is 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).

Parameters:
object - The object to get as a Geotk implementation, or null if none.
Returns:
A Geotk implementation containing the values of the given object (may be the given object itself), or null if the argument was null.
Since:
3.18

getIndividualName

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

Specified by:
getIndividualName in interface ResponsibleParty

setIndividualName

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

Parameters:
newValue - The new individual name.

getOrganisationName

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

Specified by:
getOrganisationName in interface ResponsibleParty

setOrganisationName

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

Parameters:
newValue - The new organisation name.

getPositionName

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

Specified by:
getPositionName in interface ResponsibleParty

setPositionName

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

Parameters:
newValue - The new position name.

getContactInfo

public Contact getContactInfo()
Returns the address of the responsible party.

Specified by:
getContactInfo in interface ResponsibleParty

setContactInfo

public void setContactInfo(Contact newValue)
Sets the address of the responsible party.

Parameters:
newValue - The new contact info.

getRole

public Role getRole()
Returns the function performed by the responsible party.

Specified by:
getRole in interface ResponsibleParty

setRole

public void setRole(Role newValue)
Sets the function performed by the responsible party.

Parameters:
newValue - The new role.


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.