示例#1
0
	def __init__(self, name=None, ns=None, **kw):

		self._RcvTime = None;
		self._ReplyTime = None;
		self._ClientRequestHandle = None;
		self._RevisedLocaleID = None;
		self._ServerState = None;

		AttrList = [	ZSI.TC.gDateTime(pname="RcvTime", aname="_RcvTime", optional=0),
						ZSI.TC.gDateTime(pname="ReplyTime", aname="_ReplyTime", optional=0),
						ZSI.TC.String(pname="ClientRequestHandle", aname="_ClientRequestHandle", optional=1),
						ZSI.TC.String(pname="RevisedLocaleID", aname="_RevisedLocaleID", optional=1),
						serverState.serverState_Def(name="ServerState", ns=ns, optional=0),	];
		TClist	= [];

		oname = name

		if name:
			aname = '_%s' % name
			if ns:
				oname += ' xmlns="%s"' % ns
			else:
				oname += ' xmlns="%s"' % self.__class__.schema
		else:
			aname = None

		Struct.__init__(	self, self.__class__, TClist, AttrList,
							pname=name, inorder=0,
							aname=aname, oname=oname,
							**kw)
	def __init__(self, name=None, ns=None, **kw):

		self._ItemPath = None;
		self._ReqType = None;
		self._ItemName = None;
		self._ClientItemHandle = None;
		self._MaxAge = None;

		TClist =	[];

		AttrList =	[ZSI.TC.String(pname="ItemPath", aname="_ItemPath"),
					ZSI.TC.QName(pname="ReqType", aname="_ReqType"),
					ZSI.TC.String(pname="ClientItemHandle", aname="_ClientItemHandle"),
					ZSI.TC.Iint(pname="MaxAge", aname="_MaxAge"),	];

		oname = name

		if name:
			aname = '_%s' % name
			if ns:
				oname += ' xmlns="%s"' % ns
			else:
				oname += ' xmlns="%s"' % self.__class__.schema
		else:
			aname = None

		Struct.__init__(	self, self.__class__, TClist, AttrList,
							pname=name, inorder=0,
							aname=aname, oname=oname,
							**kw)
	def __init__(self, name=None, ns=None, **kw):
		# internal vars
		self._Items = None
		self._ItemPath = None;
		self._ReqType = None;
		self._MaxAge = None;


		TClist =	[ReadRequestItem.ReadRequestItem_Def(name="Items", ns=ns, repeatable=1, optional=1), ];

		AttrList =	[ZSI.TC.String(pname="ItemPath", aname="_ItemPath", optional=0),
					ZSI.TC.QName(pname="ReqType", aname="_ReqType"),
					ZSI.TC.Iint(pname="MaxAge", aname="_MaxAge"), ]

		oname = name

		if name:
			aname = '_%s' % name
			if ns:
				oname += ' xmlns="%s"' % ns
			else:
				oname += ' xmlns="%s"' % self.__class__.schema
		else:
			aname = None

		Struct.__init__(	self, self.__class__, TClist, AttrList,
							pname=name, inorder=0,
							aname=aname, oname=oname,
							hasextras=1, **kw)
示例#4
0
	def __init__(self, name=None, ns=None, **kw):
		self._StatusInfo = None;
		self._VendorInfo = None;
		self._SupportedLocaleIDs = None;
		self._SupportedInterfaceVersions = "XML_DA_Version_1_0";
		self._ProductVersion = None;
		self._StartTime = None;

		TClist =	[ZSI.TC.String(pname="StatusInfo",aname="_StatusInfo", optional=1),
					ZSI.TC.String(pname="VendorInfo",aname="_VendorInfo", optional=1),
					ZSI.TC.String(pname="SupportedLocaleIDs",aname="_SupportedLocaleIDs", repeatable=1, optional=1),
					interfaceVersion.interfaceVersion_Def(name="SupportedInterfaceVersions",ns=ns, repeatable=1, optional=1),]

		AttrList =	[ZSI.TC.String(pname="ProductVersion", aname="_ProductVersion"),
					ZSI.TC.gDateTime(pname="StartTime",aname="_StartTime", optional=0), ];

		oname = name

		if name:
			aname = '_%s' % name
			if ns:
				oname += ' xmlns="%s"' % ns
			else:
				oname += ' xmlns="%s"' % self.__class__.schema
		else:
			aname = None

		Struct.__init__(	self, self.__class__, TClist, AttrList,
							pname=name, inorder=0,
							aname=aname, oname=oname,
							hasextras=1, **kw)
示例#5
0
	def __init__(self, name=None, ns=None, **kw):
		name = name or self.__class__.literal
		ns = ns or self.__class__.schema

		self._LocaleID = None;
		self._ClientRequestHandle = None;

		TClist = [];
		AttrList = [	ZSI.TC.String(pname="LocaleID", aname="_LocaleID"),
						ZSI.TC.String(pname="ClientRequestHandle", aname="_ClientRequestHandle"),	];

		oname = name

		if name:
			aname = '_%s' % name
			if ns:
				oname += ' xmlns="%s"' % ns
			else:
				oname += ' xmlns="%s"' % self.__class__.schema
		else:
			aname = None

		Struct.__init__(	self, self.__class__, TClist, AttrList,
							pname=name, inorder=0,
							aname=aname, oname=oname,
							**kw)
	def __init__(self, name=None, ns=None, **kw):

		self._ReturnErrorText = True;
		self._ReturnDiagnosticInfo = False;
		self._ReturnItemTime = False;
		self._ReturnItemPath = False;
		self._ReturnItemName = False;
		self._RequestDeadline = None;
		self._ClientRequestHandle = None;
		self._LocaleID = None;

		TClist =	[]

		AttrList =	[ZSI.TC.Boolean(pname="ReturnErrorText", aname="_ReturnErrorText"),
					ZSI.TC.Boolean(pname="ReturnDiagnosticInfo", aname="_ReturnDiagnosticInfo"),
					ZSI.TC.Boolean(pname="ReturnItemTime", aname="_ReturnItemTime"),
					ZSI.TC.Boolean(pname="ReturnItemPath", aname="_ReturnItemPath"),
					ZSI.TC.Boolean(pname="ReturnItemName", aname="_ReturnItemName"),
					ZSI.TC.gDateTime(pname="RequestDeadline", aname="_RequestDeadline", optional=0),
					ZSI.TC.String(pname="ClientRequestHandle", aname="_ClientRequestHandle", optional=0),	];

		oname = name

		if name:
			aname = '_%s' % name
			if ns:
				oname += ' xmlns="%s"' % ns
			else:
				oname += ' xmlns="%s"' % self.__class__.schema
		else:
			aname = None

		Struct.__init__(	self, self.__class__, TClist, AttrList,
							pname=name, inorder=0,
							aname=aname, oname=oname,
							**kw)