Class: DarwinCore::TaxonNormalized

Inherits:
Object
  • Object
show all
Defined in:
lib/dwc_archive/taxon_normalized.rb

Overview

Describes normalized taxon

Direct Known Subclasses

GnubTaxon

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTaxonNormalized

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_pathObject

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_idObject

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_nameObject

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_canonicalObject

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_idObject

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

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/dwc_archive/taxon_normalized.rb', line 6

def id
  @id
end

#linnean_classification_pathObject

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_idObject

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_idObject

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

#rankObject

Returns the value of attribute rank.



6
7
8
# File 'lib/dwc_archive/taxon_normalized.rb', line 6

def rank
  @rank
end

#sourceObject

Returns the value of attribute source.



6
7
8
# File 'lib/dwc_archive/taxon_normalized.rb', line 6

def source
  @source
end

#statusObject

Returns the value of attribute status.



6
7
8
# File 'lib/dwc_archive/taxon_normalized.rb', line 6

def status
  @status
end

#synonymsObject

Returns the value of attribute synonyms.



6
7
8
# File 'lib/dwc_archive/taxon_normalized.rb', line 6

def synonyms
  @synonyms
end

#vernacular_namesObject

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