Sha256: ec259b2d8371422f59914ba5cc9c3aa6b2f7e464b9576a627039b42e41114574

Contents?: true

Size: 1.14 KB

Versions: 3

Compression:

Stored size: 1.14 KB

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "code"
require_relative "code_with_authority"
require_relative "meta_data_property"
require_relative "reference"
require_relative "time_ordinal_era_property"
require_relative "abstract_topology"

module Ogc
  module Gml
    class TimeOrdinalReferenceSystem < AbstractTopology
      attribute :remarks, :string
      attribute :domain_of_validity, :string
      attribute :component, TimeOrdinalEraProperty, collection: true

      xml do
        root "TimeOrdinalReferenceSystem"
        namespace "http://www.opengis.net/gml/3.2", "gml"

        map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
        map_element "metaDataProperty", to: :meta_data_property
        map_element "description", to: :description
        map_element "descriptionReference", to: :description_reference
        map_element "identifier", to: :identifier
        map_element "name", to: :name
        map_element "remarks", to: :remarks
        map_element "domainOfValidity", to: :domain_of_validity
        map_element "component", to: :component
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ogc-gml-1.0.3 lib/ogc/gml/time_ordinal_reference_system.rb
ogc-gml-1.0.2 lib/ogc/gml/time_ordinal_reference_system.rb
ogc-gml-1.0.1 lib/ogc/gml/time_ordinal_reference_system.rb