Module: Xmi::Uml::OwnedCommentAttributes

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

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



252
253
254
255
256
257
258
259
260
261
262
# File 'lib/xmi/uml.rb', line 252

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