Class: Export::Dwca::GbifProfile::SpeciesDescription

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

Instance Attribute Summary collapse

Instance Attribute Details

#audienceString

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

A class or description for whom the dwc:description is intended or useful

Example: “experts”, “general public”, “children”

Returns:

  • (String)


69
70
71
# File 'lib/export/dwca/gbif_profile/species_description.rb', line 69

def audience
  @audience
end

#contributorString

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

An entity responsible for making contributions to the textual information provided for a description

Returns:

  • (String)


61
62
63
# File 'lib/export/dwca/gbif_profile/species_description.rb', line 61

def contributor
  @contributor
end

#creatorString

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

The author(s) of the textual information provided for a description

Example: “Hershkovitz, P.”

Returns:

  • (String)


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

def creator
  @creator
end

#descriptionString

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

Any descriptive free text matching the category given by the type

Returns:

  • (String)


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

def description
  @description
end

#languageString

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

ISO 639-1 language code used for the vernacular name value.

Example: “ES”, “Spanish”, “Español”

Returns:

  • (String)


46
47
48
# File 'lib/export/dwca/gbif_profile/species_description.rb', line 46

def language
  @language
end

#licenseString

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

Official permission to do something with the resource. Please use Creative Commons URIs if you can.

Example: CC-BY

Returns:

  • (String)


78
79
80
# File 'lib/export/dwca/gbif_profile/species_description.rb', line 78

def license
  @license
end

#rightsHolderString

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

A person or organization owning or managing rights over the resource.

Returns:

  • (String)


84
85
86
# File 'lib/export/dwca/gbif_profile/species_description.rb', line 84

def rightsHolder
  @rightsHolder
end

#sourceString

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

Source reference of this description; a URL or full publication citation

Returns:

  • (String)


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

def source
  @source
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 description 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/species_description.rb', line 14

def taxonID
  @taxonID
end

#typeString

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

The kind of description given. See the Description Type vocabulary at rs.gbif.org/vocabulary/gbif/description_type.xml for a possible list of description types.

Vocabulary: rs.gbif.org/vocabulary/gbif/description_type.xml

Example: “morphology”, “distribution”, “diagnostic”

Returns:

  • (String)


26
27
28
# File 'lib/export/dwca/gbif_profile/species_description.rb', line 26

def type
  @type
end