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

Method buildChildren

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

Source from the content-addressed store, hash-verified

1314 def buildAttributes(self, node, attrs, already_processed):
1315 pass
1316 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):
1317 if nodeName_ == 'Action_Entry':
1318 obj_ = COATakenType.factory()
1319 obj_.build(child_)
1320 self.set_Action_Entry(obj_)
1321 elif nodeName_ == 'Journal_Entry':
1322 obj_ = JournalEntryType.factory()
1323 obj_.build(child_)
1324 self.set_Journal_Entry(obj_)
1325# end class HistoryItemType
1326
1327class HistoryType(GeneratedsSuper):

Callers 1

buildMethod · 0.95

Calls 4

set_Action_EntryMethod · 0.95
set_Journal_EntryMethod · 0.95
factoryMethod · 0.45
buildMethod · 0.45

Tested by

no test coverage detected