Module: Xmi::Sparx::SparxRootAttributes
- Included in:
- SparxRoot
- Defined in:
- lib/xmi/sparx.rb
Class Method Summary collapse
-
.included(klass) ⇒ Object
rubocop:disable Metrics/MethodLength.
Class Method Details
.included(klass) ⇒ Object
rubocop:disable Metrics/MethodLength
922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 |
# File 'lib/xmi/sparx.rb', line 922 def self.included(klass) # rubocop:disable Metrics/MethodLength klass.class_eval do attribute :publication_date, SparxCustomProfilePublicationDate attribute :edition, SparxCustomProfileEdition attribute :number, SparxCustomProfileNumber attribute :year_version, SparxCustomProfileYearVersion attribute :modelica_parameter, SparxSysPhS attribute :eauml_import, EaRoot::Eauml::Import, collection: true attribute :gml_application_schema, EaRoot::Gml::ApplicationSchema, collection: true attribute :gml_code_list, EaRoot::Gml::CodeList, collection: true attribute :gml_data_type, EaRoot::Gml::CodeList, collection: true attribute :gml_union, EaRoot::Gml::CodeList, collection: true attribute :gml_enumeration, EaRoot::Gml::CodeList, collection: true attribute :gml_type, EaRoot::Gml::CodeList, collection: true attribute :gml_feature_type, EaRoot::Gml::CodeList, collection: true attribute :gml_property, EaRoot::Gml::Property, collection: true end end |