Class: Pubid::Jis::Identifiers::TechnicalSpecification

Inherits:
SingleIdentifier show all
Defined in:
lib/pubid/jis/identifiers/technical_specification.rb

Overview

Technical Specification identifier type Format: JIS TS SERIES NUMBER:YEAR Example: JIS TS Z 0030-1:2017

Constant Summary collapse

TYPED_STAGES =
[
  Pubid::Components::TypedStage.new(
    code: :ts,
    stage_code: :published,
    type_code: :ts,
    abbr: ["TS"],
    name: "Technical Specification",
    harmonized_stages: [],
  ),
].freeze

Constants inherited from SingleIdentifier

SingleIdentifier::TYPE_CLASSES

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from SingleIdentifier

identifier_class_for_type, #to_s

Methods inherited from Base

#==, #all_parts?, #code, #initialize, #publisher, #to_s

Methods inherited from Identifier

#base_identifier, #eql?, #exclude, #hash, #initialize, #mr_number, #mr_number_with_part, #mr_part, #mr_publisher, #mr_type, #mr_year, #new_edition_of?, polymorphic_name, #render, #resolve_urn_generator, #root, #to_mr_string, #to_s, #to_supplement_s, #to_urn, #urn_supplement_type, #urn_type_code

Constructor Details

This class inherits a constructor from Pubid::Jis::Identifiers::Base

Class Method Details

.typeObject



21
22
23
# File 'lib/pubid/jis/identifiers/technical_specification.rb', line 21

def self.type
  { key: :ts, title: "Technical Specification", short: "TS" }
end

Instance Method Details

#type_prefixObject



25
26
27
# File 'lib/pubid/jis/identifiers/technical_specification.rb', line 25

def type_prefix
  "TS"
end