Class: Pubid::Calconnect::Identifiers::Standard
- Inherits:
-
Pubid::Calconnect::Identifier
- Object
- Lutaml::Model::Serializable
- Identifier
- Pubid::Calconnect::Identifier
- Pubid::Calconnect::Identifiers::Standard
- Defined in:
- lib/pubid/calconnect/identifiers/standard.rb
Overview
The sole CalConnect document type. Its polymorphic_name resolves automatically to "pubid:calconnect:standard".
Constant Summary collapse
- TYPED_STAGES =
[ Pubid::Components::TypedStage.new( code: :pubcc, stage_code: :published, type_code: :cc, abbr: ["CC"], name: "CalConnect Standard", harmonized_stages: [], ), ].freeze
Constants inherited from Pubid::Calconnect::Identifier
Pubid::Calconnect::Identifier::CALCONNECT_TYPE_MAP, Pubid::Calconnect::Identifier::PUBLISHER
Instance Attribute Summary
Attributes inherited from Pubid::Calconnect::Identifier
Class Method Summary collapse
Methods inherited from Pubid::Calconnect::Identifier
#date_for, #date_string, #day_from_kv, #day_to_kv, #emit_date_part, #month_from_kv, #month_to_kv, parse, #render, #to_s, #year_from_kv, #year_to_kv
Methods inherited from Identifier
apply_mappings, #base, #base_document, concrete_class_for, #dated_version_of?, #draft_of?, #drop_supplements, #edition_of?, #eql?, #exclude, from_hash, #has_supplement?, #hash, #includes?, #initialize, #matches?, #mr_all_parts, #mr_edition, #mr_languages, #mr_number, #mr_number_with_part, #mr_part, #mr_publisher, #mr_subpart, #mr_supplement_suffix, #mr_type, #mr_year, #new_edition_of?, polymorphic_name, polymorphic_type_map, #related_to?, #render, #resolve_urn_generator, #root, #sibling_of?, #supplement_of?, #to_hash, #to_mr_string, #to_s, #to_slug, #to_supplement_s, #to_urn, #urn_supplement_type, #urn_type_code, #year
Constructor Details
This class inherits a constructor from Pubid::Identifier
Class Method Details
.type ⇒ Object
20 21 22 23 24 25 |
# File 'lib/pubid/calconnect/identifiers/standard.rb', line 20 def self.type { key: :cc, web: :standard, title: "CalConnect Standard", short: "CC" } end |