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 Details

    • PROJ4J

      static final SimpleCitation PROJ4J
      The citation for the PROJ4J software.
    • title

      private final String title
      The title of the dataset or project.
      See Also:
    • organization

      private final String organization
      The organization responsible for the maintenance of the dataset or project.
      See Also:
    • urlName

      private final String urlName
      Name of the page referenced by url.
    • url

      private final String url
      URL where user can get more information.
  • Constructor Details

    • SimpleCitation

      private SimpleCitation(String title, String organization, String urlName, String url)
      Creates a new citation with the given title.
  • Method Details

    • getTitle

      public org.opengis.util.InternationalString getTitle()
      Returns the title of the dataset or project.. Examples: "EPSG", "PROJ4J".
      Specified by:
      getTitle in interface org.opengis.metadata.citation.Citation
      Returns:
      the title of the dataset or project
    • getPresentationForms

      public Collection<org.opengis.metadata.citation.PresentationForm> getPresentationForms()
      Returns a description of how the dataset or project is presented..
      Specified by:
      getPresentationForms in interface org.opengis.metadata.citation.Citation
      Returns:
      a description of how the dataset or project is presented
    • getCitedResponsibleParties

      public Collection<org.opengis.metadata.citation.ResponsibleParty> getCitedResponsibleParties()
      Returns the organization together with other information such as the organization role.. This is the method invoked by users for accessing getOrganisationName().
      Specified by:
      getCitedResponsibleParties in interface org.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:
      getOrganisationName in interface org.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:
      getRole in interface org.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:
      getContactInfo in interface org.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:
      getOnlineResource in interface org.opengis.metadata.citation.Contact
      Returns:
      information about how to contact the organization
    • getName

      public String getName()
      Returns name of the online resource.. It describes the content of getLinkage(), which is about the organization, not the project.
      Specified by:
      getName in interface org.opengis.metadata.citation.OnlineResource
      Returns:
      name of the online resource
    • getLinkage

      public URI getLinkage()
      Returns URL to the organization web site.. Note that this is a member of contact information, not project information.
      Specified by:
      getLinkage in interface org.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:
      getFunction in interface org.opengis.metadata.citation.OnlineResource
      Returns:
      the purpose of the linkage
    • getAlternateTitles

      public Collection<org.opengis.util.InternationalString> getAlternateTitles()
      Specified by:
      getAlternateTitles in interface org.opengis.metadata.citation.Citation
    • getCollectiveTitle

      public org.opengis.util.InternationalString getCollectiveTitle()
      Specified by:
      getCollectiveTitle in interface org.opengis.metadata.citation.Citation
    • getDates

      public Collection<org.opengis.metadata.citation.CitationDate> getDates()
      Specified by:
      getDates in interface org.opengis.metadata.citation.Citation
    • getEditionDate

      public Date getEditionDate()
      Specified by:
      getEditionDate in interface org.opengis.metadata.citation.Citation
    • getEdition

      public org.opengis.util.InternationalString getEdition()
      Specified by:
      getEdition in interface org.opengis.metadata.citation.Citation
    • getSeries

      public org.opengis.metadata.citation.Series getSeries()
      Specified by:
      getSeries in interface org.opengis.metadata.citation.Citation
    • getOtherCitationDetails

      public org.opengis.util.InternationalString getOtherCitationDetails()
      Specified by:
      getOtherCitationDetails in interface org.opengis.metadata.citation.Citation
    • getISBN

      public String getISBN()
      Specified by:
      getISBN in interface org.opengis.metadata.citation.Citation
    • getISSN

      public String getISSN()
      Specified by:
      getISSN in interface org.opengis.metadata.citation.Citation
    • getIndividualName

      public String getIndividualName()
      Specified by:
      getIndividualName in interface org.opengis.metadata.citation.ResponsibleParty
    • getPositionName

      public org.opengis.util.InternationalString getPositionName()
      Specified by:
      getPositionName in interface org.opengis.metadata.citation.ResponsibleParty
    • getPhone

      public org.opengis.metadata.citation.Telephone getPhone()
      Specified by:
      getPhone in interface org.opengis.metadata.citation.Contact
    • getAddress

      public org.opengis.metadata.citation.Address getAddress()
      Specified by:
      getAddress in interface org.opengis.metadata.citation.Contact
    • getHoursOfService

      public org.opengis.util.InternationalString getHoursOfService()
      Specified by:
      getHoursOfService in interface org.opengis.metadata.citation.Contact
    • getContactInstructions

      public org.opengis.util.InternationalString getContactInstructions()
      Specified by:
      getContactInstructions in interface org.opengis.metadata.citation.Contact
    • getProtocol

      public String getProtocol()
      Specified by:
      getProtocol in interface org.opengis.metadata.citation.OnlineResource
    • getApplicationProfile

      public String getApplicationProfile()
      Specified by:
      getApplicationProfile in interface org.opengis.metadata.citation.OnlineResource
    • getDescription

      public org.opengis.util.InternationalString getDescription()
      Specified by:
      getDescription in interface org.opengis.metadata.citation.OnlineResource
    • getIdentifiers

      public Collection<org.opengis.metadata.Identifier> getIdentifiers()
      Specified by:
      getIdentifiers in interface org.opengis.metadata.citation.Citation