File: expectedClassdef.rb

package info (click to toggle)
ruby-soap4r 2.0.5-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,032 kB
  • sloc: ruby: 52,729; xml: 266; sh: 42; javascript: 20; makefile: 13; perl: 10
file content (58 lines) | stat: -rw-r--r-- 1,117 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
require 'xsd/qname'

module WSDL; module Group


# {urn:grouptype}groupele_type
#   comment - SOAP::SOAPString
#   element - SOAP::SOAPString
#   eletype - SOAP::SOAPString
#   var - SOAP::SOAPString
#   xmlattr_attr_min - SOAP::SOAPDecimal
#   xmlattr_attr_max - SOAP::SOAPDecimal
class Groupele_type
  AttrAttr_max = XSD::QName.new(nil, "attr_max")
  AttrAttr_min = XSD::QName.new(nil, "attr_min")

  attr_accessor :comment
  attr_reader :__xmlele_any
  attr_accessor :element
  attr_accessor :eletype
  attr_accessor :var

  def set_any(elements)
    @__xmlele_any = elements
  end

  def __xmlattr
    @__xmlattr ||= {}
  end

  def xmlattr_attr_min
    __xmlattr[AttrAttr_min]
  end

  def xmlattr_attr_min=(value)
    __xmlattr[AttrAttr_min] = value
  end

  def xmlattr_attr_max
    __xmlattr[AttrAttr_max]
  end

  def xmlattr_attr_max=(value)
    __xmlattr[AttrAttr_max] = value
  end

  def initialize(comment = nil, element = nil, eletype = nil, var = nil)
    @comment = comment
    @__xmlele_any = nil
    @element = element
    @eletype = eletype
    @var = var
    @__xmlattr = {}
  end
end


end; end