Class: Export::Dwca::GbifProfile::AlternateIdentifier

Inherits:
Object
  • Object
show all
Defined in:
lib/export/dwca/gbif_profile/alternate_identifier.rb

Instance Attribute Summary collapse

Instance Attribute Details

#formatString

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

Returns:

  • (String)


54
55
56
# File 'lib/export/dwca/gbif_profile/alternate_identifier.rb', line 54

def format
  @format
end

#identifierString

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”

Returns:

  • (String)


23
24
25
# File 'lib/export/dwca/gbif_profile/alternate_identifier.rb', line 23

def identifier
  @identifier
end

#subjectString

subject (purl.org/dc/terms/subject)

keywords qualifying the identifier

Returns:

  • (String)


38
39
40
# File 'lib/export/dwca/gbif_profile/alternate_identifier.rb', line 38

def subject
  @subject
end

#taxonIDString

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.

Returns:

  • (String)


14
15
16
# File 'lib/export/dwca/gbif_profile/alternate_identifier.rb', line 14

def taxonID
  @taxonID
end

#titleString

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”

Returns:

  • (String)


32
33
34
# File 'lib/export/dwca/gbif_profile/alternate_identifier.rb', line 32

def title
  @title
end