Sha256: b43b17eefc1531bbdd309a408c4902e3d073c575f6daf2082cf335c1cf1757b0

Contents?: true

Size: 754 Bytes

Versions: 3

Compression:

Stored size: 754 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "abstract_curve"
require_relative "line_string"

module Ogc
  module Gml
    class CurveArrayProperty < Lutaml::Model::Serializable
      attribute :owns, :boolean, default: -> { false }
      attribute :abstract_curve, AbstractCurve, collection: true
      attribute :curve, Curve, collection: true
      attribute :line_string, LineString, collection: true

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

        map_attribute "owns", to: :owns
        map_element "AbstractCurve", to: :abstract_curve
        map_element "Curve", to: :curve
        map_element "LineString", to: :line_string
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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