

def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):
    if (nodeName_ == 'Creation_Time'):
        obj_ = cybox_common.DateTimeObjectPropertyType.factory()
        obj_.build(child_)
        self.set_Creation_Time(obj_)
    elif (nodeName_ == 'Layer3_Protocol'):
        obj_ = Layer3ProtocolType.factory()
        obj_.build(child_)
        self.set_Layer3_Protocol(obj_)
    elif (nodeName_ == 'Layer4_Protocol'):
        obj_ = cybox_common.Layer4ProtocolType.factory()
        obj_.build(child_)
        self.set_Layer4_Protocol(obj_)
    elif (nodeName_ == 'Layer7_Protocol'):
        obj_ = Layer7ProtocolType.factory()
        obj_.build(child_)
        self.set_Layer7_Protocol(obj_)
    elif (nodeName_ == 'Source_Socket_Address'):
        obj_ = socket_address_object.SocketAddressObjectType.factory()
        obj_.build(child_)
        self.set_Source_Socket_Address(obj_)
    elif (nodeName_ == 'Source_TCP_State'):
        Source_TCP_State_ = child_.text
        Source_TCP_State_ = self.gds_validate_string(Source_TCP_State_, node, 'Source_TCP_State')
        self.Source_TCP_State = Source_TCP_State_
    elif (nodeName_ == 'Destination_Socket_Address'):
        obj_ = socket_address_object.SocketAddressObjectType.factory()
        obj_.build(child_)
        self.set_Destination_Socket_Address(obj_)
    elif (node == 'Destination_TCP_State'):
        Destination_TCP_State_ = child_.text
        Destination_TCP_State_ = self.gds_validate_string(Destination_TCP_State_, node, 'Destination_TCP_State')
        self.Destination_TCP_State = Destination_TCP_State_
    elif (nodeName_ == 'Layer7_Connections'):
        obj_ = Layer7ConnectionsType.factory()
        obj_.build(child_)
        self.set_Layer7_Connections(obj_)
    super(NetworkConnectionObjectType, self).buildChildren(child_, node, nodeName_, True)

dataset/ETHPy150Open CybOXProject/python-cybox/cybox/bindings/network_connection_object.py NetworkConnectionObjectType.buildChildren/VarMisuse@257/396 `nodeName_`->`node`