Module: Xmi::Uml::OwnedAttributeAttributes

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

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



123
124
125
126
127
128
129
130
131
132
133
134
# File 'lib/xmi/uml.rb', line 123

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