Class ResponsiblePartyImpl
- Object
-
- AbstractMetadata
-
- ModifiableMetadata
-
- MetadataEntity
-
- ResponsiblePartyImpl
-
- All Implemented Interfaces:
Serializable
,Cloneable
,ResponsibleParty
public class ResponsiblePartyImpl extends MetadataEntity implements ResponsibleParty
Identification of, and means of communication with, person(s) and organizations associated with the dataset.- Since:
- 2.1
- Author:
- Martin Desruisseaux (IRD), Touraïvane
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ResponsibleParty
EPSG
The European Petroleum Survey Group responsible party.static ResponsibleParty
ESRI
The ESRI responsible party.static ResponsibleParty
GEOTIFF
The GeoTIFF responsible party.static ResponsibleParty
GEOTOOLS
The Geotools project.static ResponsibleParty
IAU
The IAU responsible party.static ResponsibleParty
OGC
The Open Geospatial consortium responsible party.static ResponsibleParty
OPEN_GIS
The OpenGIS consortium responsible party.static ResponsibleParty
ORACLE
The Oracle responsible party.static ResponsibleParty
POSTGIS
The PostGIS responsible party.static ResponsibleParty
PROJ
The PROJ responsible party.static ResponsibleParty
SUN_MICROSYSTEMS
The Sun Microsystems party.-
Fields inherited from class AbstractMetadata
LOGGER
-
-
Constructor Summary
Constructors Constructor Description ResponsiblePartyImpl()
Constructs an initially empty responsible party.ResponsiblePartyImpl(ResponsiblePartySubsetType rpSubset)
ResponsiblePartyImpl(ResponsibleParty source)
Constructs a new responsible party initialized to the values specified by the given object.ResponsiblePartyImpl(Role role)
Constructs a responsible party with the given role.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 ofindividualName
,organisationName
andpositionName
should be provided.Role
getRole()
Returns the function performed by the responsible party.static ResponsibleParty
OGC(Role role, OnLineFunction function, URI onlineResource)
Creates a responsible party metadata entry for OGC involvement.static ResponsibleParty
OGC(Role role, OnLineResource resource)
Creates a responsible party metadata entry for OGC involvement.void
setContactInfo(Contact newValue)
Set the address of the responsible party.void
setIndividualName(String newValue)
Set the name of the responsible person- surname, given name, title separated by a delimiter.void
setOrganisationName(InternationalString newValue)
Set the name of the responsible organization.void
setPositionName(InternationalString newValue)
set the role or position of the responsible person Only one ofindividualName
,organisationName
andpositionName
should be provided.void
setRole(Role newValue)
Set the function performed by the responsible party.-
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 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 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 ResponsibleParty EPSG
The European Petroleum Survey Group responsible party.- See Also:
ContactImpl.EPSG
-
GEOTIFF
public static ResponsibleParty GEOTIFF
The GeoTIFF responsible party.- See Also:
ContactImpl.GEOTIFF
-
ESRI
public static ResponsibleParty ESRI
The ESRI responsible party.- See Also:
ContactImpl.ESRI
-
IAU
public static ResponsibleParty IAU
The IAU responsible party.- See Also:
ContactImpl.IAU
-
ORACLE
public static ResponsibleParty ORACLE
The Oracle responsible party.- See Also:
ContactImpl.ORACLE
-
POSTGIS
public static ResponsibleParty POSTGIS
The PostGIS responsible party.- Since:
- 2.4
- See Also:
ContactImpl.POSTGIS
-
PROJ
public static ResponsibleParty PROJ
The PROJ responsible party.- See Also:
ContactImpl.PROJ
-
SUN_MICROSYSTEMS
public static ResponsibleParty SUN_MICROSYSTEMS
The Sun Microsystems party.- Since:
- 2.2
- See Also:
ContactImpl.SUN_MICROSYSTEMS
-
GEOTOOLS
public static ResponsibleParty GEOTOOLS
The Geotools project.- See Also:
ContactImpl.GEOTOOLS
-
-
Constructor Detail
-
ResponsiblePartyImpl
public ResponsiblePartyImpl()
Constructs an initially empty responsible party.
-
ResponsiblePartyImpl
public ResponsiblePartyImpl(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(Role role)
Constructs a responsible party with the given role.
-
ResponsiblePartyImpl
public ResponsiblePartyImpl(ResponsiblePartySubsetType rpSubset)
-
-
Method Detail
-
OGC
public static ResponsibleParty OGC(Role role, 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 ResponsibleParty OGC(Role role, OnLineFunction function, 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 String getIndividualName()
Returns the name of the responsible person- surname, given name, title separated by a delimiter. Only one ofindividualName
,organisationName
andpositionName
should be provided.- Specified by:
getIndividualName
in interfaceResponsibleParty
- Returns:
- Name, surname, given name and title of the responsible person, or
null
.
-
setIndividualName
public void setIndividualName(String newValue)
Set the name of the responsible person- surname, given name, title separated by a delimiter. Only one ofindividualName
,organisationName
andpositionName
should be provided.
-
getOrganisationName
public InternationalString getOrganisationName()
Returns the name of the responsible organization. Only one ofindividualName
, organisationName andpositionName
should be provided.- Specified by:
getOrganisationName
in interfaceResponsibleParty
- Returns:
- Name of the responsible organization, or
null
.
-
setOrganisationName
public void setOrganisationName(InternationalString newValue)
Set the name of the responsible organization. Only one ofindividualName
, organisationName andpositionName
should be provided.
-
getPositionName
public InternationalString getPositionName()
Returns the role or position of the responsible person Only one ofindividualName
,organisationName
andpositionName
should be provided.- Specified by:
getPositionName
in interfaceResponsibleParty
- Returns:
- Role or position of the responsible person, or
null
-
setPositionName
public void setPositionName(InternationalString newValue)
set the role or position of the responsible person Only one ofindividualName
,organisationName
andpositionName
should be provided.
-
getContactInfo
public Contact getContactInfo()
Returns the address of the responsible party.- Specified by:
getContactInfo
in interfaceResponsibleParty
- Returns:
- Address of the responsible party., or
null
.
-
setContactInfo
public void setContactInfo(Contact newValue)
Set the address of the responsible party.
-
getRole
public Role getRole()
Returns the function performed by the responsible party.- Specified by:
getRole
in interfaceResponsibleParty
- Returns:
- Function performed by the responsible party.
-
setRole
public void setRole(Role newValue)
Set the function performed by the responsible party.
-
-