Class: DarwinCore::TaxonNormalized
- Inherits:
-
Object
- Object
- DarwinCore::TaxonNormalized
- Defined in:
- lib/dwc_archive/taxon_normalized.rb
Overview
Describes normalized taxon
Direct Known Subclasses
Instance Attribute Summary collapse
-
#classification_path ⇒ Object
Returns the value of attribute classification_path.
-
#classification_path_id ⇒ Object
Returns the value of attribute classification_path_id.
-
#current_name ⇒ Object
Returns the value of attribute current_name.
-
#current_name_canonical ⇒ Object
Returns the value of attribute current_name_canonical.
-
#global_id ⇒ Object
Returns the value of attribute global_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#linnean_classification_path ⇒ Object
Returns the value of attribute linnean_classification_path.
-
#local_id ⇒ Object
Returns the value of attribute local_id.
-
#parent_id ⇒ Object
Returns the value of attribute parent_id.
-
#rank ⇒ Object
Returns the value of attribute rank.
-
#source ⇒ Object
Returns the value of attribute source.
-
#status ⇒ Object
Returns the value of attribute status.
-
#synonyms ⇒ Object
Returns the value of attribute synonyms.
-
#vernacular_names ⇒ Object
Returns the value of attribute vernacular_names.
Instance Method Summary collapse
-
#initialize ⇒ TaxonNormalized
constructor
A new instance of TaxonNormalized.
Constructor Details
#initialize ⇒ TaxonNormalized
Returns a new instance of TaxonNormalized.
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/dwc_archive/taxon_normalized.rb', line 12 def initialize @id = @parent_id = @rank = @status = nil @current_name = @current_name_canonical = @source = @local_id = "" @global_id = "" @classification_path = [] @classification_path_id = [] @synonyms = [] @vernacular_names = [] @linnean_classification_path = [] end |
Instance Attribute Details
#classification_path ⇒ Object
Returns the value of attribute classification_path.
6 7 8 |
# File 'lib/dwc_archive/taxon_normalized.rb', line 6 def classification_path @classification_path end |
#classification_path_id ⇒ Object
Returns the value of attribute classification_path_id.
6 7 8 |
# File 'lib/dwc_archive/taxon_normalized.rb', line 6 def classification_path_id @classification_path_id end |
#current_name ⇒ Object
Returns the value of attribute current_name.
6 7 8 |
# File 'lib/dwc_archive/taxon_normalized.rb', line 6 def current_name @current_name end |
#current_name_canonical ⇒ Object
Returns the value of attribute current_name_canonical.
6 7 8 |
# File 'lib/dwc_archive/taxon_normalized.rb', line 6 def current_name_canonical @current_name_canonical end |
#global_id ⇒ Object
Returns the value of attribute global_id.
6 7 8 |
# File 'lib/dwc_archive/taxon_normalized.rb', line 6 def global_id @global_id end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/dwc_archive/taxon_normalized.rb', line 6 def id @id end |
#linnean_classification_path ⇒ Object
Returns the value of attribute linnean_classification_path.
6 7 8 |
# File 'lib/dwc_archive/taxon_normalized.rb', line 6 def linnean_classification_path @linnean_classification_path end |
#local_id ⇒ Object
Returns the value of attribute local_id.
6 7 8 |
# File 'lib/dwc_archive/taxon_normalized.rb', line 6 def local_id @local_id end |
#parent_id ⇒ Object
Returns the value of attribute parent_id.
6 7 8 |
# File 'lib/dwc_archive/taxon_normalized.rb', line 6 def parent_id @parent_id end |
#rank ⇒ Object
Returns the value of attribute rank.
6 7 8 |
# File 'lib/dwc_archive/taxon_normalized.rb', line 6 def rank @rank end |
#source ⇒ Object
Returns the value of attribute source.
6 7 8 |
# File 'lib/dwc_archive/taxon_normalized.rb', line 6 def source @source end |
#status ⇒ Object
Returns the value of attribute status.
6 7 8 |
# File 'lib/dwc_archive/taxon_normalized.rb', line 6 def status @status end |
#synonyms ⇒ Object
Returns the value of attribute synonyms.
6 7 8 |
# File 'lib/dwc_archive/taxon_normalized.rb', line 6 def synonyms @synonyms end |
#vernacular_names ⇒ Object
Returns the value of attribute vernacular_names.
6 7 8 |
# File 'lib/dwc_archive/taxon_normalized.rb', line 6 def vernacular_names @vernacular_names end |