Package Pmv :: Module APBSService_services_types
[hide private]
[frames] | no frames]

Source Code for Module Pmv.APBSService_services_types

   1  ##################################################  
   2  # ./APBSService_services_types.py  
   3  # generated by ZSI.wsdl2python  
   4  #  
   5  #  
   6  ################################################## 
   7   
   8   
   9  import ZSI 
  10  from ZSI.TCcompound import Struct 
  11   
  12  ##############################  
  13  # targetNamespace  
  14  # 
  15  # http://nbcr.sdsc.edu/molecule/types  
  16  ############################## 
  17   
  18   
  19  # imported as: ns1 
20 -class nbcr_sdsc_edu_molecule_types:
21 targetNamespace = 'http://nbcr.sdsc.edu/molecule/types' 22
23 - class CoordinateType_Def(ZSI.TCcompound.Struct):
24 schema = 'http://nbcr.sdsc.edu/molecule/types' 25 type = 'CoordinateType' 26
27 - def __init__(self, name=None, ns=None, **kw):
28 # internal vars 29 self._x = None 30 self._y = None 31 self._z = None 32 33 TClist = [ZSI.TCnumbers.FPdouble(pname="x",aname="_x"), ZSI.TCnumbers.FPdouble(pname="y",aname="_y"), ZSI.TCnumbers.FPdouble(pname="z",aname="_z"), ] 34 35 oname = name 36 37 if name: 38 aname = '_%s' % name 39 if ns: 40 oname += ' xmlns="%s"' % ns 41 else: 42 oname += ' xmlns="%s"' % self.__class__.schema 43 else: 44 aname = None 45 46 ZSI.TCcompound.Struct.__init__(self, self.__class__, TClist, 47 pname=name, inorder=0, 48 aname=aname, oname=oname, 49 **kw)
50 - def Get_x(self):
51 return self._x
52
53 - def Set_x(self,_x):
54 self._x = _x
55
56 - def Get_y(self):
57 return self._y
58
59 - def Set_y(self,_y):
60 self._y = _y
61
62 - def Get_z(self):
63 return self._z
64
65 - def Set_z(self,_z):
66 self._z = _z
67 68
69 - class AtomType_Def(ZSI.TCcompound.Struct):
70 schema = 'http://nbcr.sdsc.edu/molecule/types' 71 type = 'AtomType' 72
73 - def __init__(self, name=None, ns=None, **kw):
74 # internal vars 75 self._fieldName = None 76 self._atomNumber = None 77 self._atomName = None 78 self._atomicNumber = None 79 self._elementName = None 80 self._residueName = None 81 self._residueNumber = None 82 self._coordinates = None 83 self._charge = None 84 self._radius = None 85 self._symUnique = None 86 87 TClist = [ns1.FieldNameType_Def(name="fieldName",ns=ns, optional=1), ZSI.TCnumbers.Iint(pname="atomNumber",aname="_atomNumber", optional=1), ZSI.TC.String(pname="atomName",aname="_atomName", optional=1), ZSI.TCnumbers.Iint(pname="atomicNumber",aname="_atomicNumber", optional=1), ZSI.TC.String(pname="elementName",aname="_elementName", optional=1), ZSI.TC.String(pname="residueName",aname="_residueName", optional=1), ZSI.TCnumbers.Iint(pname="residueNumber",aname="_residueNumber", optional=1), ns1.CoordinateType_Def(name="coordinates", ns=ns, optional=1), ZSI.TCnumbers.FPdouble(pname="charge",aname="_charge", optional=1), ZSI.TCnumbers.FPdouble(pname="radius",aname="_radius", optional=1), ZSI.TC.Boolean(pname="symUnique",aname="_symUnique", optional=1), ] 88 89 oname = name 90 91 if name: 92 aname = '_%s' % name 93 if ns: 94 oname += ' xmlns="%s"' % ns 95 else: 96 oname += ' xmlns="%s"' % self.__class__.schema 97 else: 98 aname = None 99 100 ZSI.TCcompound.Struct.__init__(self, self.__class__, TClist, 101 pname=name, inorder=0, 102 aname=aname, oname=oname, 103 **kw)
104 - def Get_fieldName(self):
105 return self._fieldName
106
107 - def Set_fieldName(self,_fieldName):
108 self._fieldName = _fieldName
109
110 - def Get_atomNumber(self):
111 return self._atomNumber
112
113 - def Set_atomNumber(self,_atomNumber):
114 self._atomNumber = _atomNumber
115
116 - def Get_atomName(self):
117 return self._atomName
118
119 - def Set_atomName(self,_atomName):
120 self._atomName = _atomName
121
122 - def Get_atomicNumber(self):
123 return self._atomicNumber
124
125 - def Set_atomicNumber(self,_atomicNumber):
126 self._atomicNumber = _atomicNumber
127
128 - def Get_elementName(self):
129 return self._elementName
130
131 - def Set_elementName(self,_elementName):
132 self._elementName = _elementName
133
134 - def Get_residueName(self):
135 return self._residueName
136
137 - def Set_residueName(self,_residueName):
138 self._residueName = _residueName
139
140 - def Get_residueNumber(self):
141 return self._residueNumber
142
143 - def Set_residueNumber(self,_residueNumber):
144 self._residueNumber = _residueNumber
145
146 - def Get_coordinates(self):
147 return self._coordinates
148
149 - def Set_coordinates(self,_coordinates):
150 self._coordinates = _coordinates
151
152 - def Get_charge(self):
153 return self._charge
154
155 - def Set_charge(self,_charge):
156 self._charge = _charge
157
158 - def Get_radius(self):
159 return self._radius
160
161 - def Set_radius(self,_radius):
162 self._radius = _radius
163
164 - def Get_symUnique(self):
165 return self._symUnique
166
167 - def Set_symUnique(self,_symUnique):
168 self._symUnique = _symUnique
169 170
171 - class MoleculeType_Def(ZSI.TCcompound.Struct):
172 schema = 'http://nbcr.sdsc.edu/molecule/types' 173 type = 'MoleculeType' 174
175 - def __init__(self, name=None, ns=None, **kw):
176 # internal vars 177 self._moleculeName = None 178 self._moleculeRadius = None 179 self._atom = None 180 181 TClist = [ZSI.TC.String(pname="moleculeName",aname="_moleculeName"), ZSI.TCnumbers.FPdouble(pname="moleculeRadius",aname="_moleculeRadius", optional=1), ns1.AtomType_Def(name="atom", ns=ns, repeatable=1, optional=1), ] 182 183 oname = name 184 185 if name: 186 aname = '_%s' % name 187 if ns: 188 oname += ' xmlns="%s"' % ns 189 else: 190 oname += ' xmlns="%s"' % self.__class__.schema 191 else: 192 aname = None 193 194 ZSI.TCcompound.Struct.__init__(self, self.__class__, TClist, 195 pname=name, inorder=0, 196 aname=aname, oname=oname, 197 hasextras=1, **kw)
198 - def Get_moleculeName(self):
199 return self._moleculeName
200
201 - def Set_moleculeName(self,_moleculeName):
202 self._moleculeName = _moleculeName
203
204 - def Get_moleculeRadius(self):
205 return self._moleculeRadius
206
207 - def Set_moleculeRadius(self,_moleculeRadius):
208 self._moleculeRadius = _moleculeRadius
209
210 - def Get_atom(self):
211 return self._atom
212
213 - def Set_atom(self,_atom):
214 self._atom = _atom
215 216
217 - class FieldNameType_Def(ZSI.TC.String):
218 tag = "tns:FieldNameType"
219 - def __init__(self, name=None, ns=None, **kw):
220 aname = None 221 if name: 222 kw["pname"] = name 223 kw["aname"] = "_%s" % name 224 kw["oname"] = '%s xmlns:tns="%s"' %(name,ns1.targetNamespace) 225 ZSI.TC.String.__init__(self, **kw)
226 227 # define class alias for subsequent ns classes 228 ns1 = nbcr_sdsc_edu_molecule_types 229 230 231 232 ############################## 233 # targetNamespace 234 # 235 # http://nbcr.sdsc.edu/apbs/types 236 ############################## 237 238 239 # imported as: ns2
240 -class nbcr_sdsc_edu_apbs_types:
241 targetNamespace = 'http://nbcr.sdsc.edu/apbs/types' 242
243 - class IonType_Def(ZSI.TCcompound.Struct):
244 schema = 'http://nbcr.sdsc.edu/apbs/types' 245 type = 'IonType' 246
247 - def __init__(self, name=None, ns=None, **kw):
248 # internal vars 249 self._charge = None 250 self._concentration = None 251 self._radius = None 252 253 TClist = [ZSI.TCnumbers.FPdouble(pname="charge",aname="_charge"), ZSI.TCnumbers.FPdouble(pname="concentration",aname="_concentration"), ZSI.TCnumbers.FPdouble(pname="radius",aname="_radius"), ] 254 255 oname = name 256 257 if name: 258 aname = '_%s' % name 259 if ns: 260 oname += ' xmlns="%s"' % ns 261 else: 262 oname += ' xmlns="%s"' % self.__class__.schema 263 else: 264 aname = None 265 266 ZSI.TCcompound.Struct.__init__(self, self.__class__, TClist, 267 pname=name, inorder=0, 268 aname=aname, oname=oname, 269 **kw)
270 - def Get_charge(self):
271 return self._charge
272
273 - def Set_charge(self,_charge):
274 self._charge = _charge
275
276 - def Get_concentration(self):
277 return self._concentration
278
279 - def Set_concentration(self,_concentration):
280 self._concentration = _concentration
281
282 - def Get_radius(self):
283 return self._radius
284
285 - def Set_radius(self,_radius):
286 self._radius = _radius
287 288
289 - class FaultType_Def(ZSI.TCcompound.Struct):
290 schema = 'http://nbcr.sdsc.edu/apbs/types' 291 type = 'FaultType' 292
293 - def __init__(self, name=None, ns=None, **kw):
294 # internal vars 295 self._message = None 296 297 TClist = [ZSI.TC.String(pname="message",aname="_message"), ] 298 299 oname = name 300 301 if name: 302 aname = '_%s' % name 303 if ns: 304 oname += ' xmlns="%s"' % ns 305 else: 306 oname += ' xmlns="%s"' % self.__class__.schema 307 else: 308 aname = None 309 310 ZSI.TCcompound.Struct.__init__(self, self.__class__, TClist, 311 pname=name, inorder=0, 312 aname=aname, oname=oname, 313 **kw)
314 - def Get_message(self):
315 return self._message
316
317 - def Set_message(self,_message):
318 self._message = _message
319 320
321 - class OutputFilesType_Def(ZSI.TCcompound.Struct):
322 schema = 'http://nbcr.sdsc.edu/apbs/types' 323 type = 'OutputFilesType' 324
325 - def __init__(self, name=None, ns=None, **kw):
326 # internal vars 327 self._fileOutput = None 328 self._fileFormat = None 329 330 TClist = [ns2.FileOutputType_Def(name="fileOutput",ns=ns), ns2.FileFormatType_Def(name="fileFormat",ns=ns), ] 331 332 oname = name 333 334 if name: 335 aname = '_%s' % name 336 if ns: 337 oname += ' xmlns="%s"' % ns 338 else: 339 oname += ' xmlns="%s"' % self.__class__.schema 340 else: 341 aname = None 342 343 ZSI.TCcompound.Struct.__init__(self, self.__class__, TClist, 344 pname=name, inorder=0, 345 aname=aname, oname=oname, 346 **kw)
347 - def Get_fileOutput(self):
348 return self._fileOutput
349
350 - def Set_fileOutput(self,_fileOutput):
351 self._fileOutput = _fileOutput
352
353 - def Get_fileFormat(self):
354 return self._fileFormat
355
356 - def Set_fileFormat(self,_fileFormat):
357 self._fileFormat = _fileFormat
358 359
360 - class GridCardinalityType_Def(ZSI.TCcompound.Struct):
361 schema = 'http://nbcr.sdsc.edu/apbs/types' 362 type = 'GridCardinalityType' 363
364 - def __init__(self, name=None, ns=None, **kw):
365 # internal vars 366 self._x = None 367 self._y = None 368 self._z = None 369 370 TClist = [ZSI.TCnumbers.Iint(pname="x",aname="_x"), ZSI.TCnumbers.Iint(pname="y",aname="_y"), ZSI.TCnumbers.Iint(pname="z",aname="_z"), ] 371 372 oname = name 373 374 if name: 375 aname = '_%s' % name 376 if ns: 377 oname += ' xmlns="%s"' % ns 378 else: 379 oname += ' xmlns="%s"' % self.__class__.schema 380 else: 381 aname = None 382 383 ZSI.TCcompound.Struct.__init__(self, self.__class__, TClist, 384 pname=name, inorder=0, 385 aname=aname, oname=oname, 386 **kw)
387 - def Get_x(self):
388 return self._x
389
390 - def Set_x(self,_x):
391 self._x = _x
392
393 - def Get_y(self):
394 return self._y
395
396 - def Set_y(self,_y):
397 self._y = _y
398
399 - def Get_z(self):
400 return self._z
401
402 - def Set_z(self,_z):
403 self._z = _z
404 405
406 - class MoleculeOutType_Def(ZSI.TCcompound.Struct):
407 schema = 'http://nbcr.sdsc.edu/apbs/types' 408 type = 'MoleculeOutType' 409
410 - def __init__(self, name=None, ns=None, **kw):
411 # internal vars 412 self._name = None 413 self._type = None 414 self._format = None 415 self._url = None 416 417 TClist = [ZSI.TC.String(pname="name",aname="_name"), ns2.FileOutputType_Def(name="type",ns=ns), ns2.FileFormatType_Def(name="format",ns=ns), ZSI.TC.URI(pname="url",aname="_url"), ] 418 419 oname = name 420 421 if name: 422 aname = '_%s' % name 423 if ns: 424 oname += ' xmlns="%s"' % ns 425 else: 426 oname += ' xmlns="%s"' % self.__class__.schema 427 else: 428 aname = None 429 430 ZSI.TCcompound.Struct.__init__(self, self.__class__, TClist, 431 pname=name, inorder=0, 432 aname=aname, oname=oname, 433 **kw)
434 - def Get_name(self):
435 return self._name
436
437 - def Set_name(self,_name):
438 self._name = _name
439
440 - def Get_type(self):
441 return self._type
442
443 - def Set_type(self,_type):
444 self._type = _type
445
446 - def Get_format(self):
447 return self._format
448
449 - def Set_format(self,_format):
450 self._format = _format
451
452 - def Get_url(self):
453 return self._url
454
455 - def Set_url(self,_url):
456 self._url = _url
457 458
459 - class StatusOutputType_Def(ZSI.TCcompound.Struct):
460 schema = 'http://nbcr.sdsc.edu/apbs/types' 461 type = 'StatusOutputType' 462
463 - def __init__(self, name=None, ns=None, **kw):
464 # internal vars 465 self._code = None 466 self._message = None 467 self._baseURL = None 468 469 TClist = [ZSI.TCnumbers.Iint(pname="code",aname="_code"), ZSI.TC.String(pname="message",aname="_message"), ZSI.TC.URI(pname="baseURL",aname="_baseURL"), ] 470 471 oname = name 472 473 if name: 474 aname = '_%s' % name 475 if ns: 476 oname += ' xmlns="%s"' % ns 477 else: 478 oname += ' xmlns="%s"' % self.__class__.schema 479 else: 480 aname = None 481 482 ZSI.TCcompound.Struct.__init__(self, self.__class__, TClist, 483 pname=name, inorder=0, 484 aname=aname, oname=oname, 485 **kw)
486 - def Get_code(self):
487 return self._code
488
489 - def Set_code(self,_code):
490 self._code = _code
491
492 - def Get_message(self):
493 return self._message
494
495 - def Set_message(self,_message):
496 self._message = _message
497
498 - def Get_baseURL(self):
499 return self._baseURL
500
501 - def Set_baseURL(self,_baseURL):
502 self._baseURL = _baseURL
503 504
505 - class JobIDType_Def(ZSI.TCcompound.Struct):
506 schema = 'http://nbcr.sdsc.edu/apbs/types' 507 type = 'JobIDType' 508
509 - def __init__(self, name=None, ns=None, **kw):
510 # internal vars 511 self._value = None 512 513 TClist = [ZSI.TC.String(pname="value",aname="_value"), ] 514 515 oname = name 516 517 if name: 518 aname = '_%s' % name 519 if ns: 520 oname += ' xmlns="%s"' % ns 521 else: 522 oname += ' xmlns="%s"' % self.__class__.