Module: Xmi::Uml::OwnedCommentAttributes

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

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



226
227
228
229
230
231
232
233
234
235
236
# File 'lib/xmi/uml.rb', line 226

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