lulibrary/puree

View on GitHub
lib/puree/model/dataset.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Puree
  module Model

    # A dataset produced during some research.
    #
    class Dataset < Resource

     # Date made available.
      # @return [Time, nil]
      attr_accessor :available

      # @return [String, nil]
      attr_accessor :description

      # Digital Object Identifier.
      # @return [Puree::Model::DOI, nil]
      attr_accessor :doi

      # Supporting files.
      # @return [Array<Puree::Model::File>]
      attr_accessor :files

      # @return [Array<String>]
      attr_accessor :keywords

      # @return [Array<Puree::Model::OrganisationalUnitHeader>]
      attr_accessor :organisational_units

      # @return [Puree::Model::OrganisationalUnitHeader, nil]
      attr_accessor :owner

      # @return [Array<Puree::Model::EndeavourPerson>]
      attr_accessor :persons_internal

      # @return [Array<Puree::Model::EndeavourPerson>]
      attr_accessor :persons_external

      # @return [Array<Puree::Model::EndeavourPerson>]
      attr_accessor :persons_other

      # Date of data production.
      # @return [Puree::Model::TemporalRange, nil]
      attr_accessor :production

      # @return [Puree::Model::PublisherHeader, nil]
      attr_accessor :publisher

      # @return [Array<Puree::Model::RelatedContentHeader>]
      attr_accessor :research_outputs

      # @return [Array<String>]
      attr_accessor :spatial_places

      # Spatial coverage point.
      # @return [Puree::Model::SpatialPoint, nil]
      attr_accessor :spatial_point

      # Temporal coverage.
      # @return [Puree::Model::TemporalRange, nil]
      attr_accessor :temporal

      # @return [String, nil]
      attr_accessor :title

      # @return [String, nil]
      attr_accessor :workflow

    end
  end
end