MCPcopy Create free account
hub / github.com/STIXProject/python-stix / buildChildren

Method buildChildren

stix/bindings/incident.py:866–874  ·  view source on GitHub ↗
(self, child_, node, nodeName_, fromsubclass_=False)

Source from the content-addressed store, hash-verified

864 def buildAttributes(self, node, attrs, already_processed):
865 pass
866 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):
867 if nodeName_ == 'Start':
868 obj_ = stix_common_binding.DateTimeWithPrecisionType.factory()
869 obj_.build(child_)
870 self.set_Start(obj_)
871 elif nodeName_ == 'End':
872 obj_ = stix_common_binding.DateTimeWithPrecisionType.factory()
873 obj_.build(child_)
874 self.set_End(obj_)
875# end class COATimeType
876
877class LossEstimationType(GeneratedsSuper):

Callers 1

buildMethod · 0.95

Calls 4

set_StartMethod · 0.95
set_EndMethod · 0.95
factoryMethod · 0.45
buildMethod · 0.45

Tested by

no test coverage detected