Module: Pubid::Iec::DelegatedFieldSuppression

Overview

Mixin for pure wrapper identifiers (Vap/Consolidated/Sheet) whose common ID fields are delegated to a wrapped base. lutaml merges a subclass’s key_value block onto the parent’s, so without this the delegated fields would serialize twice — once at the wrapper’s top level and once inside “base”. No-op the delegated maps so they serialize once. (Mirrors Iso::BundledIdentifier.) Fragment keeps its own stage/edition, so it suppresses a subset inline instead of including this.

Instance Method Summary collapse

Instance Method Details

#copublishers_to_kv(_model, _doc) ⇒ Object



19
# File 'lib/pubid/iec/identifier.rb', line 19

def copublishers_to_kv(_model, _doc); end

#number_to_kv(_model, _doc) ⇒ Object



13
# File 'lib/pubid/iec/identifier.rb', line 13

def number_to_kv(_model, _doc); end

#part_to_kv(_model, _doc) ⇒ Object



14
# File 'lib/pubid/iec/identifier.rb', line 14

def part_to_kv(_model, _doc); end

#publisher_to_kv(_model, _doc) ⇒ Object



18
# File 'lib/pubid/iec/identifier.rb', line 18

def publisher_to_kv(_model, _doc); end

#stage_iteration_to_kv(_model, _doc) ⇒ Object



16
# File 'lib/pubid/iec/identifier.rb', line 16

def stage_iteration_to_kv(_model, _doc); end

#stage_to_kv(_model, _doc) ⇒ Object



20
# File 'lib/pubid/iec/identifier.rb', line 20

def stage_to_kv(_model, _doc); end

#subpart_to_kv(_model, _doc) ⇒ Object



15
# File 'lib/pubid/iec/identifier.rb', line 15

def subpart_to_kv(_model, _doc); end

#year_to_kv(_model, _doc) ⇒ Object



17
# File 'lib/pubid/iec/identifier.rb', line 17

def year_to_kv(_model, _doc); end