Class: DarwinCore::TaxonNormalized
- Inherits:
-
Object
- Object
- DarwinCore::TaxonNormalized
- Defined in:
- lib/dwc-archive/classification_normalizer.rb
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 22 23 24 |
# File 'lib/dwc-archive/classification_normalizer.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.
7 8 9 |
# File 'lib/dwc-archive/classification_normalizer.rb', line 7 def classification_path @classification_path end |
#classification_path_id ⇒ Object
Returns the value of attribute classification_path_id.
7 8 9 |
# File 'lib/dwc-archive/classification_normalizer.rb', line 7 def classification_path_id @classification_path_id end |
#current_name ⇒ Object
Returns the value of attribute current_name.
7 8 9 |
# File 'lib/dwc-archive/classification_normalizer.rb', line 7 def current_name @current_name end |
#current_name_canonical ⇒ Object
Returns the value of attribute current_name_canonical.
7 8 9 |
# File 'lib/dwc-archive/classification_normalizer.rb', line 7 def current_name_canonical @current_name_canonical end |
#global_id ⇒ Object
Returns the value of attribute global_id.
7 8 9 |
# File 'lib/dwc-archive/classification_normalizer.rb', line 7 def global_id @global_id end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/dwc-archive/classification_normalizer.rb', line 7 def id @id end |
#linnean_classification_path ⇒ Object
Returns the value of attribute linnean_classification_path.
7 8 9 |
# File 'lib/dwc-archive/classification_normalizer.rb', line 7 def linnean_classification_path @linnean_classification_path end |
#local_id ⇒ Object
Returns the value of attribute local_id.
7 8 9 |
# File 'lib/dwc-archive/classification_normalizer.rb', line 7 def local_id @local_id end |
#parent_id ⇒ Object
Returns the value of attribute parent_id.
7 8 9 |
# File 'lib/dwc-archive/classification_normalizer.rb', line 7 def parent_id @parent_id end |
#rank ⇒ Object
Returns the value of attribute rank.
7 8 9 |
# File 'lib/dwc-archive/classification_normalizer.rb', line 7 def rank @rank end |
#source ⇒ Object
Returns the value of attribute source.
7 8 9 |
# File 'lib/dwc-archive/classification_normalizer.rb', line 7 def source @source end |
#status ⇒ Object
Returns the value of attribute status.
7 8 9 |
# File 'lib/dwc-archive/classification_normalizer.rb', line 7 def status @status end |
#synonyms ⇒ Object
Returns the value of attribute synonyms.
7 8 9 |
# File 'lib/dwc-archive/classification_normalizer.rb', line 7 def synonyms @synonyms end |
#vernacular_names ⇒ Object
Returns the value of attribute vernacular_names.
7 8 9 |
# File 'lib/dwc-archive/classification_normalizer.rb', line 7 def vernacular_names @vernacular_names end |