Class: Enterprisifier::Schema::Elements::UnionElement

Inherits:
BaseElement
  • Object
show all
Defined in:
lib/enterprisifier/schema/elements/union.rb

Instance Attribute Summary

Attributes inherited from BaseElement

#attributes, #children, #default_namespace, #namespaces, #parent, #text

Instance Method Summary collapse

Methods inherited from BaseElement

#add_child, #add_text, #annotation, #base, #documentation, #each_child, #has_child?, #has_children?, #initialize, map_attribute, #name, #read_attribute, #ref, register, #registered_as, #root, #rootable?, #update

Constructor Details

This class inherits a constructor from Enterprisifier::Schema::BaseElement

Instance Method Details

#member_typesObject



9
10
11
12
13
# File 'lib/enterprisifier/schema/elements/union.rb', line 9

def member_types
  @memberTypes ||= read_attribute("memberTypes").to_s.split(" ").collect do |mt|
    namespaced_name(mt)
  end
end