Class: Dwca::GbifProfile::ResourceRelationship

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

Instance Attribute Summary (collapse)

Instance Attribute Details

- (String) relatedResourceID

relatedResourceID (rs.tdwg.org/dwc/terms/relatedResourceID)

When the related taxon occurs in the core data file, this is the taxonID of that taxon.

Returns:

  • (String)


20
21
22
# File 'lib/dwca/gbif_profile/resource_relationship.rb', line 20

def relatedResourceID
  @relatedResourceID
end

- (String) relationshipAccordingTo

relationshipAccordingTo (rs.tdwg.org/dwc/terms/relationshipAccordingTo)

The source (person, organization, publication, reference) establishing the relationship between the two resources.

Example: “Julie Woodruff”

Returns:

  • (String)


48
49
50
# File 'lib/dwca/gbif_profile/resource_relationship.rb', line 48

def relationshipAccordingTo
  @relationshipAccordingTo
end

- (String) relationshipEstablishedDate

relationshipEstablishedDate (rs.tdwg.org/dwc/terms/relationshipEstablishedDate)

The date-time on which the relationship between the two resources was established. Recommended best practice is to use an encoding scheme, such as ISO 8601:2004(E).

Example: 1963-03-08T14:07-0600

Returns:

  • (String)


58
59
60
# File 'lib/dwca/gbif_profile/resource_relationship.rb', line 58

def relationshipEstablishedDate
  @relationshipEstablishedDate
end

- (String) relationshipOfResource

relationshipOfResource (rs.tdwg.org/dwc/terms/relationshipOfResource)

The relationship of the resource identified by relatedResourceID to the subject (optionally identified by the resourceID). Recommended best practice is to use a controlled vocabulary.

Example: “duplicate of”, “mother of”, “endoparasite of”, “host to”, “sibling of”, “valid synonym of”, “located within”

Returns:

  • (String)


39
40
41
# File 'lib/dwca/gbif_profile/resource_relationship.rb', line 39

def relationshipOfResource
  @relationshipOfResource
end

- (String) relationshipRemarks

relationshipRemarks (rs.tdwg.org/dwc/terms/relationshipRemarks)

Comments or notes about the relationship between the two resources.

Example: “mother and offspring collected from the same nest”

Returns:

  • (String)


67
68
69
# File 'lib/dwca/gbif_profile/resource_relationship.rb', line 67

def relationshipRemarks
  @relationshipRemarks
end

- (String) resourceRelationshipID

resourceRelationshipID (rs.tdwg.org/dwc/terms/resourceRelationshipID)

An identifier for an instance of relationship between one resource (the subject) and another (relatedResource, the object).

Example: “231” “urn:lsid:gbif.org:usages:32567”

Returns:

  • (String)


76
77
78
# File 'lib/dwca/gbif_profile/resource_relationship.rb', line 76

def resourceRelationshipID
  @resourceRelationshipID
end

- (String) scientificName

scientificName (rs.tdwg.org/dwc/terms/scientificName)

When the related taxon (the object) does not occur in the core data file, refer to it by scientific name. Example: “Quercus agrifolia var. oxyadenia (Torr.)”

Returns:

  • (String)


28
29
30
# File 'lib/dwca/gbif_profile/resource_relationship.rb', line 28

def scientificName
  @scientificName
end

- (String) taxonID

taxonID (rs.tdwg.org/dwc/terms/taxonID)

The identifier used in the core data file representing the taxon for which the current record refers. This identifier provides the link between the core data record and the extension record.

Returns:

  • (String)


13
14
15
# File 'lib/dwca/gbif_profile/resource_relationship.rb', line 13

def taxonID
  @taxonID
end