def to_obj(self, return_obj=None, ns_info=None): super(ISAMarkingStructure30, self).to_obj(return_obj=return_obj, ns_info=ns_info) ns_info.input_schemalocs.update({self._namespace: self._namespace_xsd}) obj = self._binding_class() MarkingStructure.to_obj(self, return_obj=obj, ns_info=ns_info) obj.isam_version = self.isam_version if (self.identifier): obj.identifier = self.identifier.to_obj(ns_info=ns_info) if (self.createdatetime): obj.createdatetime = self.createdatetime.to_obj(ns_info=ns_info) if (self.responsibleentity): obj.responsibleentity = self.responsibleentity.to_obj( ns_info=ns_info) if (self.authref): obj.authref = self.authref.to_obj(ns_info=ns_info) return obj
def to_obj(self): obj = self._binding_class() MarkingStructure.to_obj(self, obj) obj.set_color(self.color) return obj
def to_obj(self): obj = self._binding_class() MarkingStructure.to_obj(self, obj) obj.set_Statement(self.statement) return obj
def to_obj(self): obj = self._binding_class() MarkingStructure.to_obj(self, obj) obj.set_Terms_Of_Use(self.terms_of_use) return obj
def to_obj(self, return_obj=None, ns_info=None): super(TermsOfUseMarkingStructure, self).to_obj(return_obj=return_obj, ns_info=ns_info) obj = self._binding_class() MarkingStructure.to_obj(self, return_obj=obj, ns_info=ns_info) obj.Terms_Of_Use = self.terms_of_use return obj
def to_obj(self, return_obj=None, ns_info=None): super(SimpleMarkingStructure, self).to_obj(return_obj=return_obj, ns_info=ns_info) obj = self._binding_class() MarkingStructure.to_obj(self, return_obj=obj, ns_info=ns_info) obj.Statement = self.statement return obj
def to_obj(self, return_obj=None, ns_info=None): super(TLPMarkingStructure, self).to_obj(return_obj=return_obj, ns_info=ns_info) if not return_obj: return_obj = self._binding_class() MarkingStructure.to_obj(self, return_obj=return_obj, ns_info=ns_info) return_obj.color = self.color return return_obj
def to_obj(self, return_obj=None, ns_info=None): super(SimpleMarkingStructure, self).to_obj(return_obj=return_obj, ns_info=ns_info) obj = self._binding_class() MarkingStructure.to_obj(self, return_obj=obj, ns_info=ns_info) obj.Statement = self.statement return obj
def to_obj(self, return_obj=None, ns_info=None): super(TLPMarkingStructure, self).to_obj(return_obj=return_obj, ns_info=ns_info) obj = self._binding_class() MarkingStructure.to_obj(self, return_obj=obj, ns_info=ns_info) obj.color = self.color return obj
def to_obj(self, return_obj=None, ns_info=None): super(ISAMarkingAssertionsStructure30, self).to_obj(return_obj=return_obj, ns_info=ns_info) ns_info.input_schemalocs.update({self._namespace: self._namespace_xsd}) obj = self._binding_class() MarkingStructure.to_obj(self, return_obj=obj, ns_info=ns_info) obj.isam_version = self.isam_version obj.default_marking = self.default_marking obj.most_restrictive = self.most_restrictive if (self.policyref): obj.policyref = self.policyref.to_obj(ns_info=ns_info) if (self.accessprivilege): obj.accessprivilege = self.accessprivilege.to_obj(ns_info=ns_info) if (self.resourcedisposition): obj.resourcedisposition = self.resourcedisposition.to_obj( ns_info=ns_info) if (self.controlset): obj.controlset = self.controlset.to_obj(ns_info=ns_info) if (self.originalclassification): obj.originalclassification = self.originalclassification.to_obj( ns_info=ns_info) if (self.derivativeclassification): obj.derivativeclassification = self.derivativeclassification.to_obj( ns_info=ns_info) if (self.declassification): obj.declassification = self.declassification.to_obj( ns_info=ns_info) if (self.publicrelease): obj.publicrelease = self.publicrelease.to_obj(ns_info=ns_info) if (self.addlreference): obj.addlreference = self.addlreference.to_obj(ns_info=ns_info) return obj
def to_obj(self, return_obj=None, ns_info=None): super(ISAMarkingAssertionsStructure, self).to_obj(return_obj=return_obj, ns_info=ns_info) ns_info.input_schemalocs.update({self._namespace: self._namespace_xsd}) obj = self._binding_class() MarkingStructure.to_obj(self, return_obj=obj, ns_info=ns_info) obj.isam_version = self.isam_version obj.default_marking = self.default_marking obj.most_restrictive = self.most_restrictive if (self.policyref): obj.policyref = self.policyref.to_obj(ns_info=ns_info) if (self.accessprivilege): obj.accessprivilege = self.accessprivilege.to_obj(ns_info=ns_info) if (self.resourcedisposition): obj.resourcedisposition = self.resourcedisposition.to_obj(ns_info=ns_info) if (self.controlset): obj.controlset = self.controlset.to_obj(ns_info=ns_info) if (self.originalclassification): obj.originalclassification = self.originalclassification.to_obj(ns_info=ns_info) if (self.derivativeclassification): obj.derivativeclassification = self.derivativeclassification.to_obj(ns_info=ns_info) if (self.declassification): obj.declassification = self.declassification.to_obj(ns_info=ns_info) if (self.publicrelease): obj.publicrelease = self.publicrelease.to_obj(ns_info=ns_info) if (self.addlreference): obj.addlreference = self.addlreference.to_obj(ns_info=ns_info) return obj
def to_obj(self, return_obj=None, ns_info=None): super(ISAMarkingStructure, self).to_obj(return_obj=return_obj, ns_info=ns_info) ns_info.input_schemalocs.update({self._namespace: self._namespace_xsd}) obj = self._binding_class() MarkingStructure.to_obj(self, return_obj=obj, ns_info=ns_info) obj.isam_version = self.isam_version if (self.identifier): obj.identifier = self.identifier.to_obj(ns_info=ns_info) if (self.createdatetime): obj.createdatetime = self.createdatetime.to_obj(ns_info=ns_info) if (self.responsibleentity): obj.responsibleentity = self.responsibleentity.to_obj(ns_info=ns_info) if (self.authref): obj.authref = self.authref.to_obj(ns_info=ns_info) return obj