Class: Relaton::Iso::StructuredIdentifier

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/relaton/iso/model/structured_identifier.rb

Instance Method Summary collapse

Instance Method Details

#remove_date!Object



17
18
19
# File 'lib/relaton/iso/model/structured_identifier.rb', line 17

def remove_date!
  project_number&.origyr = nil
end

#remove_part!Object



21
22
23
# File 'lib/relaton/iso/model/structured_identifier.rb', line 21

def remove_part!
  project_number&.part = nil
end

#to_all_parts!Object



25
26
27
28
# File 'lib/relaton/iso/model/structured_identifier.rb', line 25

def to_all_parts!
  remove_date!
  remove_part!
end