Module: Xmi::Uml::OwnedEndAttributes
- Included in:
- OwnedEnd
- Defined in:
- lib/xmi/uml.rb
Class Method Summary collapse
-
.included(klass) ⇒ Object
rubocop:disable Metrics/MethodLength.
Class Method Details
.included(klass) ⇒ Object
rubocop:disable Metrics/MethodLength
38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/xmi/uml.rb', line 38 def self.included(klass) # rubocop:disable Metrics/MethodLength klass.class_eval do attribute :type, Shale::Type::String attribute :id, Shale::Type::String attribute :association, Shale::Type::String attribute :name, Shale::Type::String attribute :uml_type, Uml::Type attribute :member_end, MemberEnd attribute :lower, Shale::Type::Integer attribute :upper, Shale::Type::Integer attribute :is_composite, Shale::Type::Boolean end end |