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 ResponsiblePartyEPSGThe European Petroleum Survey Group responsible party.static ResponsiblePartyESRIThe ESRI responsible party.static ResponsiblePartyGEOTIFFThe GeoTIFF responsible party.static ResponsiblePartyGEOTOOLSThe Geotools project.static ResponsiblePartyIAUThe IAU responsible party.static ResponsiblePartyOGCThe Open Geospatial consortium responsible party.static ResponsiblePartyOPEN_GISThe OpenGIS consortium responsible party.static ResponsiblePartyORACLEThe Oracle responsible party.static ResponsiblePartyPOSTGISThe PostGIS responsible party.static ResponsiblePartyPROJThe PROJ responsible party.static ResponsiblePartySUN_MICROSYSTEMSThe 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 ContactgetContactInfo()Returns the address of the responsible party.StringgetIndividualName()Returns the name of the responsible person- surname, given name, title separated by a delimiter.InternationalStringgetOrganisationName()Returns the name of the responsible organization.InternationalStringgetPositionName()Returns the role or position of the responsible person Only one ofindividualName,organisationNameandpositionNameshould be provided.RolegetRole()Returns the function performed by the responsible party.static ResponsiblePartyOGC(Role role, OnLineFunction function, URI onlineResource)Creates a responsible party metadata entry for OGC involvement.static ResponsiblePartyOGC(Role role, OnLineResource resource)Creates a responsible party metadata entry for OGC involvement.voidsetContactInfo(Contact newValue)Set the address of the responsible party.voidsetIndividualName(String newValue)Set the name of the responsible person- surname, given name, title separated by a delimiter.voidsetOrganisationName(InternationalString newValue)Set the name of the responsible organization.voidsetPositionName(InternationalString newValue)set the role or position of the responsible person Only one ofindividualName,organisationNameandpositionNameshould be provided.voidsetRole(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,organisationNameandpositionNameshould be provided.- Specified by:
getIndividualNamein 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,organisationNameandpositionNameshould be provided.
-
getOrganisationName
public InternationalString getOrganisationName()
Returns the name of the responsible organization. Only one ofindividualName, organisationName andpositionNameshould be provided.- Specified by:
getOrganisationNamein 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 andpositionNameshould be provided.
-
getPositionName
public InternationalString getPositionName()
Returns the role or position of the responsible person Only one ofindividualName,organisationNameandpositionNameshould be provided.- Specified by:
getPositionNamein 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,organisationNameandpositionNameshould be provided.
-
getContactInfo
public Contact getContactInfo()
Returns the address of the responsible party.- Specified by:
getContactInfoin 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:
getRolein interfaceResponsibleParty- Returns:
- Function performed by the responsible party.
-
setRole
public void setRole(Role newValue)
Set the function performed by the responsible party.
-
-