Changeset 1977 for trunk/sample/showcase
- Timestamp:
- 09/20/07 23:38:42 (1 year ago)
- Files:
-
- trunk/sample/showcase/wsdl/raa2.4/raa.rb (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/sample/showcase/wsdl/raa2.4/raa.rb
r1843 r1977 1 # http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/ 1 require 'xsd/qname' 2 3 # {http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/}Gem 4 # id - SOAP::SOAPInt 5 # category - Category 6 # owner - Owner 7 # project - Project 8 # updated - SOAP::SOAPDateTime 9 # created - SOAP::SOAPDateTime 2 10 class Gem 3 @@schema_type = "Gem" 4 @@schema_ns = "http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/" 11 attr_accessor :id 12 attr_accessor :category 13 attr_accessor :owner 14 attr_accessor :project 15 attr_accessor :updated 16 attr_accessor :created 5 17 6 def id 7 @id 8 end 9 10 def id=(value) 11 @id = value 12 end 13 14 def category 15 @category 16 end 17 18 def category=(value) 19 @category = value 20 end 21 22 def owner 23 @owner 24 end 25 26 def owner=(value) 27 @owner = value 28 end 29 30 def project 31 @project 32 end 33 34 def project=(value) 35 @project = value 36 end 37 38 def updated 39 @updated 40 end 41 42 def updated=(value) 43 @updated = value 44 end 45 46 def created 47 @created 48 end 49 50 def created=(value) 51 @created = value 52 end 53 54 def initialize(id = nil, 55 category = nil, 56 owner = nil, 57 project = nil, 58 updated = nil, 59 created = nil) 18 def initialize(id = nil, category = nil, owner = nil, project = nil, updated = nil, created = nil) 60 19 @id = id 61 20 @category = category … … 67 26 end 68 27 69 # http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/ 28 # {http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/}Category 29 # major - SOAP::SOAPString 30 # minor - SOAP::SOAPString 70 31 class Category 71 @@schema_type = "Category"72 @@schema_ns = "http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/"32 attr_accessor :major 33 attr_accessor :minor 73 34 74 def major 75 @major 76 end 77 78 def major=(value) 79 @major = value 80 end 81 82 def minor 83 @minor 84 end 85 86 def minor=(value) 87 @minor = value 88 end 89 90 def initialize(major = nil, 91 minor = nil) 35 def initialize(major = nil, minor = nil) 92 36 @major = major 93 37 @minor = minor … … 95 39 end 96 40 97 # http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/ 41 # {http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/}Owner 42 # id - SOAP::SOAPInt 43 # email - SOAP::SOAPAnyURI 44 # name - SOAP::SOAPString 98 45 class Owner 99 @@schema_type = "Owner" 100 @@schema_ns = "http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/" 46 attr_accessor :id 47 attr_accessor :email 48 attr_accessor :name 101 49 102 def id 103 @id 104 end 105 106 def id=(value) 107 @id = value 108 end 109 110 def email 111 @email 112 end 113 114 def email=(value) 115 @email = value 116 end 117 118 def name 119 @name 120 end 121 122 def name=(value) 123 @name = value 124 end 125 126 def initialize(id = nil, 127 email = nil, 128 name = nil) 50 def initialize(id = nil, email = nil, name = nil) 129 51 @id = id 130 52 @email = email … … 133 55 end 134 56 135 # http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/ 57 # {http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/}Project 58 # name - SOAP::SOAPString 59 # short_description - SOAP::SOAPString 60 # version - SOAP::SOAPString 61 # status - SOAP::SOAPString 62 # url - SOAP::SOAPAnyURI 63 # download - SOAP::SOAPAnyURI 64 # license - SOAP::SOAPString 65 # description - SOAP::SOAPString 66 # description_style - SOAP::SOAPString 67 # updated - SOAP::SOAPDateTime 68 # history - ProjectArray 69 # dependency - ProjectDependencyArray 136 70 class Project 137 @@schema_type = "Project" 138 @@schema_ns = "http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/" 71 attr_accessor :name 72 attr_accessor :short_description 73 attr_accessor :version 74 attr_accessor :status 75 attr_accessor :url 76 attr_accessor :download 77 attr_accessor :license 78 attr_accessor :description 79 attr_accessor :description_style 80 attr_accessor :updated 81 attr_accessor :history 82 attr_accessor :dependency 139 83 140 def name 141 @name 142 end 143 144 def name=(value) 145 @name = value 146 end 147 148 def short_description 149 @short_description 150 end 151 152 def short_description=(value) 153 @short_description = value 154 end 155 156 def version 157 @version 158 end 159 160 def version=(value) 161 @version = value 162 end 163 164 def status 165 @status 166 end 167 168 def status=(value) 169 @status = value 170 end 171 172 def url 173 @url 174 end 175 176 def url=(value) 177 @url = value 178 end 179 180 def download 181 @download 182 end 183 184 def download=(value) 185 @download = value 186 end 187 188 def license 189 @license 190 end 191 192 def license=(value) 193 @license = value 194 end 195 196 def description 197 @description 198 end 199 200 def description=(value) 201 @description = value 202 end 203 204 def updated 205 @updated 206 end 207 208 def updated=(value) 209 @updated = value 210 end 211 212 def history 213 @history 214 end 215 216 def history=(value) 217 @history = value 218 end 219 220 def dependency 221 @dependency 222 end 223 224 def dependency=(value) 225 @dependency = value 226 end 227 228 def initialize(name = nil, 229 short_description = nil, 230 version = nil, 231 status = nil, 232 url = nil, 233 download = nil, 234 license = nil, 235 description = nil, 236 updated = nil, 237 history = nil, 238 dependency = nil) 84 def initialize(name = nil, short_description = nil, version = nil, status = nil, url = nil, download = nil, license = nil, description = nil, description_style = nil, updated = nil, history = nil, dependency = nil) 239 85 @name = name 240 86 @short_description = short_description … … 245 91 @license = license 246 92 @description = description 93 @description_style = description_style 247 94 @updated = updated 248 95 @history = history … … 251 98 end 252 99 253 # http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/ 100 # {http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/}ProjectDependency 101 # project - SOAP::SOAPString 102 # version - SOAP::SOAPString 103 # description - SOAP::SOAPString 254 104 class ProjectDependency 255 @@schema_type = "ProjectDependency" 256 @@schema_ns = "http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/" 105 attr_accessor :project 106 attr_accessor :version 107 attr_accessor :description 257 108 258 def project 259 @project 260 end 261 262 def project=(value) 263 @project = value 264 end 265 266 def version 267 @version 268 end 269 270 def version=(value) 271 @version = value 272 end 273 274 def description 275 @description 276 end 277 278 def description=(value) 279 @description = value 280 end 281 282 def initialize(project = nil, 283 version = nil, 284 description = nil) 109 def initialize(project = nil, version = nil, description = nil) 285 110 @project = project 286 111 @version = version … … 289 114 end 290 115 291 # http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/ 292 class GemArray < Array 293 # Contents type should be dumped here... 294 @@schema_type = "GemArray" 295 @@schema_ns = "http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/" 116 # {http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/}GemArray 117 class GemArray < ::Array 296 118 end 297 119 298 # http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/ 299 class OwnerArray < Array 300 # Contents type should be dumped here... 301 @@schema_type = "OwnerArray" 302 @@schema_ns = "http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/" 120 # {http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/}OwnerArray 121 class OwnerArray < ::Array 303 122 end 304 123 305 # http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/ 306 class ProjectArray < Array 307 # Contents type should be dumped here... 308 @@schema_type = "ProjectArray" 309 @@schema_ns = "http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/" 124 # {http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/}ProjectArray 125 class ProjectArray < ::Array 310 126 end 311 127 312 # http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/ 313 class ProjectDependencyArray < Array 314 # Contents type should be dumped here... 315 @@schema_type = "ProjectDependencyArray" 316 @@schema_ns = "http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/" 128 # {http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/}ProjectDependencyArray 129 class ProjectDependencyArray < ::Array 317 130 end 318 131 319 # http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/ 320 class StringArray < Array 321 # Contents type should be dumped here... 322 @@schema_type = "StringArray" 323 @@schema_ns = "http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/" 132 # {http://www.ruby-lang.org/xmlns/soap/type/RAA/0.0.3/}StringArray 133 class StringArray < ::Array 324 134 end 325 326 # http://xml.apache.org/xml-soap327 class Map < Array328 # Contents type should be dumped here...329 @@schema_type = "Map"330 @@schema_ns = "http://xml.apache.org/xml-soap"331 end332