Class: Pubid::Iec::Identifier::InternationalStandard

Inherits:
Base
  • Object
show all
Defined in:
lib/pubid/iec/identifier/international_standard.rb

Constant Summary collapse

TYPED_STAGES =
{

}.freeze
PROJECT_STAGES =
{
  afdis: {
    abbr: "AFDIS",
    name: "Approved for FDIS",
    harmonized_stages: %w[40.99],
  },
  ccdv: {
    abbr: "CCDV",
    name: "Draft circulated as CDV",
    harmonized_stages: %w[40.20],
  },
  cdvm: {
    abbr: "CDVM",
    name: "Rejected CDV to be discussed at a meeting",
    harmonized_stages: %w[40.91],
  },
  cfdis: {
    abbr: "CFDIS",
    name: "Draft circulated as FDIS",
    harmonized_stages: %w[50.20],
  },
  decfdis: {
    abbr: "DECFDIS",
    name: "FDIS at editing check",
    harmonized_stages: %w[50.00],
  },
  ncdv: {
    abbr: "NCDV",
    name: "CDV rejected",
    harmonized_stages: %w[40.91],
  },
  nfdis: {
    abbr: "NFDIS",
    name: "FDIS rejected",
    harmonized_stages: %w[50.92],
  },
  prvc: {
    abbr: "PRVC",
    name: "Preparation of RVC",
    harmonized_stages: %w[40.60],
  },
  prvd: {
    abbr: "PRVD",
    name: "Preparation of RVD",
    harmonized_stages: %w[50.60],
  },
  rfdis: {
    abbr: "RFDIS",
    name: "FDIS received and registered",
    harmonized_stages: %w[50.00],
  },
  tcdv: {
    abbr: "TCDV",
    name: "Translation of CDV",
    harmonized_stages: %w[40.00],
  },
}.freeze

Instance Attribute Summary

Attributes inherited from Base

#conjuction_part, #database, #day, #decision_sheet, #fragment, #month, #part_version, #sheet, #test_type, #trf_publisher, #trf_series, #trf_version, #vap, #version

Class Method Summary collapse

Methods inherited from Base

get_amendment_class, get_corrigendum_class, get_identifier, get_parser_class, get_renderer_class, get_transformer_class, get_update_codes, has_project_stage?, has_type?, #initialize, #lookup_typed_stage, #renderer_data, resolve_project_stage, #to_s, transform, transform_hash, #urn

Constructor Details

This class inherits a constructor from Pubid::Iec::Base

Class Method Details

.typeObject



68
69
70
# File 'lib/pubid/iec/identifier/international_standard.rb', line 68

def self.type
  { key: :is, title: "International Standard", short: nil }
end