Module: Xmi::Uml::OwnedCommentAttributes

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

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



257
258
259
260
261
262
263
264
265
266
# File 'lib/xmi/uml.rb', line 257

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