Module: Xmi::Uml::OwnedCommentAttributes

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

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



224
225
226
227
228
229
230
231
232
233
# File 'lib/xmi/uml.rb', line 224

def self.included(klass)
  klass.class_eval do
    attribute :type, Shale::Type::String
    attribute :id, Shale::Type::String
    attribute :body_element, Shale::Type::String
    attribute :body_attribute, Shale::Type::String
    attribute :annotated_attribute, Shale::Type::String
    attribute :annotated_element, AnnotatedElement
  end
end