class WsdlMapper::Dom::SimpleType

Attributes

base[RW]
base_type_name[RW]
containing_element[RW]
containing_property[RW]
enumeration_values[R]
fraction_digits[RW]
max[RW]
max_inclusive[RW]
min[RW]
min_inclusive[RW]
pattern[RW]
total_digits[RW]

Public Class Methods

new(name) click to toggle source
Calls superclass method WsdlMapper::Dom::TypeBase::new
# File lib/wsdl_mapper/dom/simple_type.rb, line 10
def initialize(name)
  super
  @enumeration_values = []
end

Public Instance Methods

enumeration?() click to toggle source
# File lib/wsdl_mapper/dom/simple_type.rb, line 15
def enumeration?
  @enumeration_values.any?
end
pattern?() click to toggle source
# File lib/wsdl_mapper/dom/simple_type.rb, line 23
def pattern?
  !!@pattern
end
root() click to toggle source
# File lib/wsdl_mapper/dom/simple_type.rb, line 19
def root
  @base ? @base.root : self
end