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

Method buildChildren

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

Source from the content-addressed store, hash-verified

1005 def buildAttributes(self, node, attrs, already_processed):
1006 pass
1007 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):
1008 if nodeName_ == 'Initial_Reported_Total_Loss_Estimation':
1009 obj_ = LossEstimationType.factory()
1010 obj_.build(child_)
1011 self.set_Initial_Reported_Total_Loss_Estimation(obj_)
1012 elif nodeName_ == 'Actual_Total_Loss_Estimation':
1013 obj_ = LossEstimationType.factory()
1014 obj_.build(child_)
1015 self.set_Actual_Total_Loss_Estimation(obj_)
1016# end class TotalLossEstimationType
1017
1018class IndirectImpactSummaryType(GeneratedsSuper):

Callers 1

buildMethod · 0.95

Calls 4

factoryMethod · 0.45
buildMethod · 0.45

Tested by

no test coverage detected