Module: Xmi::Uml::OwnedAttributeAttributes

Included in:
OwnedAttribute, OwnedAttribute2013
Defined in:
lib/xmi/uml.rb

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



138
139
140
141
142
143
144
145
146
147
148
149
# File 'lib/xmi/uml.rb', line 138

def self.included(klass)
  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 :is_derived, Shale::Type::String
    attribute :uml_type, Uml::Type
    attribute :upper_value, UpperValue
    attribute :lower_value, LowerValue
  end
end