Module: Xmi::Sparx::Gml::HasCollectionProperties
- Included in:
- DataType, FeatureType, Type, Union
- Defined in:
- lib/xmi/sparx/gml/shared_attributes.rb
Class Method Summary collapse
Class Method Details
.apply_xml_mappings(mapping) ⇒ Object
31 32 33 34 35 |
# File 'lib/xmi/sparx/gml/shared_attributes.rb', line 31 def self.apply_xml_mappings(mapping) HasBaseClass.apply_xml_mappings(mapping) mapping.map_attribute "isCollection", to: :is_collection mapping.map_attribute "noPropertyType", to: :no_property_type end |
.included(klass) ⇒ Object
22 23 24 25 26 27 28 29 |
# File 'lib/xmi/sparx/gml/shared_attributes.rb', line 22 def self.included(klass) klass.class_eval do include HasBaseClass attribute :is_collection, :string attribute :no_property_type, :string end end |