lib/ogc/gml/solid_array_property.rb in ogc-gml-1.0.0 vs lib/ogc/gml/solid_array_property.rb in ogc-gml-1.0.1
- old
+ new
@@ -1,15 +1,14 @@
# frozen_string_literal: true
-# --- solid_array_property_type.rb ---
-require "shale"
+require "lutaml/model"
require_relative "abstract_solid"
module Ogc
module Gml
- class SolidArrayProperty < Shale::Mapper
- attribute :owns, Shale::Type::Boolean, default: -> { "false" }
+ class SolidArrayProperty < Lutaml::Model::Serializable
+ attribute :owns, :boolean, default: -> { false }
attribute :abstract_solid, AbstractSolid, collection: true
xml do
root "solidArrayProperty"
namespace "http://www.opengis.net/gml/3.2", "gml"