Sha256: 8ffdadde668ed874d516b0d67f2a6c45becee50e43804bb0fe214a7efe7156d9
Contents?: true
Size: 900 Bytes
Versions: 3
Compression:
Stored size: 900 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" require_relative "abstract_feature" require_relative "abstract_geometry" module Ogc module Gml class TargetProperty < Lutaml::Model::Serializable attribute :owns, :boolean, default: -> { false } attribute :nil_reason, :string attribute :remote_schema, :string attribute :abstract_feature, AbstractFeature attribute :abstract_geometry, AbstractGeometry xml do root "subject" namespace "http://www.opengis.net/gml/3.2", "gml" map_attribute "owns", to: :owns map_attribute "nilReason", to: :nil_reason map_attribute "remoteSchema", to: :remote_schema, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2" map_element "AbstractFeature", to: :abstract_feature map_element "AbstractGeometry", to: :abstract_geometry end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ogc-gml-1.0.3 | lib/ogc/gml/target_property.rb |
ogc-gml-1.0.2 | lib/ogc/gml/target_property.rb |
ogc-gml-1.0.1 | lib/ogc/gml/target_property.rb |