Class: Export::Dwca::GbifProfile::AlternateIdentifier
- Inherits:
-
Object
- Object
- Export::Dwca::GbifProfile::AlternateIdentifier
- Defined in:
- lib/export/dwca/gbif_profile/alternate_identifier.rb
Constant Summary collapse
- NAMESPACES =
{ :taxonID => 'http://rs.tdwg.org/dwc/terms/taxonID', :identifier => 'http://purl.org/dc/terms/identifier', :title => 'http://purl.org/dc/terms/title', :subject => 'http://purl.org/dc/terms/subject', :format => 'http://purl.org/dc/terms/format' }.freeze
Instance Attribute Summary collapse
-
#format ⇒ String
format (http://purl.org/dc/terms/format).
-
#identifier ⇒ String
identifier (http://purl.org/dc/terms/identifier).
-
#subject ⇒ String
subject (http://purl.org/dc/terms/subject).
-
#taxonID ⇒ String
taxonID (http://rs.tdwg.org/dwc/terms/taxonID).
-
#title ⇒ String
title (http://purl.org/dc/terms/title).
Instance Attribute Details
#format ⇒ String
format (http://purl.org/dc/terms/format)
Optional mime type of content returned by identifier in case the identifier is resolvable. Plain UUIDs for example do not have a dc:format return type, as they are not resolvable on their own. For a list of MIME types see the list maintained by IANA: http://www.iana.org/assignments/media-types/index.html, in particular the text http://www.iana.org/assignments/media-types/text/ and application http://www.iana.org/assignments/media-types/application/ types. Frequently used values are text/html, text/xml, application/rdf+xml, application/json
Example: application/rdf+xml
62 63 64 |
# File 'lib/export/dwca/gbif_profile/alternate_identifier.rb', line 62 def format @format end |
#identifier ⇒ String
identifier (http://purl.org/dc/terms/identifier)
External identifier used for the same taxon. Can be a URL pointing to a webpage, an xml or rdf document, a DOI, UUID or any other identifer
Example: "urn:lsid:ipni.org:names:692570-1:1.4"
31 32 33 |
# File 'lib/export/dwca/gbif_profile/alternate_identifier.rb', line 31 def identifier @identifier end |
#subject ⇒ String
subject (http://purl.org/dc/terms/subject)
keywords qualifying the identifier
46 47 48 |
# File 'lib/export/dwca/gbif_profile/alternate_identifier.rb', line 46 def subject @subject end |
#taxonID ⇒ String
taxonID (http://rs.tdwg.org/dwc/terms/taxonID)
The first field in the data file should be the taxonID representing the taxon in the core data file to which this identifier record points. This identifier provides the link between the core data record and the extension record.
22 23 24 |
# File 'lib/export/dwca/gbif_profile/alternate_identifier.rb', line 22 def taxonID @taxonID end |
#title ⇒ String
title (http://purl.org/dc/terms/title)
An optional display label for the URL that the publisher may prefer be displayed with the identifier or link
Example: "Danaus plexippus page", "COL Taxon LSID"
40 41 42 |
# File 'lib/export/dwca/gbif_profile/alternate_identifier.rb', line 40 def title @title end |