Class: Pubid::Jis::Identifiers::TechnicalReport
- Inherits:
-
SingleIdentifier
- Object
- Lutaml::Model::Serializable
- Identifier
- Base
- SingleIdentifier
- Pubid::Jis::Identifiers::TechnicalReport
- Defined in:
- lib/pubid/jis/identifiers/technical_report.rb
Overview
Technical Report identifier type Format: JIS TR SERIES NUMBER:YEAR Example: JIS TR Z 8301:2019
Constant Summary collapse
- TYPED_STAGES =
[ Pubid::Components::TypedStage.new( code: :tr, stage_code: :published, type_code: :tr, abbr: ["TR"], name: "Technical Report", 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
.type ⇒ Object
21 22 23 |
# File 'lib/pubid/jis/identifiers/technical_report.rb', line 21 def self.type { key: :tr, title: "Technical Report", short: "TR" } end |
Instance Method Details
#type_prefix ⇒ Object
25 26 27 |
# File 'lib/pubid/jis/identifiers/technical_report.rb', line 25 def type_prefix "TR" end |