Class SimpleCitation
java.lang.Object
org.locationtech.proj4j.geoapi.SimpleCitation
- All Implemented Interfaces:
Serializable, org.opengis.metadata.citation.Citation, org.opengis.metadata.citation.Contact, org.opengis.metadata.citation.OnlineResource, org.opengis.metadata.citation.ResponsibleParty
final class SimpleCitation
extends Object
implements org.opengis.metadata.citation.Citation, org.opengis.metadata.citation.ResponsibleParty, org.opengis.metadata.citation.Contact, org.opengis.metadata.citation.OnlineResource, Serializable
A citation containing only a title, an organization name and a URL.
This implementation merges many interfaces in a single class for convenience.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe organization responsible for the maintenance of the dataset or project.(package private) static final SimpleCitationThe citation for the PROJ4J software.private final StringThe title of the dataset or project.private final StringURL where user can get more information.private final StringName of the page referenced byurl. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSimpleCitation(String title, String organization, String urlName, String url) Creates a new citation with the given title. -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.metadata.citation.AddressCollection<org.opengis.util.InternationalString> Collection<org.opengis.metadata.citation.ResponsibleParty> Returns the organization together with other information such as the organization role.org.opengis.util.InternationalStringorg.opengis.metadata.citation.ContactReturns information for contacting the responsible party.org.opengis.util.InternationalStringCollection<org.opengis.metadata.citation.CitationDate> getDates()org.opengis.util.InternationalStringorg.opengis.util.InternationalStringorg.opengis.metadata.citation.OnLineFunctionReturns the purpose of the linkage.org.opengis.util.InternationalStringCollection<org.opengis.metadata.Identifier> getISBN()getISSN()Returns URL to the organization web site.getName()Returns name of the online resource.org.opengis.metadata.citation.OnlineResourceReturns information about how to contact the organization.org.opengis.util.InternationalStringReturns the organization responsible for the maintenance of the dataset or project.org.opengis.util.InternationalStringorg.opengis.metadata.citation.TelephonegetPhone()org.opengis.util.InternationalStringCollection<org.opengis.metadata.citation.PresentationForm> Returns a description of how the dataset or project is presented.org.opengis.metadata.citation.RolegetRole()Returns the role of the organization regarding the software or data.org.opengis.metadata.citation.Seriesorg.opengis.util.InternationalStringgetTitle()Returns the title of the dataset or project.
-
Field Details
-
PROJ4J
The citation for the PROJ4J software. -
title
-
organization
The organization responsible for the maintenance of the dataset or project.- See Also:
-
urlName
-
url
URL where user can get more information.
-
-
Constructor Details
-
SimpleCitation
-
-
Method Details
-
getTitle
public org.opengis.util.InternationalString getTitle()Returns the title of the dataset or project.. Examples: "EPSG", "PROJ4J".- Specified by:
getTitlein interfaceorg.opengis.metadata.citation.Citation- Returns:
- the title of the dataset or project
-
getPresentationForms
Returns a description of how the dataset or project is presented..- Specified by:
getPresentationFormsin interfaceorg.opengis.metadata.citation.Citation- Returns:
- a description of how the dataset or project is presented
-
getCitedResponsibleParties
Returns the organization together with other information such as the organization role.. This is the method invoked by users for accessinggetOrganisationName().- Specified by:
getCitedResponsiblePartiesin interfaceorg.opengis.metadata.citation.Citation- Returns:
- the organization together with other information such as the organization role
-
getOrganisationName
public org.opengis.util.InternationalString getOrganisationName()Returns the organization responsible for the maintenance of the dataset or project.. Examples: "IOGP", "Eclipse".- Specified by:
getOrganisationNamein interfaceorg.opengis.metadata.citation.ResponsibleParty- Returns:
- the organization responsible for the maintenance of the dataset or project
-
getRole
public org.opengis.metadata.citation.Role getRole()Returns the role of the organization regarding the software or data..- Specified by:
getRolein interfaceorg.opengis.metadata.citation.ResponsibleParty- Returns:
- the role of the organization regarding the software or data
-
getContactInfo
public org.opengis.metadata.citation.Contact getContactInfo()Returns information for contacting the responsible party..- Specified by:
getContactInfoin interfaceorg.opengis.metadata.citation.ResponsibleParty- Returns:
- information for contacting the responsible party
-
getOnlineResource
public org.opengis.metadata.citation.OnlineResource getOnlineResource()Returns information about how to contact the organization.. Note that this is a member of contact information, not project information.Note: for providing a link to the project instead of the organization, we need to wait for the release of GeoAPI 3.1.
- Specified by:
getOnlineResourcein interfaceorg.opengis.metadata.citation.Contact- Returns:
- information about how to contact the organization
-
getName
Returns name of the online resource.. It describes the content ofgetLinkage(), which is about the organization, not the project.- Specified by:
getNamein interfaceorg.opengis.metadata.citation.OnlineResource- Returns:
- name of the online resource
-
getLinkage
Returns URL to the organization web site.. Note that this is a member of contact information, not project information.- Specified by:
getLinkagein interfaceorg.opengis.metadata.citation.OnlineResource- Returns:
- URL to the organization web site
-
getFunction
public org.opengis.metadata.citation.OnLineFunction getFunction()Returns the purpose of the linkage..- Specified by:
getFunctionin interfaceorg.opengis.metadata.citation.OnlineResource- Returns:
- the purpose of the linkage
-
getAlternateTitles
- Specified by:
getAlternateTitlesin interfaceorg.opengis.metadata.citation.Citation
-
getCollectiveTitle
public org.opengis.util.InternationalString getCollectiveTitle()- Specified by:
getCollectiveTitlein interfaceorg.opengis.metadata.citation.Citation
-
getDates
- Specified by:
getDatesin interfaceorg.opengis.metadata.citation.Citation
-
getEditionDate
- Specified by:
getEditionDatein interfaceorg.opengis.metadata.citation.Citation
-
getEdition
public org.opengis.util.InternationalString getEdition()- Specified by:
getEditionin interfaceorg.opengis.metadata.citation.Citation
-
getSeries
public org.opengis.metadata.citation.Series getSeries()- Specified by:
getSeriesin interfaceorg.opengis.metadata.citation.Citation
-
getOtherCitationDetails
public org.opengis.util.InternationalString getOtherCitationDetails()- Specified by:
getOtherCitationDetailsin interfaceorg.opengis.metadata.citation.Citation
-
getISBN
- Specified by:
getISBNin interfaceorg.opengis.metadata.citation.Citation
-
getISSN
- Specified by:
getISSNin interfaceorg.opengis.metadata.citation.Citation
-
getIndividualName
- Specified by:
getIndividualNamein interfaceorg.opengis.metadata.citation.ResponsibleParty
-
getPositionName
public org.opengis.util.InternationalString getPositionName()- Specified by:
getPositionNamein interfaceorg.opengis.metadata.citation.ResponsibleParty
-
getPhone
public org.opengis.metadata.citation.Telephone getPhone()- Specified by:
getPhonein interfaceorg.opengis.metadata.citation.Contact
-
getAddress
public org.opengis.metadata.citation.Address getAddress()- Specified by:
getAddressin interfaceorg.opengis.metadata.citation.Contact
-
getHoursOfService
public org.opengis.util.InternationalString getHoursOfService()- Specified by:
getHoursOfServicein interfaceorg.opengis.metadata.citation.Contact
-
getContactInstructions
public org.opengis.util.InternationalString getContactInstructions()- Specified by:
getContactInstructionsin interfaceorg.opengis.metadata.citation.Contact
-
getProtocol
- Specified by:
getProtocolin interfaceorg.opengis.metadata.citation.OnlineResource
-
getApplicationProfile
- Specified by:
getApplicationProfilein interfaceorg.opengis.metadata.citation.OnlineResource
-
getDescription
public org.opengis.util.InternationalString getDescription()- Specified by:
getDescriptionin interfaceorg.opengis.metadata.citation.OnlineResource
-
getIdentifiers
- Specified by:
getIdentifiersin interfaceorg.opengis.metadata.citation.Citation
-