Package org.locationtech.proj4j.geoapi
Class SimpleCitation
- java.lang.Object
-
- org.locationtech.proj4j.geoapi.SimpleCitation
-
- All Implemented Interfaces:
java.io.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 java.lang.Object implements org.opengis.metadata.citation.Citation, org.opengis.metadata.citation.ResponsibleParty, org.opengis.metadata.citation.Contact, org.opengis.metadata.citation.OnlineResource, java.io.SerializableA citation containing only a title, an organization name and a URL. This implementation merges many interfaces in a single class for convenience.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringorganizationThe organization responsible for the maintenance of the dataset or project.(package private) static SimpleCitationPROJ4JThe citation for the PROJ4J software.private java.lang.StringtitleThe title of the dataset or project.private java.lang.StringurlURL where user can get more information.private java.lang.StringurlNameName of the page referenced byurl.
-
Constructor Summary
Constructors Modifier Constructor Description privateSimpleCitation(java.lang.String title, java.lang.String organization, java.lang.String urlName, java.lang.String url)Creates a new citation with the given title.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opengis.metadata.citation.AddressgetAddress()java.util.Collection<org.opengis.util.InternationalString>getAlternateTitles()java.lang.StringgetApplicationProfile()java.util.Collection<org.opengis.metadata.citation.ResponsibleParty>getCitedResponsibleParties(){@return the organization together with other information such as the organization role}.org.opengis.util.InternationalStringgetCollectiveTitle()org.opengis.metadata.citation.ContactgetContactInfo(){@return information for contacting the responsible party}.org.opengis.util.InternationalStringgetContactInstructions()java.util.Collection<org.opengis.metadata.citation.CitationDate>getDates()org.opengis.util.InternationalStringgetDescription()org.opengis.util.InternationalStringgetEdition()java.util.DategetEditionDate()org.opengis.metadata.citation.OnLineFunctiongetFunction(){@return the purpose of the linkage}.org.opengis.util.InternationalStringgetHoursOfService()java.util.Collection<org.opengis.metadata.Identifier>getIdentifiers()java.lang.StringgetIndividualName()java.lang.StringgetISBN()java.lang.StringgetISSN()java.net.URIgetLinkage(){@return URL to the organization web site}.java.lang.StringgetName(){@return name of the online resource}.org.opengis.metadata.citation.OnlineResourcegetOnlineResource(){@return information about how to contact the organization}.org.opengis.util.InternationalStringgetOrganisationName(){@return the organization responsible for the maintenance of the dataset or project}.org.opengis.util.InternationalStringgetOtherCitationDetails()org.opengis.metadata.citation.TelephonegetPhone()org.opengis.util.InternationalStringgetPositionName()java.util.Collection<org.opengis.metadata.citation.PresentationForm>getPresentationForms(){@return a description of how the dataset or project is presented}.java.lang.StringgetProtocol()org.opengis.metadata.citation.RolegetRole(){@return the role of the organization regarding the software or data}.org.opengis.metadata.citation.SeriesgetSeries()org.opengis.util.InternationalStringgetTitle(){@return the title of the dataset or project}.
-
-
-
Field Detail
-
PROJ4J
static final SimpleCitation PROJ4J
The citation for the PROJ4J software.
-
title
private final java.lang.String title
The title of the dataset or project.- See Also:
getTitle()
-
organization
private final java.lang.String organization
The organization responsible for the maintenance of the dataset or project.
-
urlName
private final java.lang.String urlName
Name of the page referenced byurl.
-
url
private final java.lang.String url
URL where user can get more information.
-
-
Method Detail
-
getTitle
public org.opengis.util.InternationalString getTitle()
{@return the title of the dataset or project}. Examples: "EPSG", "PROJ4J".- Specified by:
getTitlein interfaceorg.opengis.metadata.citation.Citation
-
getPresentationForms
public java.util.Collection<org.opengis.metadata.citation.PresentationForm> getPresentationForms()
{@return a description of how the dataset or project is presented}.- Specified by:
getPresentationFormsin interfaceorg.opengis.metadata.citation.Citation
-
getCitedResponsibleParties
public java.util.Collection<org.opengis.metadata.citation.ResponsibleParty> getCitedResponsibleParties()
{@return 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
-
getOrganisationName
public org.opengis.util.InternationalString getOrganisationName()
{@return the organization responsible for the maintenance of the dataset or project}. Examples: "IOGP", "Eclipse".- Specified by:
getOrganisationNamein interfaceorg.opengis.metadata.citation.ResponsibleParty
-
getRole
public org.opengis.metadata.citation.Role getRole()
{@return the role of the organization regarding the software or data}.- Specified by:
getRolein interfaceorg.opengis.metadata.citation.ResponsibleParty
-
getContactInfo
public org.opengis.metadata.citation.Contact getContactInfo()
{@return information for contacting the responsible party}.- Specified by:
getContactInfoin interfaceorg.opengis.metadata.citation.ResponsibleParty
-
getOnlineResource
public org.opengis.metadata.citation.OnlineResource getOnlineResource()
{@return 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
-
getName
public java.lang.String getName()
{@return 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
-
getLinkage
public java.net.URI getLinkage()
{@return 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
-
getFunction
public org.opengis.metadata.citation.OnLineFunction getFunction()
{@return the purpose of the linkage}.- Specified by:
getFunctionin interfaceorg.opengis.metadata.citation.OnlineResource
-
getAlternateTitles
public java.util.Collection<org.opengis.util.InternationalString> 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
public java.util.Collection<org.opengis.metadata.citation.CitationDate> getDates()
- Specified by:
getDatesin interfaceorg.opengis.metadata.citation.Citation
-
getEditionDate
public java.util.Date 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
public java.lang.String getISBN()
- Specified by:
getISBNin interfaceorg.opengis.metadata.citation.Citation
-
getISSN
public java.lang.String getISSN()
- Specified by:
getISSNin interfaceorg.opengis.metadata.citation.Citation
-
getIndividualName
public java.lang.String 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
public java.lang.String getProtocol()
- Specified by:
getProtocolin interfaceorg.opengis.metadata.citation.OnlineResource
-
getApplicationProfile
public java.lang.String 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
public java.util.Collection<org.opengis.metadata.Identifier> getIdentifiers()
- Specified by:
getIdentifiersin interfaceorg.opengis.metadata.citation.Citation
-
-