Module: Xmi::XmiIdentity::Attributes

Included in:
Extension, Root, Sparx::Extension
Defined in:
lib/xmi/xmi_identity.rb

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



21
22
23
24
25
26
27
28
29
30
# File 'lib/xmi/xmi_identity.rb', line 21

def self.included(klass)
  klass.class_eval do
    attribute :id, ::Xmi::Type::XmiId
    attribute :label, ::Xmi::Type::XmiLabel
    attribute :uuid, ::Xmi::Type::XmiUuid
    attribute :href, :string
    attribute :idref, ::Xmi::Type::XmiIdRef
    attribute :type, ::Xmi::Type::XmiType
  end
end