Sha256: c650b7737db2ef44521d9f299d58c568861e87a769155604a1496aeaafe7aabe

Contents?: true

Size: 581 Bytes

Versions: 3

Compression:

Stored size: 581 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "abstract_topo_primitive"

module Ogc
  module Gml
    class TopoPrimitiveArrayAssociation < Lutaml::Model::Serializable
      attribute :owns, :boolean, default: -> { false }
      attribute :abstract_topo_primitive, AbstractTopoPrimitive, collection: true

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

        map_attribute "owns", to: :owns
        map_element "AbstractTopoPrimitive", to: :abstract_topo_primitive
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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