Class: Export::Dwca::GbifProfile::AlternateIdentifier
- Inherits:
-
Object
- Object
- Export::Dwca::GbifProfile::AlternateIdentifier
- Defined in:
- lib/export/dwca/gbif_profile/alternate_identifier.rb
Instance Attribute Summary collapse
-
#format ⇒ String
format (purl.org/dc/terms/format).
-
#identifier ⇒ String
identifier (purl.org/dc/terms/identifier).
-
#subject ⇒ String
subject (purl.org/dc/terms/subject).
-
#taxonID ⇒ String
taxonID (rs.tdwg.org/dwc/terms/taxonID).
-
#title ⇒ String
title (purl.org/dc/terms/title).
Instance Attribute Details
#format ⇒ String
format (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: www.iana.org/assignments/media-types/index.html, in particular the text www.iana.org/assignments/media-types/text/ and application 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
54 55 56 |
# File 'lib/export/dwca/gbif_profile/alternate_identifier.rb', line 54 def format @format end |
#identifier ⇒ String
identifier (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”
23 24 25 |
# File 'lib/export/dwca/gbif_profile/alternate_identifier.rb', line 23 def identifier @identifier end |
#subject ⇒ String
subject (purl.org/dc/terms/subject)
keywords qualifying the identifier
38 39 40 |
# File 'lib/export/dwca/gbif_profile/alternate_identifier.rb', line 38 def subject @subject end |
#taxonID ⇒ String
taxonID (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.
14 15 16 |
# File 'lib/export/dwca/gbif_profile/alternate_identifier.rb', line 14 def taxonID @taxonID end |
#title ⇒ String
title (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”
32 33 34 |
# File 'lib/export/dwca/gbif_profile/alternate_identifier.rb', line 32 def title @title end |