Class: Pubid::Ieee::Identifiers::MultiNumberedIdentifier
- Defined in:
- lib/pubid/ieee/identifiers/multi_numbered_identifier.rb
Overview
Multi-Numbered Identifier Represents a single document published under multiple numbers Examples:
- "IEEE Std 1299/C62.22.1-1996" (same document, two numbers)
- "IEEE Std 960-1989, Std 1177-1989" (same document, two numbers)
Instance Attribute Summary collapse
-
#primary_identifier ⇒ Object
Primary identifier (main IEEE standard number) Stored as-is (Lutaml model type checking doesn't work with polymorphic identifiers).
-
#secondary_identifier ⇒ Object
Secondary identifier (additional number for same document).
Instance Method Summary collapse
Instance Attribute Details
#primary_identifier ⇒ Object
Primary identifier (main IEEE standard number) Stored as-is (Lutaml model type checking doesn't work with polymorphic identifiers)
14 15 16 |
# File 'lib/pubid/ieee/identifiers/multi_numbered_identifier.rb', line 14 def primary_identifier @primary_identifier end |
#secondary_identifier ⇒ Object
Secondary identifier (additional number for same document)
17 18 19 |
# File 'lib/pubid/ieee/identifiers/multi_numbered_identifier.rb', line 17 def secondary_identifier @secondary_identifier end |
Instance Method Details
#code ⇒ Object
23 24 25 |
# File 'lib/pubid/ieee/identifiers/multi_numbered_identifier.rb', line 23 def code primary_identifier&.code end |
#publisher ⇒ Object
19 20 21 |
# File 'lib/pubid/ieee/identifiers/multi_numbered_identifier.rb', line 19 def publisher primary_identifier&.publisher end |
#year ⇒ Object
27 28 29 |
# File 'lib/pubid/ieee/identifiers/multi_numbered_identifier.rb', line 27 def year primary_identifier&.year end |