Module: Xmi::Uml::OwnedEndAttributes

Included in:
OwnedEnd
Defined in:
lib/xmi/uml.rb

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object

rubocop:disable Metrics/MethodLength



38
39
40
41
42
43
44
45
46
47
48
49
50
51
# File 'lib/xmi/uml.rb', line 38

def self.included(klass) # rubocop:disable Metrics/MethodLength
  klass.class_eval do
    attribute :type, :string
    attribute :id, :string
    attribute :association, :string
    attribute :name, :string
    attribute :type_attr, :string
    attribute :uml_type, Uml::Type
    attribute :member_end, :string
    attribute :lower, :integer
    attribute :upper, :integer
    attribute :is_composite, :boolean
  end
end