Class: Pubid::Iso::Identifiers::Supplement
- Inherits:
-
SupplementIdentifier
- Object
- Lutaml::Model::Serializable
- Pubid::Identifier
- Pubid::Iso::Identifier
- SingleIdentifier
- SupplementIdentifier
- Pubid::Iso::Identifiers::Supplement
- Defined in:
- lib/pubid/iso/identifiers/supplement.rb
Constant Summary collapse
- TYPED_STAGES =
[ ::Pubid::Components::TypedStage.new( code: :npsuppl, stage_code: :np, type_code: :suppl, abbr: ["NP Suppl"], name: "New Work Item Proposal for Supplement", harmonized_stages: %w[10.00 10.20 10.60 10.92 10.93 10.98], ), ::Pubid::Components::TypedStage.new( code: :awisuppl, stage_code: :awi, type_code: :suppl, abbr: ["AWI Suppl"], name: "Approved Work Item for Supplement", harmonized_stages: %w[10.99 20.00], ), ::Pubid::Components::TypedStage.new( code: :wdsuppl, stage_code: :wd, type_code: :suppl, abbr: ["WD Suppl"], name: "Working Draft for Supplement", harmonized_stages: %w[20.20 20.60 20.92 20.93 20.98 20.99], ), ::Pubid::Components::TypedStage.new( code: :cdsuppl, stage_code: :cd, type_code: :suppl, abbr: ["CD Suppl"], name: "Committee Draft for Supplement", harmonized_stages: %w[30.00 30.20 30.60 30.92 30.93 30.98 30.99], ), ::Pubid::Components::TypedStage.new( code: :dsuppl, stage_code: :dsuppl, type_code: :suppl, abbr: ["DSuppl"], name: "Draft Supplement", harmonized_stages: %w[40.00 40.20 40.60 40.92 40.93 40.98 40.99], ), ::Pubid::Components::TypedStage.new( code: :fdsuppl, stage_code: :fdsuppl, type_code: :suppl, abbr: ["FDSuppl", "FDIS Suppl"], name: "Final Draft Supplement", harmonized_stages: %w[50.00 50.20 50.60 50.92 50.98 50.99], ), ::Pubid::Components::TypedStage.new( code: :prfsuppl, stage_code: :prf, type_code: :suppl, abbr: ["PRF Suppl"], name: "Proof Supplement", harmonized_stages: %w[50.00], ), ::Pubid::Components::TypedStage.new( code: :pubsuppl, stage_code: :published, type_code: :suppl, abbr: ["Suppl", "Suppl."], name: "Supplement", harmonized_stages: %w[60.00 60.60], ), ].freeze
Constants inherited from Pubid::Iso::Identifier
Pubid::Iso::Identifier::ISO_TYPE_MAP
Class Method Summary collapse
Instance Method Summary collapse
-
#urn_supplement_type ⇒ Object
Override URN type code - Supplement uses ‘sup’ in URN (RFC 5141).
Methods inherited from SupplementIdentifier
Methods inherited from SingleIdentifier
Methods inherited from Pubid::Iso::Identifier
Methods inherited from Pubid::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_type_code
Constructor Details
This class inherits a constructor from Pubid::Identifier
Class Method Details
.type ⇒ Object
81 82 83 |
# File 'lib/pubid/iso/identifiers/supplement.rb', line 81 def self.type { key: :suppl, title: "Supplement", short: "suppl" } end |
Instance Method Details
#urn_supplement_type ⇒ Object
Override URN type code - Supplement uses ‘sup’ in URN (RFC 5141)
77 78 79 |
# File 'lib/pubid/iso/identifiers/supplement.rb', line 77 def urn_supplement_type "sup" end |