lib/ogc/gml/range_set.rb in ogc-gml-1.0.0 vs lib/ogc/gml/range_set.rb in ogc-gml-1.0.1
- old
+ new
@@ -1,18 +1,17 @@
# frozen_string_literal: true
-# --- range_set_type.rb ---
-require "shale"
+require "lutaml/model"
require_relative "data_block"
require_relative "file"
require_relative "value_array"
module Ogc
module Gml
- class RangeSet < Shale::Mapper
+ class RangeSet < Lutaml::Model::Serializable
attribute :value_array, ValueArray, collection: true
- attribute :abstract_scalar_value_list, Shale::Type::Value, collection: true
+ attribute :abstract_scalar_value_list, :string, collection: true
attribute :data_block, DataBlock
attribute :file, File
xml do
root "rangeSet"